/* ======= PROJECTS PAGE STYLING 2025 ======= */

/* Main Variables */
:root {
  --card-transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --filter-transition: 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --card-shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
  --card-border-radius: 16px;
  --tag-border-radius: 50px;
  --card-scale: 1.03;
  --hero-gradient: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  --tag-bg: rgba(142, 244, 103, 0.1);
  --tag-color: var(--color-accent);
  --overlay-bg: rgba(17, 17, 17, 0.85);
  --overlay-bg-gradient: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
  --badge-pulse-color: rgba(142, 244, 103, 0.7);
  --category-icon-size: 24px;
  --device-badge-size: 28px;
  --card-min-height: 400px;
  --card-content-padding: 2.4rem;
  --filter-btn-height: 50px;
  --filter-active-border: 2px solid var(--color-accent);
  --card-image-height: 280px;
  --featured-card-image-height: 380px;
  --cta-section-padding: 12rem 0;
  --cta-section-bg: var(--color-dark);
  --load-more-btn-width: 220px;
}

/* ======= LOADER ======= */
#loader-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
}

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

.loader-text {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  animation: fadeInUp 0.5s 0.5s both;
}

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

/* ======= HERO SECTION ======= */
.page-hero {
  position: relative;
  min-height: 90vh;
  background-color: var(--color-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12rem 0 10rem;
  overflow: hidden;
  background-image: var(--gradient-dark);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.15;
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius-full);
  padding: 0.8rem 1.6rem;
  margin-bottom: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.8s ease-out forwards;
}

@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--color-accent);
  border-radius: 50%;
  margin-right: 1rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 var(--badge-pulse-color);
  }
  70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(142, 244, 103, 0);
  }
  100% {
      transform: scale(0.95);
      box-shadow: 0 0 0 0 rgba(142, 244, 103, 0);
  }
}

.badge-text {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
}

.page-title {
  font-size: 14rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 2rem;
  line-height: 1.1;
  animation: revealTitle 1s ease-out forwards;
  position: relative;
}

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

.page-title .highlight {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.page-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--color-accent);
  opacity: 0.3;
  z-index: -1;
  transform: skewX(-10deg);
}

.page-subtitle {
  font-size: 2.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1.2s 0.4s both;
}

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

.hero-scroll-indicator {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
  opacity: 0.7;
  transition: opacity var(--transition-medium);
  cursor: pointer;
  animation: fadeIn 1s 1.2s both;
}

.hero-scroll-indicator:hover {
  opacity: 1;
}

.hero-scroll-indicator span {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.scroll-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scrollIndicate 2s ease-in-out infinite;
}

.scroll-arrow svg {
  width: 18px;
  height: 18px;
  color: var(--color-white);
}

@keyframes scrollIndicate {
  0% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(10px);
  }
  100% {
      transform: translateY(0);
  }
}

/* ======= PROJECT FILTERS ======= */
.project-filters {
  /* position: sticky; */
  top: 80px;
  background-color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 2rem 0;
  z-index: 90;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.filters-container {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filters-container::-webkit-scrollbar {
  display: none;
}

.filter-scroll {
  display: flex;
  gap: 1.6rem;
  min-width: max-content;
  margin-top:5px
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--filter-btn-height);
  padding: 0 2rem;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--border-radius-full);
  color: var(--color-text-secondary);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--filter-transition);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-accent);
  opacity: 0.05;
  transition: height var(--filter-transition);
  z-index: -1;
}

.filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.filter-btn:hover::before {
  height: 100%;
}

.filter-btn.active {
  background-color: var(--color-light-gray);
  border: var(--filter-active-border);
  color: var(--color-accent);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(142, 244, 103, 0.15);
}

.filter-icon {
  width: var(--category-icon-size);
  height: var(--category-icon-size);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.all-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238EF467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'%3E%3C/path%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'%3E%3C/polyline%3E%3Cline x1='12' y1='22.08' x2='12' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

.uix-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238EF467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='8' y1='21' x2='16' y2='21'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12' y2='21'%3E%3C/line%3E%3C/svg%3E");
}

