/* Reset and base styles */
:root {
  /* Shared colors */
  --vusion-blue: #c2dde5;
  --vusion-blue-bright: #d1f6ff;
  --vusion-blue-glow: rgba(194, 221, 229, 0.4);
  --accent-color: #c2dde5; /* Main accent color */

  /* Dark mode (default) */
  --bg-color: #080808;
  --bg-gradient: radial-gradient(
    circle at 50% 50%,
    #141414 0%,
    #080808 70%,
    #050505 100%
  );
  --text-color: #ffffff;
  --text-color-secondary: rgba(255, 255, 255, 0.9);
  --dark-bg: rgba(15, 15, 15, 0.7);
  --darker-bg: rgba(25, 25, 25, 0.9);
  --light-accent: rgba(255, 255, 255, 0.85);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(194, 221, 229, 0.4);
  --text-shadow: 0 0 25px rgba(194, 221, 229, 0.3);
  --card-glow: 0 5px 30px rgba(194, 221, 229, 0.15);
  --card-bg: rgba(20, 20, 20, 0.7);
  --card-bg-gradient: linear-gradient(
    125deg,
    rgba(30, 30, 30, 0.4) 0%,
    rgba(15, 15, 15, 0.7) 70%
  );
  --input-bg: rgba(25, 25, 25, 0.7);
  --input-border: #333;
  --overlay-opacity: 0.03;
  --section-image-opacity: 0.03;
  --background-blend: screen;
}

/* Light mode */
.light-mode {
  --bg-color: #f0f0f2;
  --bg-gradient: radial-gradient(
    circle at 50% 50%,
    #ffffff 0%,
    #f0f0f2 70%,
    #e0e0e2 100%
  );
  --text-color: #202124;
  --text-color-secondary: rgba(0, 0, 0, 0.9);
  --dark-bg: rgba(255, 255, 255, 0.95);
  --darker-bg: rgba(245, 245, 247, 0.98);
  --light-accent: rgba(0, 0, 0, 0.9);
  --border-light: rgba(0, 0, 0, 0.15);
  --border-accent: rgba(0, 115, 230, 0.6);
  --text-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  --card-glow: 0 5px 20px rgba(0, 0, 0, 0.15);
  --card-bg: rgba(252, 252, 252, 0.95);
  --card-bg-gradient: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(245, 245, 250, 0.95) 70%
  );
  --input-bg: rgba(240, 240, 245, 0.9);
  --input-border: #bbb;
  --overlay-opacity: 0.03;
  --section-image-opacity: 0.04;
  --background-blend: multiply;
  --vusion-blue: #0073e6;
  --vusion-blue-bright: #0062c4;
  --vusion-blue-glow: rgba(0, 115, 230, 0.4);
}

/* Keep elements in hero section white in light mode */
.light-mode .hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.light-mode .nav-logo {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.light-mode .tagline {
  color: #ffffff;
}

.light-mode .cta-btn,
.light-mode .portfolio-btn,
.light-mode .submit-btn {
  color: #ffffff;
  border-color: #ffffff;
}

.light-mode .social-icons a {
  color: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-color);
  font-family: "Onest", sans-serif;
  line-height: 1.5;
  position: relative;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Add subtle texture overlay */
body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: var(--overlay-opacity);
  pointer-events: none;
  z-index: 1000;
}

/* Utility classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.section {
  padding: 8rem 0;
  position: relative;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.5px;
  text-align: center;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.2;
  font-family: "Inter", sans-serif;
  letter-spacing: 2px;
  font-weight: 400;
}

/* Specific styling for hero section title */
.hero h1 {
  position: relative;
  display: inline-block;
  padding: 0 10px 10px;
  margin-bottom: 10px;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60%;
  height: 1px;
  background-color: var(--vusion-blue);
  transform: translateX(-50%);
}

h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 3rem;
  text-shadow: var(--text-shadow);
  letter-spacing: 1px;
  font-weight: 400;
}

h3 {
  margin-bottom: 20px;
  color: var(--light-accent);
  text-shadow: var(--text-shadow);
}

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-color-secondary);
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.9;
}

/* Skill Lists */
ul {
  list-style-type: none;
  margin-bottom: 1.5rem;
  text-align: left;
  padding-left: 1rem;
}

ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
}

/* Hero section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("https://images.unsplash.com/photo-1536440136628-849c177e76a1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2425&q=80")
      no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.tagline {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  flex-wrap: wrap;
}

.tagline-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--vusion-blue);
  border-radius: 50%;
  margin: 0 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 30px;
}

.social-icons a {
  font-size: 24px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
  color: var(--vusion-blue);
}

.cta-btn {
  display: inline-block;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 30px;
  margin-top: 40px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.cta-btn:hover {
  color: #fff;
  border-color: var(--vusion-blue);
}

.cta-btn:hover:before {
  left: 0;
}

/* About section */
.about-content {
  padding: 60px;
  border-radius: 8px;
  margin-bottom: 100px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  background-color: transparent;
  transform: none;
  transition: none;
}

