:root {
  --background: #0f1419;
  --foreground: #f5f0e8;
  --card: #1a2027;
  --card-foreground: #f5f0e8;
  --primary: #a4133c;
  --primary-foreground: #ffffff;
  --secondary: #aed9e0;
  --secondary-foreground: #0f1419;
  --muted: #2a3038;
  --muted-foreground: #e8d5b7;
  --border: #2a3038;
  --radius: 0.625rem;
}

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

html {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--background);
}

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

.contact-avatar .profile-ring {
  position: absolute;
  /* top: -226px; */
  left: -77%;
  bottom: -8px;
  border-radius: 1.25rem;
  background: linear-gradient(
    to bottom right,
    rgba(164, 19, 60, 0.2),
    rgba(164, 19, 60, 0.05)
  );
  animation: glow 2s ease-in-out infinite;
  z-index: -1;
  width: 30.5rem;
  height: 659px;

  /* position: absolute;
    top: -1.7rem;
    left: -77%; */
  /* bottom: -9px; */
  /* border-radius: 1.25rem;
    background: linear-gradient(to bottom right, rgba(164, 19, 60, 0.2), rgba(164, 19, 60, 0.05));
    animation: glow 2s ease-in-out infinite;
    z-index: -1;
    width: 30.5rem;
    height: 42rem; */
}

/* Container */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* top Navbar */
.navbar {
  position: fixed;
  top: 8px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  width: fit-content;
  justify-self: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  padding: 0.75rem;
  border-radius: 0.75rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--foreground);
  /* transform: scale(1.1); */
}

.nav-link.active {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.1);
}

.nav-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-tooltip {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.5rem;
  background: #2a2a2a;
  color: var(--foreground);
  font-size: 0.75rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}

.nav-item:hover {
  z-index: 10;
}

.nav-item:hover .nav-tooltip,
.nav-link.active + .nav-tooltip {
  opacity: 1;
}
/* Fixed transition properties for smooth navbar animations */
.nav-link {
  display: flex;
  padding: 0.75rem;
  border-radius: 0.75rem;
  color: var(--muted-foreground);
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s;
  text-decoration: none;
}

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

.nav-link.active {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.1);
}

/* Fixed transition properties for smooth filter tab animations */
.filter-tab {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.filter-tab:hover {
  border-color: rgba(164, 19, 60, 0.5);
  color: var(--foreground);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 200px);
  grid-template-columns: 1fr 1fr;
}

/* Profile Section */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.profile-image {
  position: relative;
}

.profile-ring {
  width: 30rem;
  height: 57vh;
  top: -12%;
  left: -75%;
  border-radius: 50%;
  background: linear-gradient(
    to bottom right,
    rgba(164, 19, 60, 0.2),
    rgba(164, 19, 60, 0.05)
  );
  animation: glow 2s ease-in-out infinite;
}

.profile-inner {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: var(--card);
  border: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-initials {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary);
}

.status-dot {
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #22c55e;
  border-radius: 50%;
  border: 4px solid var(--background);
}

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