.creative-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238EF467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'%3E%3C/path%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'%3E%3C/path%3E%3Cpath d='M2 2l7.586 7.586'%3E%3C/path%3E%3Ccircle cx='11' cy='11' r='2'%3E%3C/circle%3E%3C/svg%3E");
}

.web-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238EF467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'%3E%3C/polyline%3E%3Cpolyline points='8 6 2 12 8 18'%3E%3C/polyline%3E%3Cline x1='19' y1='12' x2='5' y2='12'%3E%3C/line%3E%3C/svg%3E");
}

.educational-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238EF467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'%3E%3C/path%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'%3E%3C/path%3E%3C/svg%3E");
}

.handcrafted-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238EF467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12.88V16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3.12a.5.5 0 0 1 .54-.48h3a2 2 0 0 1 1.46 3.37l-.8.8a8.001 8.001 0 0 1-5.32 2.2H2.83a1.88 1.88 0 0 1-1.82-2.39'%3E%3C/path%3E%3Cpath d='M7 12.88V11a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1.88'%3E%3C/path%3E%3Cpath d='M10 8V5c0-1.1.9-2 2-2s2 .9 2 2v3'%3E%3C/path%3E%3C/svg%3E");
}

.filter-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 0 1rem;
  font-size: 1.4rem;
  color: var(--color-text-secondary);
}

.current-filter {
  font-weight: 600;
  color: var(--color-accent);
}

.project-count {
  font-style: italic;
}



























/* ======= PROJECTS GRID - PROJECTS.HTML UNIQUEMENT ======= */

/* Variables spécifiques aux projects */
:root {
  --projects-card-transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --projects-card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --projects-card-shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
  --projects-card-radius: 16px;
  --projects-card-min-height: 400px;
  --projects-card-content-padding: 2.4rem;
  --projects-card-image-height: 280px;
  --projects-featured-card-image-height: 380px;
  --projects-overlay-bg-gradient: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
  --projects-device-badge-size: 28px;
}

/* ======= PROJECTS GRID MAIN ======= */
.projects-page .projects-grid-section {
  padding: 8rem 0;
  background-color: var(--color-surface);
  position: relative;
}

.projects-page .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 4rem;
  margin-bottom: 6rem;
}

/* ======= PROJECT CARD BASE ======= */
.projects-page .project-card {
  background-color: var(--color-white);
  border-radius: var(--projects-card-radius);
  overflow: hidden;
  box-shadow: var(--projects-card-shadow);
  transition: all var(--projects-card-transition);
  opacity: 0;
  transform: translateY(30px);
  min-height: var(--projects-card-min-height);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.projects-page .project-card.show {
  opacity: 1;
  transform: translateY(0);
}

.projects-page .project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--projects-card-shadow-hover);
  z-index: 1;
}

/* ======= FEATURED CARD ======= */
.projects-page .featured-card {
  grid-column: span 2;
}

/* ======= PROJECT IMAGE ======= */
.projects-page .project-image {
  position: relative;
  overflow: hidden;
  height: var(--projects-card-image-height);
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projects-page .featured-card .project-image {
  height: var(--projects-featured-card-image-height);
}

.projects-page .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* Category-specific image handling */
.projects-page [data-category="uix"] .project-image img,
.projects-page [data-category="web"] .project-image img,
.projects-page [data-category="creative"] .project-image img,
.projects-page [data-category="educational"] .project-image img,
.projects-page [data-category="handcrafted"] .project-image img {
  object-fit: contain;
  max-height: 100%;
  max-width: 95%;
}

.projects-page .project-card:hover .project-image img {
  transform: scale(1.08);
}

/* ======= PROJECT OVERLAY ======= */
.projects-page .project-overlay {
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--projects-overlay-bg-gradient);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--projects-card-content-padding);
  color: var(--color-white);
}

.projects-page .project-card:hover .project-overlay {
  opacity: 1;
}

/* ======= DEVICE BADGES ======= */
.projects-page .device-badges {
  position: absolute;
  bottom: 25px;
  right: 20px;
  display: flex;
  gap: 1rem;
  z-index: 2;
}

