:root {
  /* Colors */
  --primary-red: #dc3545;
  --primary-red-glow: rgba(220, 53, 69, 0.4);
  --dark-bg: #0E100F;
  --dark-surface: #121212;
  --dark-surface-2: #1a1a1a;
  --text-primary: #FFFCE1;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --overlay-color: rgba(0, 0, 0, 0.85);

  /* Typography - Fluid Scale */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-3xl: clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --fs-4xl: clamp(3rem, 2.5rem + 2.5vw, 5rem);
  --fs-5xl: clamp(4rem, 3.5rem + 4vw, 8rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-slow: all 0.6s var(--ease-out-expo);
  --transition-medium: all 0.3s var(--ease-out-expo);
}

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

html,
body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  font-size: var(--fs-base);
}

h1,
h2,
h3,
h4,
.logo {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--dark-surface-2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 9999;
  transition: opacity 0.3s ease-in-out;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-red);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-red);
  background: transparent;
}

@media (max-width: 768px) {

  .cursor-dot,
  .cursor-outline {
    display: none;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 2000;
  transition: background 0.3s;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--text-primary);
  z-index: 2001;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links-container {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex: 1;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}


.nav-link {
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2005;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--dark-bg);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-link {
  font-size: var(--fs-3xl);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-decoration: none;
}

/* mobilelink hover */
.mobile-link:hover {
  color: var(--primary-red);
  transform: translateY(-5px);
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;

}


/* Footer Parallax Text */
.footer {
  position: relative;
  overflow: hidden;
  padding: 15vw 2rem 5vw 2rem;
  background: var(--dark-bg);
}

.footer-parallax-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(5rem, 25vw, 40rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  font-family: "Geist", sans-serif;
}

/* Split Text Utility */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  will-change: transform, opacity;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links-container {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .logo {
    position: static;
    transform: none;
  }
}

/* Hero Section - Redesigned for Premium Look */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
  background-color: #050505;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url('images/pattern.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.8;
  z-index: 1;
  filter: saturate(1.2) contrast(1.1);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--primary-red-glow) 0%, transparent 70%);
  opacity: 0.4;
  z-index: 2;
  pointer-events: none;
  filter: blur(100px);
}

.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/noisetexture20.jpg');
  background-repeat: repeat;
  background-size: 100px;
  opacity: 0.2;
  mix-blend-mode: soft-light;
  z-index: 3;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.7) 100%);
  z-index: 4;
}

.hero-content {
  max-width: 1100px;
  width: 100%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
  font-family: "Geist";
  text-align: center;
  margin: 0 auto 2.5rem auto;
  width: 100%;
}

.title-row {
  display: block;
  overflow: hidden;
}

.word {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.word.highlight {
  color: var(--primary-red);
  font-family: "Cal Sans", sans-serif;
  font-weight: 700;
  font-optical-sizing: auto;
  font-style: normal;
  /* Use a different weight for the highlight if available */
}

/* Hero Tagline */
.hero-tagline-wrapper {
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  display: block;
  font-size: var(--fs-xs);
  font-family: "Geist", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary-red);
  font-weight: 600;
  transform: translateY(100%);
}

/* Hero Visuals */
.hero-visuals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.visual-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-red);
  opacity: 0.1;
  filter: blur(40px);
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
}

.circle-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: -5%;
  opacity: 0.05;
}

.circle-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 15%;
  background: white;
  opacity: 0.02;
}

.visual-line {
  position: absolute;
  background: linear-gradient(to bottom, transparent, rgba(220, 53, 69, 0.2), transparent);
  width: 1px;
  height: 100%;
}

.line-1 {
  left: 20%;
  top: 0;
}

.line-2 {
  right: 25%;
  top: 0;
}

/* Flair Elements Styling */
.flair-element {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  will-change: transform;
}

.flair-orange {
  width: 180px;
  top: 15%;
  right: 10%;
  opacity: 0.8;
}

.flair-2d {
  width: 150px;
  bottom: 15%;
  left: 10%;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .flair-orange {
    width: 100px;
    top: 10%;
    right: 5%;
  }

  .flair-2d {
    width: 80px;
    bottom: 20%;
    left: 5%;
  }
}

.hero-description {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  text-transform: none;
  font-size: 21px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  text-wrap: balance;
}

.hero-btns {
  display: flex;
  gap: 1.0rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 2.0rem;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  transition: all 0.5s var(--ease-out-expo);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-red);
  color: #FFFCE1;
  border: 1px solid var(--primary-red);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  backdrop-filter: blur(10px);
}

.btn-fill {
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: 150%;
  padding-bottom: 150%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  border-radius: 50%;
  z-index: -1;
  transition: transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.btn-primary .btn-fill {
  background: #FFFCE1;
}

.btn-secondary .btn-fill {
  background: #dc3545;
}

.btn-primary:hover {
  color: #FFFCE1;
  background: #0E100F;
}


.btn-secondary:hover {
  background: #dc3545;
  color: #FFFCE1;
  border-color: #dc3545;
  transform: translateY(-5px);
}

/* Scroll Indicator Redesign */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 10;
  opacity: 0;
}

