/* Base Styles */
:root {
  --background: #0a0e17;
  --content1: #111827;
  --content2: #1f2937;
  --divider: #2c3e50;

  --primary: #00b2ff;
  --primary-rgb: 0, 178, 255;
  --primary-light: rgba(0, 178, 255, 0.1);
  --accent-hover: #38bdf8;

  --foreground: #f1f5f9;
  --foreground-500: #94a3b8;

  --success: #22c55e;
  --warning: #facc15;
  --danger: #ef4444;

  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;

  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  direction: rtl;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.text-primary {
  color: var(--primary);
}

.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-foreground-500 {
  color: var(--foreground-500);
}

.text-lg {
  font-size: 1.125rem;
}

.pm-5 {
  padding-bottom: 5rem;
}

.pt-5 {
  padding-top: 5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background-color: transparent;
  color: var(--foreground);
}

.btn-icon {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary);
  opacity: 0.9;
}

.btn-success {
  background-color: var(--success);
  color: white;
}

.btn-success:hover {
  background-color: var(--success);
  opacity: 0.9;
}

.btn-danger {
  background-color: var(--danger);
  color: white;
}

.btn-danger:hover {
  background-color: var(--danger);
  opacity: 0.9;
}

.btn-flat {
  background-color: transparent;
  border: 1px solid var(--divider);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

.btn-rounded {
  border-radius: var(--border-radius-full);
}

/* Section Styling */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--divider);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 0 auto;
  border-radius: var(--border-radius-full);
}

/****************************** Start Navbar ******************************/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--background);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px var(--shadow-sm);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background-color: var(--background);
  box-shadow: 0 4px 20px var(--shadow-md);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 4.5rem;
  width: auto;
  transition: all 0.3s ease;
}

.navbar.scrolled .logo {
  height: 3.5rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  display: none;
}

.navbar-nav {
  display: none;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.nav-link:hover .nav-dot,
.nav-link.active .nav-dot {
  opacity: 1;
  transform: scale(1);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--foreground);
  background-color: var(--content2);
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--content1);
  transform: translateY(-2px);
}

.theme-toggle iconify-icon {
  width: 14px;
  height: 14px;
  transition: all 0.3s ease;
}

.light-icon,
.dark-icon {
  position: absolute;
  transition: all 0.3s ease;
}

body:not(.dark-mode) .dark-icon,
body.light-mode .light-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

body:not(.light-mode) .light-icon,
body.light-mode .dark-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Light Mode Styles */
:root {
  --light-background: #f8fafc;
  --light-content1: #ffffff;
  --light-content2: #f1f5f9;
  --light-divider: #e2e8f0;
  --light-foreground: #0f172a;
  --light-foreground-500: #64748b;
}

body.light-mode {
  --background: var(--light-background);
  --content1: var(--light-content1);
  --content2: var(--light-content2);
  --divider: var(--light-divider);
  --foreground: var(--light-foreground);
  --foreground-500: var(--light-foreground-500);
}

body.light-mode .navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.light-mode .mobile-menu {
  background-color: rgba(248, 250, 252, 0.98);
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--foreground);
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  height: 100vh;
  background-color: rgba(10, 14, 23, 0.98);
  backdrop-filter: blur(10px);
  z-index: 998;
  padding: 6rem 0 2rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  font-weight: 500;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  color: var(--foreground-500);
}

.mobile-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-nav-link:hover::after {
  width: 30px;
}

/* Mobile Menu Tools */
.mobile-menu-tools {
  margin-top: 2rem;
  padding: 0 2rem;
}

.mobile-menu-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

/* Mobile Menu Tools */
.mobile-menu-tools {
  margin-top: 2rem;
  padding: 0 2rem;
}

.mobile-menu-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

/* Language Switcher */
.language-switcher {
  position: relative;
}

.language-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--foreground);
  background-color: var(--content2);
  transition: var(--transition);
}

.language-toggle:hover {
  background-color: var(--content1);
}

.current-lang {
  font-weight: 600;
  font-size: 0.85rem;
}