.projects-page .device-badge {
  width: var(--projects-device-badge-size);
  height: var(--projects-device-badge-size);
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.projects-page .device-badge img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.projects-page .project-card:hover .device-badge {
  transform: translateY(-5px);
}

/* ======= OVERLAY CONTENT ANIMATION ======= */
.projects-page .overlay-content {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.projects-page .project-card:hover .overlay-content {
  transform: translateY(0);
  opacity: 1;
}

/* ======= PROJECT INFO ======= */
.projects-page .project-info {
  padding: var(--projects-card-content-padding);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.projects-page .project-title {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.projects-page .overlay-content .project-title {
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.projects-page .project-description {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.projects-page .overlay-content .project-description {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

/* ======= PROJECT TAGS ======= */
.projects-page .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.projects-page .project-tag {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-accent);
  background-color: rgba(142, 244, 103, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.projects-page .overlay-content .project-tag {
  background-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
}

.projects-page .project-card:hover .project-tag {
  transform: translateY(-3px);
}

/* ======= VIEW PROJECT BUTTON ======= */
.projects-page .view-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.projects-page .view-project-btn:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 244, 103, 0.2);
}

/* ======= LOAD MORE BUTTON ======= */
.projects-page .load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.projects-page .btn-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 220px;
  padding: 1.4rem 0;
  background-color: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.projects-page .btn-load-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
  z-index: -1;
}

.projects-page .btn-load-more:hover {
  color: var(--color-dark);
}

.projects-page .btn-load-more:hover::before {
  width: 100%;
}

.projects-page .btn-load-more .btn-icon {
  transition: transform 0.3s ease;
}

.projects-page .btn-load-more:hover .btn-icon {
  transform: translateY(3px);
}

.projects-page .btn-load-more.loading .btn-icon {
  animation: rotating 1s linear infinite;
}

@keyframes rotating {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}



/* ======= PROJECTS CONTACT CTA SECTION ======= */
.projects-contact-cta {
  background: linear-gradient(135deg, rgba(143, 244, 103, 0.65), #232323, #2828285f);
  color: #ffffff;
  padding: 12rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.projects-contact-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
  opacity: 7.6;
}

.projects-contact-cta::after {
  display: none;
}

.projects-contact-cta .container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.projects-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem;
  background-color: rgba(30, 30, 30, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(142, 244, 103, 0.2);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4), 
              0 0 80px rgba(142, 244, 103, 0.1);
}

.projects-cta-badge {
  display: inline-block;
  background-color: rgba(142, 244, 103, 0.15);
  color: #8EF467;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(142, 244, 103, 0.3);
  box-shadow: 0 0 15px rgba(142, 244, 103, 0.2);
}

.projects-cta-title {
  font-size: 5.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  line-height: 1.2;
  color: #f5f5f5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.projects-cta-title .projects-highlight {
  color: #8EF467;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 15px rgba(142, 244, 103, 0.3);
}

.projects-cta-description {
  font-size: 2.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.projects-cta-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.projects-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 1.5rem 3rem;
  font-size: 1.8rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.projects-btn-primary {
  background-color: #8EF467;
  color: #111111;
  border: none;
  box-shadow: 0 4px 15px rgba(142, 244, 103, 0.4);
}

.projects-btn-primary:hover {
  background-color: #7AD559;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(142, 244, 103, 0.5);
}

.projects-btn-outline {
  background-color: transparent;
  border: 2px solid #8EF467;
  color: #8EF467;
}

.projects-btn-outline:hover {
  background-color: #8EF467;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(142, 244, 103, 0.3);
}

/* Decorative elements */
.projects-cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.projects-decoration-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(70px);
}

.projects-element-1 {
  width: 350px;
  height: 350px;
  top: -100px;
  left: -80px;
  background: radial-gradient(circle, #8EF467, transparent 70%);
  animation: float-slow 8s ease-in-out infinite alternate;
}

.projects-element-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, #6C63FF, transparent 70%);
  animation: float-slow 12s ease-in-out infinite alternate-reverse;
}

.projects-element-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  right: 20%;
  background: radial-gradient(circle, #FF6B6B, transparent 70%);
  animation: float-slow 10s ease-in-out infinite alternate;
}

/* ======= FOOTER ENHANCED STYLING ======= */
.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

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

.footer-logo {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.footer-tagline {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  line-height: 1.5;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-5px);
}

.social-link:hover svg {
  color: var(--color-dark);
}

.footer-nav-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-white);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-links a {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-links a:hover::after {
  width: 100%;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Add this to your style.css or create a new section in responsive.css */

.footer-contact .contact-info-projects li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.contact-icon-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-medium);
}

.contact-icon-projects img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1); /* Makes icons white */
  transition: transform 0.3s ease;
}

/* Add hover effects */
.contact-info li:hover .contact-icon-projects {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.contact-info li:hover .contact-icon-projects img {
  transform: scale(1.2);
}





.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.4rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: var(--border-radius-full);
  transition: all 0.3s ease;
  cursor: pointer;
  width: fit-content;
}

.btn-outline-light:hover {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-3px);
}







.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* Animation for showing cards on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}