.mouse {
  width: 28px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 2s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes scrollMouse {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    transform: translate(-50%, 20px);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.scroll-text {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Updated Submit Button */
.submit-button {
  position: relative;
  padding: 1.5rem 3.5rem;
  background: transparent;
  color: white;
  border: 2px solid var(--primary-red);
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: var(--fs-xs);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-expo), color 0.3s;
  z-index: 1;
}

.submit-button .btn-fill {
  background: var(--primary-red);
}

.submit-button:hover {
  color: white;
}

.submit-button:hover .btn-fill {
  transform: translate(-50%, -50%) scale(1);
}

/* Footer Improvements */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-column h4 {
  font-size: var(--fs-xs);
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
}

.footer-column p {
  font-family: "Space Mono", monospace;
  font-style: normal;
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: "Space Mono", monospace;
  font-style: normal;
  font-size: 16px;
}

.footer-link {
  color: var(--text-secondary);
  transition: var(--transition-medium);
  font-size: var(--fs-sm);
  font-family: "Space Mono", monospace;
  font-style: normal;
}

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

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* About Section */
.about-section {
  padding: 10vw 2rem;
  background-color: var(--dark-surface);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5vw;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.section-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--primary-red);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.about-title {
  font-size: var(--fs-4xl);
  margin-bottom: 2rem;
}

.about-text {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  font-style: normal;
  font-size: 21px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  padding: 1.5rem;
  background: var(--dark-surface-2);
  border-radius: 12px;
  transition: var(--transition-medium);
}

.stat-item:hover {
  background: var(--dark-bg);
  transform: translateY(-5px);
}

.stat-number {
  font-size: var(--fs-2xl);
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-red);
}

.stat-label {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* Skills Section */
.skills-section {
  padding: 10vw 2rem;
}

#skills-sub-title {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--primary-red);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 5rem;
  margin-left: 8rem;
  display: block;
}

.skills-title {
  text-align: center;
  font-size: var(--fs-4xl);
  margin-bottom: 5vw;
}

.skills-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 2rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--dark-surface);
  border-radius: 12px;
  transition: var(--transition-medium);
}

.skill-item:hover {
  background: var(--dark-surface-2);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.skill-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition-medium);
}

.skill-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

.skill-item span {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.skills-footer {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: flex;
  justify-content: flex-end;
}

.skill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: transform 0.3s var(--ease-out-expo), color 0.3s, border-color 0.3s;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.skill-btn .btn-fill {
  background: var(--primary-red);
}

.skill-btn i {
  position: relative;
  z-index: 2;
  color: var(--primary-red);
  font-size: 1rem;
  transition: transform 0.3s var(--ease-out-expo), color 0.3s;
}

.skill-btn:hover {
  color: white;
  border-color: var(--primary-red);
}

.skill-btn:hover .btn-fill {
  transform: translate(-50%, -50%) scale(1);
}

.skill-btn:hover i {
  color: white;
  transform: rotate(15deg) scale(1.2);
}

/* Projects Section */
.projects-section {
  padding: 10vw 2rem;
  background-color: var(--dark-surface);
}

.projects-header {
  max-width: 1400px;
  margin: 0 auto 5vw auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.projects-title {
  font-size: var(--fs-4xl);
}

.projects-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.project-card {
  position: relative;
  background: var(--dark-bg);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-slow);
}

.project-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}

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

.project-content {
  padding: 2.5rem;
}

.project-category {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--primary-red);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.project-name {
  font-size: var(--fs-2xl);
  margin-bottom: 1rem;
}

.project-description {
  color: var(--text-secondary);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: 18px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.project-btn {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Default hover for icons like GitHub */
.project-btn:hover i {
  transform: translateX(5px);
}

/* Rotate arrow to point top-right */
.project-btn i.fa-arrow-right {
  transform: rotate(-45deg);
}

/* Move top-right arrow diagonally on hover */
.project-btn:hover i.fa-arrow-right {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Services Section */
.services-section {
  padding: 10vw 2rem;
  background-color: var(--dark-bg);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
}

.services-list {
  margin-top: 4rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  border-bottom: 1px solid var(--dark-surface-2);
  cursor: pointer;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.service-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 3rem 0;
  transition: var(--transition-medium);
}

.service-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition-slow);
}

.service-item:hover::after,
.service-item.active::after {
  width: 100%;
}

.service-name {
  font-size: var(--fs-4xl);
  font-weight: 500;
  transition: var(--transition-medium);
  color: var(--text-primary);
  font-family: "Geist", sans-serif;
}

.service-item:hover .service-name {
  color: var(--primary-red);
  transform: translateX(20px);
}

.service-item.active .service-name {
  color: var(--primary-red);
}

.service-arrow {
  color: var(--text-secondary);
  transition: var(--transition-medium);
}

.service-item:hover .service-arrow {
  color: var(--primary-red);
  transform: rotate(-45deg) scale(1.2);
}

.service-item.active .service-arrow {
  transform: rotate(180deg);
  color: var(--primary-red);
}

/* Accordion Reveal */
.service-details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease-out-expo), padding 0.7s var(--ease-out-expo);
  width: 100%;
  overflow: hidden;
}