.profile-name {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.hero-badges {
  margin-top: 10px;
}

.badge {
  padding: 0.375rem 0.75rem;
  background: rgba(164, 19, 60, 0.1);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(164, 19, 60, 0.3);
}

.hero-greeting {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  position: relative;
  bottom: 9.5rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  min-height: 2.5em;
}

.work {
  position: relative;
  top: -11rem;
  left: 4rem;
}

.view-pdf {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem;
}
.view-pdf a {
  margin: 0 10px;
  padding: 0.5rem 1rem;
  background: rgba(164, 19, 60, 0.1);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.resume-btn,
.cv-btn {
  margin-top: 1rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.resume-btn:hover,
.cv-btn:hover {
  background: rgba(174, 217, 224, 0.9);
}

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

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}
.hero-center {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  position: relative;
  /* left: 0; */
  right: -1%;
  bottom: -6rem;
}
.hero-description {
  color: var(--muted-foreground);
  max-width: 48rem;
  /* margin: 0 auto 2rem; */
  position: relative;
  top: -4rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.cta-button:hover {
  background: rgba(164, 19, 60, 0.2);
  transform: scale(1.05);
}

.cta-button svg {
  width: 1rem;
  height: 1rem;
}

/* Stats */
.stats {
  display: flex;
  flex-direction: column;
  align-items: start;
  /* gap: 1rem; */
  justify-content: center;
  height: auto;
  /* width: auto; */
  flex-wrap: wrap;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s;
  height: 100%;
  margin: 20px;
  padding: 20px;
}

.stat-card:hover {
  border-color: rgba(164, 19, 60, 0.5);
  transform: scale(1.05) translateY(-5px);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}
.personal-skills {
  width: 66vw;
  display: flex;
  gap: 5px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.content-skills {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px;
}

.stat-cards {
  background: var(--card);
  border: 1px solid #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  margin-left: 10px;
}

.stat-cards:hover {
  border: 1px solid #e8d5b7;
}

/* Tech Marquee */
.marquee-container {
  margin-top: 3rem;
  overflow: hidden;
}

.marquee-label {
  font-weight: bold;
  text-align: center;
  font-size: 1.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  padding-top: 8%;
}

.marquee-wrapper {
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 60s linear infinite; /* بطيء شوية عشان الصور كتير */
  height: 400px;
}

.tech-item {
  flex-shrink: 0;
  margin: 0 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(31, 31, 31, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.3s;
}

.tech-item:hover {
  border-color: rgba(164, 19, 60, 0.5);
}

.tech-item img {
  width: 1.5rem;
  height: 1.5rem;
}

.tech-item span {
  color: var(--muted-foreground);
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
}
.tech-items {
  flex-shrink: 0;
  margin: 0 0.75rem;
  padding: 0.75rem 1rem;
  /* background: rgba(31, 31, 31, 0.5); */
  /* border: 1px solid var(--border); */
  /* border-radius: 0.5rem; */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.3s;
}

.tech-items img {
  width: 1.5rem;
  height: 1.5rem;
}

.tech-items span {
  /* color: var(--muted-foreground); */
  font-weight: 500;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Tech Stack Grid */
.tech-stack {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  height: auto;
}
.contaner-skills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.tech-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 9999px;
  transition: all 0.3s;
  cursor: default;
}

.tech-badge:hover {
  border-color: rgba(164, 19, 60, 0.2);
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.1);
}

.tech-badge span:first-child {
  font-size: 1.125rem;
}

.tech-badge span:last-child {
  font-size: 0.75rem;
  color: var(--foreground);
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: rgba(31, 31, 31, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  top: -4px;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-title.primary {
  color: var(--primary);
}

.section-subtitle {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: clip;
  position: relative;
  top: -4px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 1s ease;
}

.service-card:hover {
  border-color: rgba(164, 19, 60, 0.5);
  /* transform: scale(1.02) translateY(-10px); */
  box-shadow: 0 25px 50px -12px rgba(164, 19, 60, 0.05);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(164, 19, 60, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(164, 19, 60, 0.2);
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.service-example {
  padding: 0.75rem;
  background: rgba(164, 19, 60, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(164, 19, 60, 0.1);
}

.service-example p {
  font-size: 0.75rem;
  color: rgba(164, 19, 60, 0.8);
  font-style: italic;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.service-link:hover {
  transform: translateX(5px);
}

.service-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background: var(--background);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-tab:hover {
  border-color: rgba(164, 19, 60, 0.5);
  color: var(--foreground);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr 1fr;
  overflow: clip;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}

.project-card:hover {
  border-color: rgba(164, 19, 60, 0.5);
  transform: translateY(-10px);
}

.project-card.hidden {
  display: none;
}

.project-image {
  position: relative;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(164, 19, 60, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  gap: 0.75rem;
}
.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  padding: 0.5rem;
  background: rgba(250, 250, 250, 0.671);
  border-radius: 9999px;
  transition: background 0.2s;
  position: relative;
  /* bottom: 49px; */
  right: -55%;
  color: #000;
  text-decoration-line: none;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  width: 9rem;
  line-height: normal;
}

.project-link:hover {
  background: var(--foreground);
}

.project-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--background);
}

.project-content {
  padding: 1.25rem;
}

.project-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

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

.project-tag {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  background: rgba(164, 19, 60, 0.1);
  color: var(--primary);
  border-radius: 0.375rem;
}
.cert-lightbox > .lightbox-content > img {
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}
.over-img {
  overflow: hidden;
  transition: all 0.3s;
}

.project-card {
  height: fit-content;
}

.project-link {
  inset-block-end: auto;
}

.links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  right: 11rem;
  gap: 10px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Certifications Section */
.certifications {
  padding: 5rem 0;
  background: linear-gradient(
    to bottom,
    rgba(164, 19, 60, 0.05),
    var(--background)
  );
}

.certificates-marquee {
  max-width: 117rem;
  position: relative;
  overflow: clip;
  animation: fadeInUp 1s ease forwards;
  animation-timeline: view();
  animation-range: entry 0% exit -145%;
}

.certificates-marquee:hover .certs-track {
  animation-play-state: paused;
}

.certs-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 60s linear infinite; /* بطيء شوية عشان الصور كتير */
  height: 400px;
  cursor: pointer;
}

.cert-img {
  flex-shrink: 0;
  width: 33rem; /* عرض مناسب للصور */
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(164, 19, 60, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(164, 19, 60, 0.05);
  cursor: pointer;
}

.cert-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(164, 19, 60, 0.2);
  border-color: rgba(164, 19, 60, 0.3);
}

/* Add this to style.css for lightbox modal */
.cert-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(164, 19, 60, 0.3);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 1.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(164, 19, 60, 0.9);
  transform: rotate(90deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.8);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 28rem;
  width: 100%;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(164, 19, 60, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.modal-title {
  font-weight: 600;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.modal-close {
  padding: 0.25rem;
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--muted);
}

.modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: rgba(31, 31, 31, 0.3);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: flex-start;
  grid-template-columns: 1fr 1fr;
  overflow: clip;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.form-group textarea {
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.submit-btn:hover {
  background: rgba(164, 19, 60, 0.9);
  transform: scale(1.02);
}

.submit-btn svg {
  width: 1rem;
  height: 1rem;
}

.contact-info {
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  position: relative;
  top: 28px;
  height: 94%;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  justify-self: left;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}
/* Contact Card */
.contact-card-wrapper {
  display: flex;
  justify-content: center;
  width: 30rem;
  position: relative;
  left: 30%;
  height: 41rem;
  animation: float 2.5s ease-in-out infinite;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  max-width: 30rem;
  width: 100%;
  text-align: center;
}

.contact-avatar {
  position: relative;
  width: 12rem;
  height: 12rem;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  overflow: visible;
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.contact-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(164, 19, 60, 0.05);
  mix-blend-mode: overlay;
}
.contact-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-title {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.contact-location {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-self: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--foreground);
  transform: scale(1.1);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-cta {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-cta:hover {
  background: rgba(164, 19, 60, 0.9);
  transform: scale(1.02);
}

/* Success Modal */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.success-modal.active {
  opacity: 1;
  visibility: visible;
}

.success-content {
  background: var(--card);
  border: 1px solid var(--primary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s;
}

.success-modal.active .success-content {
  transform: scale(1);
}

.success-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(164, 19, 60, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.success-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
  display: flex;
  padding: 2rem 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 0.5rem;
}

.footer-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  color: var(--primary-foreground);
}

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

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-made {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-made svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  fill: var(--primary);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social a {
  padding: 0.5rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(164, 19, 60, 0.05);
  border-radius: 9999px;
  animation: particle-float 5s ease-in-out infinite;
}

@keyframes particle-float {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }

  50% {
    opacity: 0.8;
    transform: translateY(-100px);
  }
}

div > h2 {
  font-size: xxx-large;
  padding: 3%;
}
.text {
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contet {
  color: #f5f0e8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.particle {
  background: #f5f0e8;
  width: 5px;
  height: 5px;
  overflow: hidden;
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

form {
  animation: fadeInLeft 0.8s ease forwards;
  animation-timeline: view();
  animation-range: entry 0% exit -50%;
}

/* .filter-tabs,
footer {
  position: relative;
}

.project-card,
.filter-tabs,
.tech-item,
.hero-center,
footer {
  z-index: 12;
}
.navbar-inner,
.cert-lightbox {
  z-index: 13;
} */