/* ======= FOOTER STYLES - UNIFIED SYSTEM FOR ALL PAGE TYPES ======= */

/* ====== BASE FOOTER STYLING (common to all footers) ====== */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* Shared copyright styling */
.footer-copyright {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.footer-copyright p {
  margin: 0;
}

/* Current year JavaScript handling */
#current-year {
  display: inline;
}

/* ====== HOME & SECONDARY PAGES FOOTER STYLING ====== */
.footer-home,
.footer-secondary {
  padding: 4rem 0;
}

.footer-home .footer-content,
.footer-secondary .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-nav-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-nav-simple a {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-white);
  transition: color var(--transition-medium);
  position: relative;
}

.footer-nav-simple a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition-medium);
}

.footer-nav-simple a:hover {
  color: var(--color-accent);
}

.footer-nav-simple a:hover::after {
  width: 100%;
}

/* ====== PROJECTS PAGE FOOTER STYLING (full version) ====== */
.footer-full {
  padding: 8rem 0 4rem;
}

.footer-full .footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

/* Brand section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.footer-logo .registered {
  font-size: 1.8rem;
  vertical-align: super;
}

.footer-tagline {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 1rem;
}

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

.footer-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-medium);
}

.footer-social .social-link svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
  transition: all var(--transition-medium);
}

.footer-social .social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-5px);
}

.footer-social .social-link:hover svg {
  color: var(--color-dark);
}

/* Navigation columns */
.footer-nav-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-white);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
  transition: width var(--transition-medium);
}

.footer-full .footer-nav:hover .footer-heading::after {
  width: 60px;
}

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

.footer-links li a {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-medium);
  position: relative;
  display: inline-block;
}

.footer-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition-medium);
}

.footer-links li a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-links li a:hover::after {
  width: 100%;
}

/* Contact section */
.footer-contact {
  display: flex;
  flex-direction: column;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  list-style: none;
  padding: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: transform var(--transition-medium);
}

.contact-item:hover {
  transform: translateY(-3px);
}

.contact-icon-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-medium);
}

.contact-icon-projects img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  transition: transform var(--transition-medium);
}

.contact-item:hover .contact-icon-projects {
  background-color: var(--color-accent);
}

.contact-item:hover .contact-icon-projects img {
  transform: scale(1.2);
  filter: brightness(0) saturate(100%);
}

.contact-text, 
.contact-link {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-medium);
}

.contact-link:hover {
  color: var(--color-accent);
}

/* Button styling */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.4rem;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-medium);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--color-accent);
  z-index: -1;
  transition: width var(--transition-medium);
}

.btn-outline-light:hover {
  border-color: var(--color-accent);
  color: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

/* Full footer bottom section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-legal a {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-medium);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* ====== UTILITY CLASSES FOR SPECIAL CASES ====== */

/* For pages with dark backgrounds or gradients */
.footer-dark-page {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* For pages with light backgrounds */
.footer-light-page {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Extra-padded footer (for pages with less content) */
.footer-padded {
  padding-top: 10rem;
}

/* Special footer animation */
.footer-fade-in {
  opacity: 0;
  animation: footerFadeIn 0.8s ease forwards;
}

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