.service-item.active .service-details {
  grid-template-rows: 1fr;
  padding-bottom: 4rem;
}

.service-details-content {
  min-height: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5vw;
  align-items: center;
}

.service-description p {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.service-image {
  /* border-radius: 20px; */
  overflow: hidden;
  height: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s var(--ease-out-expo) 0.2s;
}

.service-item.active .service-image {
  opacity: 1;
  transform: translateY(0);
}

.service-image img,
.service-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}

.service-item:hover .service-image img,
.service-item:hover .service-image video {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .service-details-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .service-name {
    font-size: var(--fs-2xl);
  }

  .service-main {
    padding: 2rem 0;
  }

  .service-description p {
    font-size: var(--fs-base);
  }
}

/* Contact Section */
.contact-section {
  padding: 10vw 2rem;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5vw;
}

.contact-info h3 {
  font-size: var(--fs-3xl);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-size: var(--fs-lg);
}

.contact-item i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-surface);
  border-radius: 50%;
  color: var(--primary-red);
  font-size: 1.2rem;
}

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

.form-field {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1.5rem;
  background: var(--dark-surface);
  border: 1px solid var(--dark-surface-2);
  color: white;
  font-family: inherit;
  font-size: var(--fs-base);
  border-radius: 12px;
  outline: none;
  transition: var(--transition-medium);
}

.form-input:focus {
  border-color: var(--primary-red);
}

.footer-parallax-text {
  font-weight: 1400;
}

.form-label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: var(--text-muted);
  font-size: var(--fs-base);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-style: normal;
  /* font-size: 21px; */
  pointer-events: none;
  transition: var(--transition-medium);
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  transform: translateY(-2.8rem) scale(0.8);
  color: var(--primary-red);
}

/* Footer */
.footer {
  position: relative;
  padding: 10vw 2rem 5vw;
  background-color: var(--dark-bg);
  overflow: hidden;
}

.footer-parallax-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}

.footer-parallax-text {
  font-size: 25vw;
  font-weight: 900;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-primary);
  line-height: 0.8;
  text-transform: uppercase;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8vw;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-cta {
  font-size: clamp(3rem, 8vw, 10rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.footer-email-link {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-medium);
}

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

.footer-email-link i {
  font-size: 0.8em;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.footer-email-link:hover i {
  transform: rotate(0deg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 6vw;
}

.footer-header {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  font-weight: 700;
}

.footer-tagline {
  margin-top: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
}

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

.footer-link {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-medium);
  width: fit-content;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-time {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--primary-red);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Utility / Responsive */
@media (max-width: 1024px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: var(--fs-4xl);
  }
}

@media (max-width: 768px) {
  .nav-links-container {
    display: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations Trigger Classes - Managed by GSAP */
.reveal {
  will-change: transform, opacity;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.back-to-top:not(.active) {
  transform: translateY(20px);
}

.back-to-top:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: 0 10px 30px var(--primary-red-glow);
  transform: translateY(-5px);
}

.back-to-top i {
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease-out-expo);
}

.back-to-top:hover i {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}

/* Success Notification Styles */
/* Success Notification Redesign - Premium Look */
.notification {
  position: fixed;
  top: 40px;
  right: 40px;
  transform: translateX(calc(100% + 80px)) scale(0.9);
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(220, 53, 69, 0.15);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.5s ease;
  min-width: 380px;
  max-width: 450px;
  opacity: 0;
}

.notification.active {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.notification-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  z-index: 2;
  font-size: 0.8rem;
}

.notification-close:hover {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
  transform: rotate(90deg);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.notification-content i {
  color: var(--primary-red);
  font-size: 2rem;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(220, 53, 69, 0.5));
}

.notification-content i::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--primary-red);
  filter: blur(20px);
  opacity: 0.2;
  border-radius: 50%;
  z-index: -1;
}

.notification-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-title {
  color: white;
  font-weight: 700;
  font-size: var(--fs-base);
  letter-spacing: 0.02em;
}

.notification-message {
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  line-height: 1.5;
  font-family: inherit;
}

.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-red));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.6;
}

.notification.active .notification-progress {
  animation: progressPulse 5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes progressPulse {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 480px) {
  .notification {
    top: auto;
    bottom: 30px;
    right: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: none;
    min-width: 0;
    transform: translateY(calc(100% + 40px));
  }

  .notification.active {
    transform: translateY(0);
  }
}