/* Remove hover effects */
.about-content:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.about-content p {
  font-size: 1.4rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  widows: 2;
  orphans: 2;
  hyphens: auto;
  overflow-wrap: break-word;
  text-align: justify;
  text-wrap: balance;
  transition: none;
  background: none;
  transform: none;
}

.about-content p:hover {
  transform: none;
  background: none;
}

/* Quote banner */
.quote-banner {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--darker-bg);
  margin: 60px auto;
  transition: transform 0.3s ease, background-color 0.3s ease,
    box-shadow 0.3s ease;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.quote-banner:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(194, 221, 229, 0.1);
}

.quote-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  line-height: 1.3;
  color: var(--vusion-blue-bright);
  text-shadow: 0 0 15px rgba(194, 221, 229, 0.2);
  font-weight: 400;
}

.quote-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--vusion-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.quote-title:hover::after {
  transform: scaleX(1);
}

.quote-text {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: var(--text-color);
}

/* Skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

/* Skills background */
#skills {
  position: relative;
  overflow: hidden;
}

#skills::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1534224039826-c7a0eda0e6b3?q=80&w=2000")
    center/cover no-repeat;
  opacity: 0.03;
  z-index: 0;
  mix-blend-mode: lighten;
  pointer-events: none;
}

@media (max-width: 992px) {
  .skills-grid:not(.skills-grid-two) {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.skill-card {
  background-color: var(--card-bg);
  background-image: var(--card-bg-gradient);
  padding: 40px 30px;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* New skill section styling */
.skill-trio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.skill-keyword {
  background-color: rgba(194, 221, 229, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--vusion-blue-bright);
  transition: all 0.3s ease;
  border: 1px solid rgba(194, 221, 229, 0.2);
  text-shadow: 0 0 10px rgba(209, 246, 255, 0.2);
}

.skill-card:hover .skill-keyword {
  background-color: rgba(194, 221, 229, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(194, 221, 229, 0.1);
}

.skill-summary {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
  font-weight: 300;
  font-style: italic;
}

.skill-details {
  width: 100%;
  margin-top: 10px;
}

.details-toggle {
  cursor: pointer;
  color: var(--vusion-blue);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.details-toggle:hover {
  opacity: 0.8;
}

.details-toggle i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.extended-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateY(-10px);
  margin-top: 0;
}

.details-toggle.active i {
  transform: rotate(180deg);
}

.extended-details.active {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 15px;
}

.skill-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(194, 221, 229, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--border-accent);
}

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

.skill-icon {
  font-size: 40px;
  color: var(--vusion-blue);
  margin-bottom: 20px;
  transition: all 0.5s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  background-color: rgba(15, 15, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-card:hover .skill-icon {
  transform: scale(1.1);
  background-color: rgba(25, 25, 25, 0.8);
  border-color: var(--border-accent);
  box-shadow: 0 0 20px rgba(194, 221, 229, 0.2);
}

/* Skill icon flip effect */
.skill-icon i {
  backface-visibility: hidden;
  transition: all 0.5s ease;
}

.skill-icon .icon-front {
  position: absolute;
  transform: rotateY(0deg);
}

.skill-icon .icon-back {
  position: absolute;
  transform: rotateY(180deg);
  opacity: 0;
}

.skill-card:hover .skill-icon .icon-front {
  transform: rotateY(180deg);
  opacity: 0;
}

.skill-card:hover .skill-icon .icon-back {
  transform: rotateY(0deg);
  opacity: 1;
}

/* Portfolio links */
#portfolio {
  position: relative;
  overflow: hidden;
}

#portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1545156521-77bd85671d30?q=80&w=2000")
    center/cover no-repeat;
  opacity: 0.03;
  z-index: 0;
  mix-blend-mode: color-dodge;
  pointer-events: none;
}

.portfolio-links {
  margin: 80px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 80px auto;
  position: relative;
  z-index: 1;
}

.portfolio-card {
  background-color: var(--card-bg);
  background-image: var(--card-bg-gradient);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--border-accent);
}

.portfolio-img {
  height: 180px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.portfolio-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.vimeo-img {
  background-image: url("https://images.unsplash.com/photo-1496559249665-c7e2874707ea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2340&q=80");
}

.vusion-img {
  background-image: url("https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2340&q=80");
}

.portfolio-content {
  padding: 25px;
  text-align: center;
}

.portfolio-content h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.portfolio-content p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.portfolio-btn {
  display: inline-block;
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 25px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.portfolio-btn:hover {
  color: #fff;
  border-color: var(--vusion-blue);
}

.portfolio-btn:hover:before {
  left: 0;
}

/* Skills & Journey Combined Section */
.skills-journey-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0px 0;
  z-index: 1;
}

/* Timeline background - keeping similar styling */
#timeline {
  position: relative;
  overflow: hidden;
}

#timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=2000")
    center/cover no-repeat;
  opacity: 0.04;
  z-index: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}

.skills-journey-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.journey-card {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--card-bg);
  background-image: var(--card-bg-gradient);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.journey-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--border-accent);
}