.language-toggle iconify-icon {
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background-color: var(--content2);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.language-switcher:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  color: var(--foreground);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.language-dropdown a:hover {
  background-color: var(--content1);
  color: var(--primary);
}

.language-dropdown a.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

/* Hide navbar tools on mobile */
@media (max-width: 767px) {
  .navbar-tools {
    display: none;
  }
  .mobile-menu {
    padding: 0 !important;
  }
  .mobile-nav-link {
    padding: 0.25rem !important;
  }
}

/****************************** End Navbar ******************************/

/****************************** Start Hero Section ******************************/
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  order: 2;
}

.hero-right {
  order: 1;
  margin-bottom: 1rem;
}

.avatar-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.avatar-glow {
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.2);
  filter: blur(15px);
  animation: pulse 3s infinite;
}

.avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--foreground-500);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--foreground-500);
  max-width: 600px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--content2);
  color: var(--foreground);
  transition: var(--transition);
}

.hero-social .social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: -1rem !important;
  }
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

@media (max-width: 767px) {
  .hero-content {
    padding-top: 1rem !important;
  }
  .hero-right {
    margin-bottom: 0 !important;
  }
  .hero-subtitle {
    margin-bottom: 0 !important;
  }
  .hero-buttons {
    margin-top: 0 !important;
  }
  .hero-social {
    margin-top: 0 !important;
  }
}

/****************************** End Hero Section ******************************/

/****************************** Start About Section ******************************/
.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--content2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.about-name {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.about-position {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.about-bio {
  margin-bottom: 1.5rem;
  color: var(--foreground-500);
}

.about-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-label {
  font-weight: 700;
  margin-right: 0.5rem;
}

/****************************** End About Section ******************************/

/****************************** Start Experience Section ******************************/
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--content2);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.experience-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: rgba(34, 34, 34, 0.5);
  padding: 0.5rem;
}

.experience-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.experience-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.experience-company {
  font-size: 1.25rem;
  font-weight: 700;
}

.experience-position {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.experience-description {
  color: var(--foreground-500);
  margin-bottom: 1rem;
}

.experience-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.875rem; /* 14px تقريباً */
  background-color: rgba(34, 34, 34, 0.5);
  white-space: nowrap; /* يمنع تكسير الكلمة */
  margin: 10px 0;
}

/* Primary chip */
.chip-primary {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .chip {
    font-size: 0.75rem;   /* 12px للموبايل */
    padding: 0.25rem 0.5rem;
  }
}

@media (min-width: 1200px) {
  .chip {
    font-size: 1rem;      /* 16px للديسكتوب الكبير */
    padding: 0.5rem 1rem;
  }
}


/****************************** End Experience Section ******************************/

/****************************** Start Education Section ******************************/
.education-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.education-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.education-icon iconify-icon {
  font-size: 1.5rem;
}

.education-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.education-institution {
  font-size: 1.25rem;
}

.education-degree {
  font-size: 1.1rem;
  color: var(--foreground-500);
  margin-bottom: 1rem;
}

.education-description {
  margin-bottom: 1.5rem;
}

/****************************** End Education Section ******************************/

/****************************** Start Skills Section ******************************/
.skills-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.skills-category-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.skills-category-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--border-radius-full);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  width: 100%;
}

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

.skill-name {
  font-size: 1rem;
  font-weight: 600;
}

.skill-percentage {
  font-size: 0.9rem;
  color: var(--foreground-500);
}

.skill-progress {
  width: 100%;
  height: 8px;
  background-color: var(--content2);
  border-radius: var(--border-radius-full);
  overflow: hidden;
}

.skill-progress-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: var(--border-radius-full);
  transition: width 1.5s cubic-bezier(0.1, 0.5, 0.1, 1);
  width: 0;
}

