/* Root Variables */
:root {
  --primary-color: #6134b7;
  --secondary-color: #333;
  --card-bg-color: #fff;
  --text-color: #666;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 10px 25px rgba(91, 75, 154, 0.2);
  --gradient: linear-gradient(45deg, var(--primary-color), #6134b7);
}

/* Portfolio Section */
.portfolio {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 7%;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/pattern-light.svg");
  background-size: cover;
  opacity: 0.05;
  pointer-events: none;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bolder;
  text-align: center;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  margin-top: 5rem;
  text-align: center;
}

.gradient-h1-noir {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

/* Welcome Section */
.portfolio-welcome {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.welcome-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: bounce 2s infinite;
}

.welcome-icon i {
  font-size: 2rem;
  color: white;
}

.welcome-title {
  font-size: 2.4rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.welcome-message {
  font-size: 1.6rem;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Portfolio Description */
.portfolio-description {
  text-align: center;
  margin: 2rem auto 3rem;
  max-width: 700px;
}

.friendly-intro {
  font-size: 1.8rem;
  color: var(--text-color);
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  padding: 2rem;
  background: rgba(97, 52, 183, 0.05);
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
}

/* Portfolio Stats */
.portfolio-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 500;
}

/* Portfolio Filter */
.portfolio-filter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.filter-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.filter-header i {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

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

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover,
.filter-btn.active {
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(91, 75, 154, 0.3);
}

.filter-btn i {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.filter-btn:hover i,
.filter-btn.active i {
  transform: scale(1.1);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 18 / 9;
  border-radius: 12px 12px 0 0;
}

/* Portfolio Badge */
.portfolio-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.portfolio-badge.premium {
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  color: white;
}

.portfolio-badge:hover {
  transform: scale(1.05);
}

/* Project Header */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.portfolio-title .title-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
}

/* Project Status */
.project-status {
  margin-left: auto;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 500;
}

.status-badge.live {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.live i {
  animation: pulse 2s infinite;
}

/* Project Highlights */
.project-highlights {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(97, 52, 183, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  color: var(--text-color);
  border: 1px solid rgba(97, 52, 183, 0.2);
}

.highlight-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(91, 75, 154, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(20px);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-preview-btn,
.portfolio-link {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.portfolio-link {
  width: auto;
  padding: 0 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.4rem;
}

.portfolio-preview-btn:hover,
.portfolio-link:hover {
  background: #ffffff;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 700;
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-title {
  color: var(--primary-color);
}

.portfolio-category {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  -background-clip: text;
  display: inline-block;
}

.portfolio-desc-wrapper {
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  max-height: 100px;
  transition: max-height 0.5s ease;
}

.portfolio-card:hover .portfolio-desc-wrapper {
  max-height: 200px;
}

.portfolio-desc-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-desc-wrapper::after {
  opacity: 0;
}

.portfolio-desc {
  font-size: 1.4rem;
  color: var(--text-color);
  line-height: 1.6;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91, 75, 154, 0.1);
  color: var(--text-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-tag.primary {
  background: rgba(97, 52, 183, 0.15);
  border: 1px solid rgba(97, 52, 183, 0.3);
}

.tech-tag.secondary {
  background: rgba(0, 142, 242, 0.1);
  border: 1px solid rgba(0, 142, 242, 0.3);
}

.tech-tag i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.tech-tag:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(91, 75, 154, 0.2);
}

.tech-tag:hover i {
  color: white;
}

/* Portfolio Modal */
.portfolio-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  width: 80%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.portfolio-modal.show .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 2.8rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: var(--primary-color);
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

.modal-title {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.modal-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.modal-image-container {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-image {
  width: 100%;
  height: auto;
  display: block;
}

.modal-description {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
}

.modal-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(91, 75, 154, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .portfolio {
    padding: 4rem 1rem;
    margin-top: 15%;
  }

  .portfolio-welcome {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .welcome-title {
    font-size: 2rem;
  }

  .welcome-message {
    font-size: 1.4rem;
  }

  .portfolio-description {
    margin: 1.5rem auto 2rem;
  }

  .friendly-intro {
    font-size: 1.6rem;
    padding: 1.5rem;
  }

  .portfolio-stats {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .stat-item {
    padding: 1rem;
    min-width: 120px;
  }

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

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

  .portfolio-filter {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .filter-header {
    font-size: 1.4rem;
  }

  .filter-buttons {
    gap: 0.8rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
  }

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

  .portfolio-card {
    max-width: 450px;
    margin: 0 auto;
  }

  .project-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .project-status {
    margin-left: 0;
    align-self: flex-start;
  }

  .portfolio-content {
    padding: 1.5rem;
  }

  .portfolio-title {
    font-size: 1.8rem;
  }

  .portfolio-title .title-icon {
    font-size: 1.6rem;
  }

  .portfolio-category {
    font-size: 1.3rem;
  }

  .project-highlights {
    gap: 0.8rem;
  }

  .highlight-item {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }

  .portfolio-cta {
    margin-top: 3rem;
    padding: 3rem 1.5rem;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-message {
    font-size: 1.4rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

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

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .modal-cta {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .section-subtitle {
    font-size: 1.6rem;
  }

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

  .portfolio-filter {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .filter-btn {
    width: 50%;
    max-width: 170px;
    display: flex;
    position: relative;
  }

  .portfolio-preview-btn,
  .portfolio-link {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }

  .portfolio-link {
    width: auto;
    padding: 0 1.2rem;
    font-size: 1.2rem;
  }

  .tech-tag {
    font-size: 1rem;
    padding: 4px 10px;
  }

  .tech-tag i {
    font-size: 1.2rem;
  }

  .modal-title {
    font-size: 2rem;
  }

  .modal-description {
    font-size: 1.4rem;
  }
}

/* Animation Styles */
.portfolio {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.portfolio.aos-animate {
  opacity: 1;
  visibility: visible;
}

.portfolio-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.portfolio-card.aos-init {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.portfolio-card.aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Portfolio CTA Section */
.portfolio-cta {
  margin-top: 5rem;
  padding: 4rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(97, 52, 183, 0.1) 0%,
    rgba(0, 142, 242, 0.1) 100%
  );
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: glow 2s ease-in-out infinite alternate;
}

.cta-icon i {
  font-size: 3rem;
  color: white;
}

.cta-title {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-message {
  font-size: 1.6rem;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  border-radius: 30px;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cta-btn.primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 5px 20px rgba(97, 52, 183, 0.3);
}

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

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(97, 52, 183, 0.4);
}

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

/* Floating Animation Elements */
.cta-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.element {
  position: absolute;
  font-size: 2rem;
  color: rgba(97, 52, 183, 0.2);
  animation: float 3s ease-in-out infinite;
}

.element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 0.5s;
}

.element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 1s;
}

.element:nth-child(4) {
  top: 40%;
  right: 25%;
  animation-delay: 1.5s;
}

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

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(97, 52, 183, 0.5);
  }
  to {
    box-shadow: 0 0 30px rgba(97, 52, 183, 0.8);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Enhanced Modal Styles */
.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.modal-icon i {
  font-size: 2.4rem;
  color: white;
}

.modal-subtitle {
  color: var(--text-color);
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 0;
}

.modal-features,
.modal-tech {
  margin-bottom: 2rem;
}

.modal-features h4,
.modal-tech h4 {
  font-size: 1.8rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-cta.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.modal-cta.secondary:hover {
  background: var(--primary-color);
  color: white;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .portfolio-card,
  .portfolio-img,
  .portfolio-overlay,
  .modal-content,
  .close-modal,
  .welcome-icon,
  .cta-icon,
  .element {
    animation: none;
    transition: none;
  }
}