.journey-card-content {
  width: 100%;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.journey-period {
  color: var(--vusion-blue);
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
  transition: all 0.3s ease;
}

.journey-card:hover .journey-period {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(194, 221, 229, 0.3);
}

/* Journey skills styling */
.journey-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}

.journey-skill {
  background-color: rgba(194, 221, 229, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--vusion-blue-bright);
  transition: all 0.3s ease;
  border: 1px solid rgba(194, 221, 229, 0.2);
  text-shadow: 0 0 10px rgba(209, 246, 255, 0.2);
}

.journey-card:hover .journey-skill {
  background-color: rgba(194, 221, 229, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(194, 221, 229, 0.1);
}

.journey-summary {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 15px;
  font-weight: 300;
  font-style: italic;
}

.journey-card [itemprop="description"] {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: center;
}

.journey-details {
  width: 100%;
  margin-top: 5px;
  border-top: 1px solid rgba(194, 221, 229, 0.1);
  padding-top: 15px;
}

/* Journey timeline styling for detail lists */
.skill-category {
  font-size: 1rem;
  color: var(--vusion-blue);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  text-align: center;
}

.extended-details ul {
  margin: 10px 0;
  text-align: left;
  padding-left: 10px;
}

.extended-details ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-color-secondary);
}

.extended-details ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--vusion-blue);
  font-size: 1.2rem;
  line-height: 1;
  top: 0.1em;
}

.timeline-icon {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--vusion-blue);
  transition: all 0.5s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  background-color: rgba(15, 15, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.journey-card:hover .timeline-icon {
  transform: scale(1.1);
  background-color: rgba(25, 25, 25, 0.8);
  border-color: var(--border-accent);
  box-shadow: 0 0 20px rgba(194, 221, 229, 0.2);
}

/* Timeline icon flip effect */
.timeline-icon i {
  backface-visibility: hidden;
  transition: all 0.5s ease;
  font-size: 30px;
}

.timeline-icon .icon-front {
  position: absolute;
  transform: rotateY(0deg);
}

.timeline-icon .icon-back {
  position: absolute;
  transform: rotateY(180deg);
  opacity: 0;
}

.journey-card:hover .timeline-icon .icon-front {
  transform: rotateY(180deg);
  opacity: 0;
}

.journey-card:hover .timeline-icon .icon-back {
  transform: rotateY(0deg);
  opacity: 1;
}

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

/* Contact section */
#contact {
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1622737133809-d95047b9e673?q=80&w=2000")
    center/cover no-repeat;
  opacity: 0.03;
  z-index: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}

.contact-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--dark-bg);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--card-glow);
}

.form-group {
  margin-bottom: 20px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-color);
  font-family: "Onest", sans-serif;
  transition: all 0.3s ease;
  border-radius: 4px;
}

input:focus,
textarea:focus {
  background-color: var(--dark-bg);
  border-color: var(--border-accent);
  outline: none;
  box-shadow: 0 0 10px var(--vusion-blue-glow);
}

textarea {
  height: 150px;
  resize: none;
}

.submit-btn {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 12px 30px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

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

.submit-btn:hover {
  color: #fff;
  border-color: var(--vusion-blue);
}

.submit-btn:hover:before {
  left: 0;
}

.submit-btn i {
  margin-right: 8px;
}

.alt-contact {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

#formMessage {
  display: none;
  margin-top: 20px;
  padding: 15px;
  background: var(--dark-bg);
  border-radius: 8px;
  transition: all 0.3s ease;
}

#formMessage.success {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid #4caf50;
  color: #4caf50;
}

#formMessage.error {
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid #f44336;
  color: #f44336;
}

.alt-contact a {
  color: var(--vusion-blue);
  transition: all 0.3s ease;
}

.alt-contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  padding: 50px 0;
  background-color: rgba(15, 15, 15, 0.7);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.back-to-top {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(25, 25, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background-color: var(--vusion-blue);
  color: #000;
  transform: translateY(-50%) translateY(-5px);
}

.location {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #888;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-light);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.main-nav.visible {
  transform: translateY(0);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

.nav-logo {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 5px;
}

.nav-links a {
  padding: 10px 15px;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 8px 12px;
  margin: 0 5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 3px;
  left: 12px;
  background-color: var(--vusion-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(194, 221, 229, 0.3);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 24px);
}

.nav-links a.active {
  color: var(--vusion-blue-bright);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    margin: 15px 0;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--vusion-blue);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s ease;
}

.scroll-down-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: white;
  font-size: 2rem;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.scroll-down-arrow:hover {
  opacity: 1;
  color: var(--vusion-blue);
}

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

/* Section Transitions */
.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--vusion-blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--vusion-blue);
  color: white;
  padding: 8px 16px;
  z-index: 1002;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Circuit board pattern overlay */
.circuit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  opacity: 0.02;
  opacity: 0.02;
}