.skills-overview {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3.5rem;
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.skills-overview::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.skills-overview-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.skills-overview-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.skills-overview-description {
  color: var(--foreground-500);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.skills-overview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.skill-stat {
  background-color: var(--content2);
  border-radius: var(--border-radius-md);
  padding: 1.8rem;
  text-align: center;
  flex: 1;
  min-width: 130px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.skill-stat::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-stat:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.skill-stat:hover::before {
  opacity: 1;
}

.skill-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-stat-label {
  color: var(--foreground-500);
  font-size: 1rem;
  font-weight: 500;
}

/* Skills Tabs */
/* .skills-tabs-container {
  margin-top: 2rem;
}

.skills-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.skills-tabs::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--foreground-200), transparent);
  z-index: -1;
}

.skills-tab {
  background-color: var(--content1);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1.5rem;
  color: var(--foreground);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.skills-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.skills-tab:hover::before {
  transform: translateX(100%);
}

.skills-tab iconify-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.skills-tab:hover {
  background-color: var(--content2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.skills-tab:hover iconify-icon {
  transform: rotate(10deg);
}

.skills-tab.active {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
  border-color: var(--primary);
}

.skills-tab.active::before {
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

Skills Content
.skills-tab-content {
  display: none;
}

.skills-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.skill-card {
  background-color: var(--content1);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(var(--primary-rgb), 0.1);
  border-color: rgba(var(--primary-rgb), 0.3);
  background-color: var(--content2);
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  background-color: rgba(var(--primary-rgb), 0.08);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
}

.skill-card:hover .skill-card-icon {
  transform: scale(1.1);
  background-color: rgba(var(--primary-rgb), 0.15);
}

.skill-card-icon iconify-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.skill-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  position: relative;
  display: inline-block;
}

.skill-card-title::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.skill-card:hover .skill-card-title::after {
  width: 70%;
}

.skill-card-level {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
  font-weight: 500;
  padding: 0.2rem 0.8rem;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--border-radius-full);
  display: inline-block;
}

.skill-card-progress {
  width: 100%;
  height: 8px;
  background-color: var(--content2);
  border-radius: var(--border-radius-full);
  margin-bottom: 0.5rem;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.skill-card-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-hover));
  border-radius: var(--border-radius-full);
  width: 0;
  animation: progressAnimation 1.5s ease forwards;
  box-shadow: 0 1px 3px rgba(var(--primary-rgb), 0.3);
}

@keyframes progressAnimation {
  from {
    width: 0;
  }
}

.skill-card-percentage {
  font-size: 1rem;
  color: var(--foreground-500);
  font-weight: 600;
}

@media (min-width: 768px) {
  .skills-overview {
    flex-direction: row;
    align-items: center;
  }
  
  .skills-overview-text {
    flex: 1;
  }
  
  .skills-overview-stats {
    flex: 0 0 40%;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}  */


@media (min-width: 768px) {
  .skills-overview {
    flex-direction: row;
    align-items: center;
  }
  
  .skills-overview-text {
    flex: 1;
  }
  
  .skills-overview-stats {
    flex: 0 0 40%;
  }
} 

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.skill-category {
  background: var(--content1);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent-hover);
}

.category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill-item {
  position: relative;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.skill-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-icon {
  font-size: 1.2rem;
}

.skill-level {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.skill-level.advanced {
  background: #dcfce7;
  color: #166534;
}

.skill-level.intermediate {
  background: #fef3c7;
  color: #92400e;
}

.skill-level.beginner {
  background: #dbeafe;
  color: #1e40af;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-category {
  animation: fadeInUp 0.6s ease forwards;
}

.skill-category:nth-child(1) {
  animation-delay: 0.1s;
}
.skill-category:nth-child(2) {
  animation-delay: 0.2s;
}
.skill-category:nth-child(3) {
  animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .skill-category {
    padding: 24px;
  }

  .stats-overview {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .skills-section {
    padding: 60px 0;
  }

  .skill-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/****************************** End Skills Section ******************************/

/****************************** Start Projects Section ******************************/
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.project-card {
  position: relative;
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-description {
  color: var(--foreground-500);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--divider);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--foreground-500);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--danger);
}

.modal-body {
  padding: 1.5rem;
}

.modal-project-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-features-list {
  padding-right: 1.5rem;
}

.modal-features-list li {
  margin-bottom: 0.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: flex-end;
}

/****************************** End Projects Section ******************************/

/****************************** Start Media Queries ******************************/
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }

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

  .about-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    gap: 2rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .navbar-nav {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-content {
    flex-direction: row;
    text-align: right;
    justify-content: space-between;
    gap: 3rem;
  }

  .hero-left {
    order: 1;
    align-items: flex-start;
    text-align: right;
    flex: 1;
  }

  .hero-right {
    order: 2;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .hero-subtitle,
  .hero-buttons {
    justify-content: flex-start;
  }

  .avatar-container {
    width: 220px;
    height: 220px;
  }

  .avatar {
    width: 200px;
    height: 200px;
  }

  .about-content {
    flex-direction: row;
  }

  .about-image {
    flex: 0 0 40%;
  }

  .about-info {
    flex: 0 0 55%;
  }

  .experience-content {
    flex-direction: row;
  }

  .experience-logo {
    flex: 0 0 80px;
  }

  .experience-info {
    flex: 1;
  }

  .education-content {
    flex-direction: row;
  }

  .education-icon {
    flex: 0 0 60px;
  }

  .education-info {
    flex: 1;
  }

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

  .footer-brand {
    text-align: right;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .skills-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .experience-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .education-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .skills-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-subtitle {
    font-size: 1.75rem;
  }

  .avatar-container {
    width: 280px;
    height: 280px;
  }

  .avatar {
    width: 250px;
    height: 250px;
  }
}

/****************************** Start Contact Section ******************************/
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: 0.5fr 1fr;
}

@media (max-width: 540px) {
  .grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 541px) and (max-width: 992px) {
  .grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 768px) {
  .grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-cols-1 {
    grid-template-columns: 0.5fr 1fr;
  }
}

@media (min-width: 1200px) {
  .grid-cols-1 {
    grid-template-columns: 0.5fr 1fr;
  }
}

.gap-8 {
  gap: 1rem;
}

.card {
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.bg-content2-50 {
  background-color: var(--content1);
}

.border-none {
  border: none;
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.h-full {
  height: 100%;
}

.card-body {
  padding: 1.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-bold {
  font-weight: 700;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-radius: var(--border-radius-md);
  transition: var(--transition);
}

.contact-info-item:hover {
  background-color: var(--content2);
}

.contact-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-info-item:hover .contact-icon-wrapper {
  background-color: var(--primary-light);
}

.text-primary {
  color: var(--primary);
}

.font-medium {
  font-weight: 500;
}

.mt-8 {
  margin-top: 2rem;
}

.text-xl {
  font-size: 1.25rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.social-icons-grid {
  display: flex;
  gap: 1rem;
}

.social-icon-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--content2);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon-wrapper:hover {
  background-color: var(--primary);
  color: var(--foreground);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.text-foreground {
  color: var(--foreground);
}

.text-lg {
  font-size: 1.125rem;
}

/* Form Styles - Updated to match React component */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--foreground);
  font-family: inherit;
  transition: var(--transition);
  font-size: 0.95rem;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--foreground-500);
  opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 114, 245, 0.2);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn-success {
  background-color: var(--success);
  color: white;
}

.btn-success:hover {
  background-color: var(--success);
  opacity: 0.9;
}

.btn-flat {
  background-color: var(--success-light);
  color: var(--success);
}

.btn-flat:hover {
  background-color: rgba(23, 201, 100, 0.2);
}

.form-success {
  display: none;
  background-color: var(--success-light);
  border: 1px solid rgba(23, 201, 100, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  text-align: center;
}

.form-success.active {
  display: block;
}

.success-icon {
  font-size: 2.5rem;
  color: var(--success);
  margin-bottom: 0.5rem;
}

.success-icon iconify-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: block;
  margin: 0 auto 0.5rem;
}

.bg-success\/10 {
  background-color: rgba(23, 201, 100, 0.1);
}

.border-success\/30 {
  border-color: rgba(23, 201, 100, 0.3);
}

.rounded-lg {
  border-radius: var(--border-radius-lg);
}

.p-4 {
  padding: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/****************************** End Contact Section ******************************/

/****************************** Start Testimonials Section ******************************/
.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 3rem;
}

.testimonials-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--content1);
  border: 1px solid var(--divider);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.testimonials-nav:hover {
  background-color: var(--primary);
  color: white;
}

#add-review-btn {
  font-weight: 600;
  font-size: 1rem;
}

.testimonials-prev {
  right: 0;
}

.testimonials-next {
  left: 0;
}

.testimonials-wrapper {
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-item {
  flex: 0 0 100%;
  padding: 2rem;
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.testimonial-quote iconify-icon {
  font-size: 2rem;
}

.testimonial-content {
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.8;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: var(--warning);
}

.testimonial-rating iconify-icon {
  font-size: 1.25rem;
}

.star-filled {
  color: var(--warning);
}

.star-empty {
  color: var(--foreground-500);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(var(--primary-rgb), 0.3);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-position {
  color: var(--foreground-500);
  font-size: 0.9rem;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--content2);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/****************************** End Testimonials Section ******************************/

/****************************** Start Work Process Section ******************************/
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.process-card {
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-5px);
}

.process-content {
  padding: 2rem;
  text-align: center;
}

.process-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.process-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: var(--transition);
}

.process-icon iconify-icon {
  font-size: 1.75rem;
}

.process-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.process-description {
  color: var(--foreground-500);
  line-height: 1.7;
}

/****************************** End Work Process Section ******************************/

/****************************** Start Clients Section ******************************/

.client-item:hover {
  filter: grayscale(0);
  opacity: 1;
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/****************************** End Clients Section ******************************/

/****************************** Start Services Section ******************************/
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: var(--content1);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-content {
  padding: 2rem;
  text-align: center;
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.service-icon iconify-icon {
  font-size: 1.75rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--foreground-500);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.mb-12 {
  margin-bottom: 3rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.w-20 {
  width: 5rem;
}

.h-1 {
  height: 0.25rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/****************************** End Services Section ******************************/

/****************************** Start Project Filters ******************************/
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--divider);
  color: var(--foreground-500);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn:hover {
  background-color: var(--content2);
  color: var(--foreground);
}

.filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/****************************** End Project Filters ******************************/

/****************************** Start Swiper Styles ******************************/
.swiper {
  width: 100%;
  padding-bottom: 60px;
}

.swiper-slide {
  opacity: 0.7;
  transform: scale(0.9);
  transition: all 0.5s ease;
  filter: blur(1px);
}

.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary);
  background-color: var(--content2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.swiper-button-next {
  left: 0% !important;
}

.swiper-button-prev {
  right: 0% !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
}

.swiper-pagination {
  bottom: 0;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--foreground-500);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary);
  opacity: 1;
  width: 20px;
  border-radius: 5px;
}

.testimonial-item {
  background-color: var(--content2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  height: auto;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.swiper-slide-active .testimonial-item {
  border-color: rgba(var(--primary-rgb), 0.3);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  color: var(--foreground-500);
  line-height: 1.6;
}

.testimonial-quote {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* Swiper Animation Effects */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.swiper-slide-active .testimonial-content,
.swiper-slide-active .testimonial-author,
.swiper-slide-active .testimonial-rating {
  animation: fadeInScale 0.5s ease forwards;
}

.swiper-slide-active .testimonial-quote {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

/****************************** End Swiper Styles ******************************/

/****************************** Start Hero Animation ******************************/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-title {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-description {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-social {
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-right {
  animation: fadeInLeft 1s ease 0.4s forwards;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-left {
    animation: fadeInRight 1s ease forwards;
  }

  .hero-right {
    animation: fadeInLeft 1s ease forwards;
  }
}

/****************************** End Hero Animation ******************************/

/****************************** Start Review Form Styles ******************************/

.star-filled {
  color: var(--warning);
}

.star-rating {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.star-rating .star {
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--foreground-500);
}

.star-rating .star:hover,
.star-rating .star.star-hover {
  color: var(--warning);
  transform: scale(1.1);
}

.star-rating .star.star-filled {
  color: var(--warning);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-success {
  margin-top: 1rem;
}

/****************************** End Review Form Styles ******************************/

/****************************** Start Footer ******************************/
.footer {
  position: relative;
  background-color: var(--content1);
  border-top: 1px solid var(--divider);
}

.footer-top {
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo {
  height: 3.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--border-radius-full);
}

.footer-tagline {
  color: var(--foreground-500);
  margin-bottom: 0.5rem;
}

.footer-about {
  color: var(--foreground-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--content2);
  border-radius: 50%;
  color: var(--foreground);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--foreground);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.footer-link {
  display: flex;
  align-items: center;
  color: var(--foreground-500);
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-link iconify-icon {
  margin-left: 0.5rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(-5px);
}

.footer-link:hover iconify-icon {
  transform: translateX(-3px);
  color: var(--primary);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(var(--primary-rgb), 0.1);
  border-radius: 50%;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background-color: var(--primary);
  color: white;
  transform: scale(1.1);
}

.footer-contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.footer-contact-item p {
  color: var(--foreground-500);
  font-size: 0.95rem;
}

.footer-newsletter-text {
  color: var(--foreground-500);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-newsletter-form {
  margin-bottom: 1.5rem;
}

.newsletter-input-group {
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background-color: var(--content2);
  color: var(--foreground);
  outline: none;
}

.newsletter-input-group input::placeholder {
  color: var(--foreground-500);
}

.newsletter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background-color: var(--primary-hover);
}

.newsletter-btn iconify-icon {
  font-size: 1.25rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--content2);
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  color: var(--foreground-500);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.footer-badge:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--divider);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: var(--foreground-500);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: var(--foreground-500);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: var(--primary);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: none;
  box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

.back-to-top iconify-icon {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Hide navbar tools on mobile */
  .navbar-tools {
    display: none;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/****************************** End Footer ******************************/

/****************************** Start Modal Open - Prevent Body Scroll ******************************/
body.modal-open {
  overflow: hidden;
}

/* Project Details Page Styles */
/* .project-details {
  padding: 120px 0 60px;
  background: var(--content1);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  background: var(--content2);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--divider);
}

.project-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 15px;
}

.project-meta {
  display: flex;
  gap: 20px;
  color: var(--foreground-500);
}

.project-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--primary);
  color: white;
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 500;
}

.project-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--content3);
  color: var(--foreground);
  border-radius: var(--border-radius-full);
  font-size: 0.9rem;
  font-weight: 500;
}

.project-actions {
  display: flex;
  gap: 15px;
}

.project-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-actions .btn-primary {
  background: var(--primary);
  color: white;
}

.project-actions .btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.project-actions .btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--divider);
}

.project-actions .btn-outline:hover {
  background: var(--content3);
  transform: translateY(-2px);
}

.project-gallery {
  margin-bottom: 60px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--divider);
}

.project-swiper {
  width: 100%;
  height: 600px;
}

.project-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 1rem;
  border-radius: var(--border-radius-lg);
}

.project-details-contents {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.project-info {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.info-card {
  background: var(--content2);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--divider);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.info-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--border-radius-full);
}

.info-list {
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--divider);
  transition: all 0.3s ease;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li:hover {
  padding-right: 10px;
}

.info-list li strong {
  color: var(--foreground);
  font-weight: 600;
}

.info-list li span,
.info-list li a {
  color: var(--foreground-500);
  transition: color 0.3s ease;
}

.info-list li a:hover {
  color: var(--primary);
}

.tech-stack {
  background: var(--content2);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--divider);
  transition: all 0.3s ease;
}

.tech-stack:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tech-stack h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.tech-stack h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--border-radius-full);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background-color: var(--primary);
  color: var(--foreground);
  transform: translateY(-3px);
}

.project-details-descriptions {
  background: var(--content2);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--divider);
  transition: all 0.3s ease;
}

.project-details-descriptions:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-details-descriptions h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.project-details-descriptions h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70px;
  height: 4px;
  background: var(--primary);
  border-radius: var(--border-radius-full);
}

.project-details-descriptions h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 35px 0 20px;
  position: relative;
  padding-right: 15px;
}

.project-details-descriptions h3::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: var(--border-radius-full);
}

.project-details-descriptions p {
  color: var(--foreground-500);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.project-details-descriptions ul {
  list-style: none;
  margin: 20px 0;
}

.project-details-descriptions ul li {
  position: relative;
  padding-right: 25px;
  margin-bottom: 15px;
  color: var(--foreground-500);
  line-height: 1.6;
}

.project-details-descriptions ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.project-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--divider);
}

.project-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--foreground-500);
  transition: all 0.3s ease;
  font-weight: 500;
}

.project-navigation a:hover {
  color: var(--primary);
  transform: translateX(-5px);
}

.project-navigation a:hover iconify-icon {
  transform: translateX(-3px);
}

.all-projects {
  background: var(--primary);
  color: var(--foreground) !important;
  padding: 12px 24px;
  border-radius: var(--border-radius-full);
  transition: all 0.3s ease;
}

.all-projects:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-2px);
}

Responsive Styles
@media (max-width: 992px) {
  .project-details-contents {
    grid-template-columns: 1fr;
  }
  
  .project-info {
    position: static;
    margin-bottom: 30px;
  }
  
  .project-swiper {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .project-header {
    flex-direction: column;
    gap: 20px;
  }
  
  .project-actions {
    width: 100%;
  }
  
  .project-actions .btn {
    flex: 1;
  }
  
  .project-swiper {
    height: 300px;
  }
  
  .project-details-descriptions {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .project-title h1 {
    font-size: 2rem;
  }
  
  .project-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .project-swiper {
    height: 250px;
  }
  
  .project-navigation {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .project-details-descriptions {
    padding: 25px;
  }
  
  .project-details-descriptions h2 {
    font-size: 1.75rem;
  }
  
  .project-details-descriptions h3 {
    font-size: 1.35rem;
  }
} */

/* Animated Background */
body.project-details::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(0, 178, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(16, 185, 129, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(139, 92, 246, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: -1;
}
/* Header Section */
.project-details-hero {
  padding: 150px 0 60px;
  position: relative;
  overflow: hidden;
}

.project-details-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 178, 255, 0.1) 0%,
    rgba(16, 185, 129, 0.1) 100%
  );
  opacity: 0.3;
  z-index: -1;
}

.project-details-hero-content {
  text-align: center;
  animation: fadeInUp 1s ease;
}

.project-details-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary), #0099e5);
  color: white;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
}

.project-details-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary), #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-details-subtitle {
  font-size: 1.25rem;
  color: var(--foreground-500);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.project-details-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--content2);
  border-radius: var(--border-radius-md);
  color: var(--foreground);
  font-weight: 500;
  border: 1px solid var(--divider);
  transition: var(--transition);
}

.meta-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.project-details-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.project-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.project-details-btn-primary {
  background: linear-gradient(135deg, var(--primary), #0099e5);
  color: white;
  box-shadow: var(--shadow-md);
}

.project-details-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.project-details-btn-primary:hover::before {
  left: 100%;
}

.project-details-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.project-details-btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--primary);
  position: relative;
}

.project-details-btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
  z-index: -1;
}

.project-details-btn-outline:hover::before {
  width: 100%;
}

.project-details-btn-outline:hover {
  color: white;
  transform: translateY(-3px);
}

/* Gallery Section */
.gallery-section {
  padding: 60px 0;
  position: relative;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: var(--content2);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--divider);
}

.main-image {
  position: relative;
  height: 500px;
  background: var(--content1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.main-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 40px 30px 30px;
  color: white;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  padding: 20px;
  background: var(--content1);
}

.thumbnail {
  height: 100px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Section */
.content-section {
  padding: 60px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  align-items: start;
}

.main-content {
  background: var(--content2);
  border-radius: var(--border-radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--divider);
  position: relative;
  overflow: hidden;
}

.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #10b981);
}

.project-details-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--foreground);
  position: relative;
  padding-bottom: 15px;
}

.project-details-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--border-radius-md);
}

.content-text {
  color: var(--foreground-500);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.features-list {
  list-style: none;
  margin: 25px 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--divider);
  transition: var(--transition);
}

.features-list li:hover {
  padding-right: 10px;
  background: rgba(0, 178, 255, 0.05);
  border-radius: var(--border-radius-md);
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 30px;
}

.info-card {
  background: var(--content2);
  border-radius: var(--border-radius-xl);
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--divider);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), #10b981);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--foreground);
}

.info-list {
  list-style: none;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--divider);
  transition: var(--transition);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item:hover {
  padding-right: 10px;
}

.info-label {
  font-weight: 600;
  color: var(--foreground);
}

.info-value {
  color: var(--foreground-500);
  text-align: left;
}

.info-value a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.info-value a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Tech Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  background: var(--content1);
  border-radius: var(--border-radius-md);
  transition: var(--transition);
  border: 1px solid var(--divider);
  cursor: pointer;
}

.tech-item:hover {
  transform: translateY(-5px);
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.tech-name {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Navigation */
.project-details-nav {
  padding: 50px 0;
  border-top: 1px solid var(--divider);
  margin-top: 50px;
}

.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  background: var(--content2);
  border-radius: var(--border-radius-md);
  color: var(--foreground-500);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--divider);
}

.nav-item:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.nav-center {
  text-align: center;
}

.all-project-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--primary), #10b981);
  color: white;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.all-project-details:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}
.animate-delay-2 {
  animation-delay: 0.2s;
}
.animate-delay-3 {
  animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .project-details-hero {
    padding: 130px 0 40px;
  }

  .project-details-meta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .project-details-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .main-image {
    height: 300px;
  }

  .nav-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 10px;
  }

  .back-button {
    top: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .main-content,
  .info-card {
    padding: 25px;
  }

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