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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spline-container {
  position: absolute;
  top: 100px;
  right: -20%;
  width: 50%;
  height: 100%;
  z-index: -3;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* ----- Custom scrollbar (Firefox + WebKit) ----- */
html {
  scrollbar-gutter: stable;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(77, 166, 255, 0.92) rgba(10, 12, 28, 0.92);
}

*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

*::-webkit-scrollbar-track {
  background: linear-gradient(
    180deg,
    rgba(14, 18, 38, 0.95) 0%,
    rgba(6, 8, 20, 0.98) 50%,
    rgba(12, 14, 32, 0.96) 100%
  );
  border-radius: 999px;
  border: 1px solid rgba(77, 166, 255, 0.08);
  margin: 4px 0;
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  min-height: 48px;
  border: 2px solid rgba(0, 0, 0, 0.35);
  background: linear-gradient(
    180deg,
    #1d6fdb 0%,
    #2574f5 35%,
    #6d5acd 70%,
    #7c3aed 100%
  );
  background-size: 100% 200%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 10px rgba(37, 116, 245, 0.25);
  animation: scrollbarShimmer 4s ease-in-out infinite;
  transition: box-shadow 0.35s ease, filter 0.35s ease, border-color 0.25s ease;
}

*::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.12) saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 18px rgba(77, 166, 255, 0.55),
    0 0 28px rgba(124, 58, 237, 0.35);
  border-color: rgba(77, 166, 255, 0.35);
}

*::-webkit-scrollbar-thumb:active {
  filter: brightness(0.95);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

*::-webkit-scrollbar-corner {
  background: rgba(8, 10, 22, 0.95);
}

@keyframes scrollbarShimmer {
  0%,
  100% {
    background-position: 0% 0%;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 8px rgba(37, 116, 245, 0.22),
      0 0 0 rgba(167, 139, 250, 0);
  }
  50% {
    background-position: 0% 100%;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 0 16px rgba(77, 166, 255, 0.45),
      0 0 22px rgba(167, 139, 250, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  *::-webkit-scrollbar-thumb {
    animation: none !important;
    background: linear-gradient(180deg, #2574f5, #7c3aed);
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-bottom: 2px solid #002fff34;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 24px;
}

.mainlogo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 25vh;
  background-color: rgba(0, 0, 0, 0.6);
}

.mainlogo img {
  height: 70px;
  max-width: 100%;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: #4da6ff;
}
.footer{
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-top: 2px solid #002fff34;
  background-color:  #196bf0c2;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #4da6ff;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #80bfff;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 50vh;
  padding: 0 5%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-bottom: 20px;
  color: #2574f5;
}

.hero-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  background-color: #2574f5;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(37, 116, 245, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}

.btn.client {
  background-color: #1f80e0;
}

.btn.talent {
  background-color: #1f80e0;
}

.btn.client:hover {
  background-color: #005ecb;
}

.btn.talent:hover {
  background-color: #176fd4;
}

@media (max-width: 768px) {
  .mainlogo {
    height: 15vh;
  }
  .mainlogo img {
    height: 50px;
  }
  .hero {
    min-height: 60vh;
    flex-direction: column;
  }
  .welcome-robot {
    position: relative;
    width: 100%;
    height: 40vh;
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-data: reduce) {
  .video-background video {
    display: none;
  }
  .video-background img {
    display: block;
  }
}
.features {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
}

.features h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2574f5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(37, 116, 245, 0.4);
}

.cta-final {
  padding: 3rem 2rem;
  text-align: center;
  background: #2574f5;
  color: #fff;
}

.cta-final h3 {
  margin-bottom: 1rem;
}
.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
}

.form-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 3rem;
  border-radius: 1rem;
  width: 100%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 0 20px rgba(37, 116, 245, 0.3);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  text-align: left;
}

.signup-form label {
  font-weight: bold;
  color: #4da6ff;
}

.signup-form input {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.signup-form input::placeholder {
  color: #bbb;
}

.signup-form button {
  margin-top: 1rem;
}

.form-footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}

.form-footer a {
  color: #4da6ff;
  text-decoration: none;
}

.form-footer a:hover {
  text-decoration: underline;
}
.signup-form select {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.signup-form select option {
  background: #000;
  color: #fff;
}
.process {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
}

.process h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2574f5;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.4);
}

.step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background: #2574f5;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-section {
  padding: 4rem 2rem;
  background: rgba(0,0,0,0.5);
}

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

.about-box {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s;
}

.about-box:hover {
  transform: translateY(-5px);
}

.values {
  padding: 4rem 2rem;
  text-align: center;
}

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

.value-card {
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 1rem;
}

.team {
  padding: 4rem 2rem;
  text-align: center;
}

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

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}
.contact-section {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 2px solid #0077ff;
  background: rgba(255,255,255,0.1);
}

.contact-info {
  padding: 2rem;
  background: rgba(0,0,0,0.5);
  border-radius: 1rem;
}

.contact-info p {
  margin: 0.5rem 0;
}

.social-links a {
  color: #0077ff;
  text-decoration: none;
  margin: 0 0.5rem;
}

.map {
  padding: 60px 20px;
  text-align: center;
}

.map h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #0077ff;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* Dashboard Layout Adjustments for Consistency */
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 60px - 60px); /* Account for header and footer height */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

/* Sidebar Styling */
.sidebar {
  width: 250px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-right: 2px solid #002fff34;
  padding: 2rem 1rem;
  position: sticky;
  top: 60px; /* Align below header */
  height: calc(100vh - 60px); /* Full height minus header */
}
.sidebar-nav {
    list-style-type: none;
    font-size: 20px;
}
.sidebar-nav li {
  margin-bottom: 25px;
}
.sidebar-nav a {
  color: #4da6ff; /* Match nav-links color */
  font-family: 'Poppins', sans-serif;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.3s ease, background 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #80bfff;
  background: rgba(37, 116, 245, 0.2);
}

/* Main Dashboard */
.main-dashboard {
  flex: 1;
  padding: 2rem;
  background: transparent; /* Match hero/form-section transparency */
}

.hero-content {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem); /* Match hero h2 sizing */
  color: #2574f5; /* Match hero heading color */
}

.hero-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #fff; /* Match hero paragraph color */
}

/* Stats Cards */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stats .card {
  background: rgba(255, 255, 255, 0.05); /* Match value-card, contact-form */
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stats .card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #fff; /* Match other card headings */
  margin-bottom: 0.5rem;
}

.stats .card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #4da6ff; /* Retain for consistency */
}

/* Activity Section */
.activity h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match features h3 */
  margin-bottom: 1rem;
}

.activity ul {
  list-style: none;
  padding: 0;
}

.activity li {
  background: rgba(255, 255, 255, 0.05); /* Match value-card */
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.activity li strong {
  color: #80bfff; /* Match hover/link emphasis */
}
/* Dashboard Layout Adjustments for Consistency */
.dashboard-layout {
  display: flex;
  min-height: calc(100vh - 60px - 60px); /* Account for header and footer height */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

/* Sidebar Styling */
.sidebar {
  width: 250px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-right: 2px solid #002fff34;
  padding: 2rem 1rem;
  position: sticky;
  top: 60px; /* Align below header */
  height: calc(100vh - 60px); /* Full height minus header */
}

.sidebar .logo img {
  height: 24px; /* Match header logo size */
}

.sidebar-nav a {
  color: #4da6ff; /* Match nav-links color */
  font-family: 'Poppins', sans-serif;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.3s ease, background 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #80bfff; /* Match nav-links hover color */
  background: rgba(37, 116, 245, 0.2); /* Subtle hover background */
}

/* Main Dashboard */
.main-dashboard {
  flex: 1;
  padding: 2rem;
  background: transparent; /* Match hero/form-section transparency */
}

.hero-content {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem); /* Match hero h2 sizing */
  color: #2574f5; /* Match hero heading color */
}

.hero-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #fff; /* Match hero paragraph color */
}

/* Stats Cards */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stats .card {
  background: rgba(255, 255, 255, 0.05); /* Match value-card, contact-form */
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stats .card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #fff; /* Match other card headings */
  margin-bottom: 0.5rem;
}

.stats .card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #4da6ff; /* Retain for consistency */
}

/* Activity Section */
.activity h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match features h3 */
  margin-bottom: 1rem;
}

.activity ul {
  list-style: none;
  padding: 0;
}

.activity li {
  background: rgba(255, 255, 255, 0.05); /* Match value-card */
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

.activity li strong {
  color: #80bfff; /* Match hover/link emphasis */
}
/* Projects Section */
.projects {
  margin-bottom: 2rem;
}

.projects h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match features and activity headings */
  margin-bottom: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.projects-grid .card {
  background: rgba(255, 255, 255, 0.05); /* Match stats and value-card */
  padding: 1.5rem;
  border-radius: 12px;
  text-align: left; /* Left-align for readability */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.projects-grid .card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #fff; /* Match stats card headings */
  margin-bottom: 0.5rem;
}

.projects-grid .card p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #fff; /* Match body text */
  margin-bottom: 0.5rem;
}

.projects-grid .card .btn {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.projects-grid .card .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Bio Section */
.bio {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05); /* Match projects-grid and stats card */
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bio h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match projects and activity headings */
  margin-bottom: 1rem;
}

.bio p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #fff; /* Match body text */
  margin-bottom: 0.5rem;
}

.bio .btn {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.bio .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}

/* Portfolio Section */
.portfolio {
  margin-bottom: 2rem;
}

.portfolio h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match projects and activity headings */
  margin-bottom: 1rem;
}

.portfolio .btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Form Section Styling */
.form-section {
  padding: 2rem;
  text-align: center;
  background: transparent; /* Match main-dashboard */
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05); /* Match bio, projects-grid */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #2574f5; /* Match hero-content h2 */
  margin-bottom: 1rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-form label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-align: left;
}

.signup-form input,
.signup-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.signup-form input:focus,
.signup-form textarea:focus {
  border: 2px solid #2574f5; /* Match contact-form focus */
}

.signup-form .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.signup-form .btn {
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-form .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Messages Section */
.messages {
  margin-bottom: 2rem;
}

.messages h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match projects and activity headings */
  margin-bottom: 1rem;
}

.messages .btn {
  display: inline-block;
  margin-bottom: 1rem;
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.messages .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}

.messages-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message-card {
  background: rgba(255, 255, 255, 0.05); /* Match projects-grid and stats card */
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: #fff; /* Match projects-grid card headings */
  margin-bottom: 0.5rem;
}

.message-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #fff; /* Match body text */
  margin-bottom: 0.5rem;
}

.message-card .btn {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.message-card .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Form Section Styling (already in style.css from edit-portfolio.html) */
.form-section {
  padding: 2rem;
  text-align: center;
  background: transparent; /* Match main-dashboard */
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05); /* Match bio, projects-grid */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #2574f5; /* Match hero-content h2 */
  margin-bottom: 1rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-form label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-align: left;
}

.signup-form input,
.signup-form textarea,
.signup-form select {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.signup-form input:focus,
.signup-form textarea:focus,
.signup-form select:focus {
  border: 2px solid #2574f5; /* Match contact-form focus */
}

.signup-form .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.signup-form .btn {
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-form .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Conversation Section */
.conversation {
  margin-bottom: 2rem;
}

.conversation h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match messages and projects headings */
  margin-bottom: 1rem;
}

.message-card.user-message {
  background: rgba(37, 116, 245, 0.1); /* Slightly different background for user messages */
  border-left: 4px solid #2574f5; /* Visual cue for user messages */
}
/* Form Section Subheadings */
.form-container h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: #2574f5; /* Match form-container h2 */
  margin: 1.5rem 0 1rem;
}

.signup-form label input[type="checkbox"] {
  margin-right: 0.5rem;
}
/* Form Section Styling (already in style.css from previous additions) */
.form-section {
  padding: 2rem;
  text-align: center;
  background: transparent; /* Match main-dashboard */
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05); /* Match bio, projects-grid */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #2574f5; /* Match hero-content h2 */
  margin-bottom: 1rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-form label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-align: left;
}

.signup-form input,
.signup-form textarea,
.signup-form select,
.signup-form input[type="file"] {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.signup-form input:focus,
.signup-form textarea:focus,
.signup-form select:focus,
.signup-form input[type="file"]:focus {
  border: 2px solid #2574f5; /* Match contact-form focus */
}

.signup-form .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.signup-form .btn {
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-form .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Date Picker Styling */
.signup-form input[type="date"] {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.signup-form input[type="date"]:focus {
  border: 2px solid #2574f5;
}
/* Talents Grid Styling */
.talents-grid {
  margin-bottom: 2rem;
}

.talents-grid h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5; /* Match projects-grid h2 */
  margin-bottom: 1rem;
}

.talents-grid .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.talent-card {
  background: rgba(255, 255, 255, 0.05); /* Match projects-grid */
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.talent-card:hover {
  transform: scale(1.03);
}

.talent-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #4da6ff; /* Match project-card h3 */
  margin-bottom: 0.5rem;
}

.talent-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.talent-card .btn {
  display: inline-block;
  background-color: #2574f5;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.talent-card .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.05);
}
/* Form Section Styling (already in style.css from previous additions) */
.form-section {
  padding: 2rem;
  text-align: center;
  background: transparent; /* Match main-dashboard */
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05); /* Match bio, projects-grid */
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #2574f5; /* Match hero-content h2 */
  margin-bottom: 1rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-form label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-align: left;
}

.signup-form input,
.signup-form textarea,
.signup-form select,
.signup-form input[type="file"] {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.signup-form input:focus,
.signup-form textarea:focus,
.signup-form select:focus,
.signup-form input[type="file"]:focus {
  border: 2px solid #2574f5; /* Match contact-form focus */
}

.signup-form .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.signup-form .btn {
  background-color: #2574f5; /* Match btn style */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-form .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Bio and Portfolio Sections */
.bio-section, .portfolio-section {
  margin-bottom: 2rem;
  padding: 1rem;
}

.bio-section h2, .portfolio-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5;
  margin-bottom: 1rem;
}

.bio-section p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-content .btn {
  display: inline-block;
  background-color: #2574f5;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.hero-content .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.03);
}
/* Project Details and Applications Sections */
.project-details-section, .applications-section {
  margin-bottom: 2rem;
  padding: 1rem;
}

.project-details-section h2, .applications-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #2574f5;
  margin-bottom: 1rem;
}

.project-details-section p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.talent-card .btn {
  display: inline-block;
  background-color: #2574f5;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.talent-card .btn:hover {
  box-shadow: 0 0 15px rgba(37, 116, 245, 0.6);
  transform: scale(1.05);
}

.talent-card .btn + .btn {
  margin-left: 0.5rem;
}
/* Project List Styling */
.card .project-list {
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.card .project-list li {
  margin-bottom: 0.3rem;
  transition:transform 0.3s ease-in-out;
}
.card .project-list li:hover {
    transform: scale(1.2);
}
.card .project-list a {
  color: #4da6ff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.card .project-list a:hover {
  color: #80bfff;
  transform: scale(1.2);
}

/* ============================================================
   TALENTRY DESIGN SYSTEM — v2 Enhancements
   ============================================================ */

html { scroll-behavior: smooth; }

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #4da6ff 0%, #a78bfa 55%, #60efff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* fadeInUp — used by admin pages / inline styles */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Talent Button — Purple */
.btn.talent {
  background: linear-gradient(135deg, #7c3aed, #a78bfa) !important;
  box-shadow: 0 0 12px rgba(167,139,250,0.35);
}
.btn.talent:hover {
  background: linear-gradient(135deg, #6d28d9, #9f67fa) !important;
  box-shadow: 0 0 22px rgba(167,139,250,0.6) !important;
  transform: scale(1.04);
}

/* Client Button — Blue Gradient */
.btn.client {
  background: linear-gradient(135deg, #1d6fdb, #2574f5) !important;
  box-shadow: 0 0 12px rgba(37,116,245,0.35);
}
.btn.client:hover {
  background: linear-gradient(135deg, #1557c0, #1d6fdb) !important;
  box-shadow: 0 0 22px rgba(37,116,245,0.6) !important;
  transform: scale(1.04);
}

/* Login Nav Button */
.btn-login-nav {
  background: linear-gradient(135deg, #2574f5, #4da6ff);
  color: #fff !important;
  padding: 0.38rem 1.1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 8px rgba(37,116,245,0.3);
  display: inline-block;
}
.btn-login-nav:hover {
  box-shadow: 0 0 18px rgba(37,116,245,0.6) !important;
  transform: scale(1.05);
}

/* CTA Final — Gradient */
.cta-final {
  background: linear-gradient(135deg, #0d0d2b 0%, #2574f5 50%, #7c3aed 100%) !important;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.cta-final h3, .cta-final p { position: relative; z-index: 1; }

/* Step Card — Fix number badge clipping */
.step-card { overflow: visible !important; }
.steps-grid { padding-top: 1rem; }

/* Enhanced Card Glow Borders */
.step-card, .value-card, .about-box {
  border: 1px solid rgba(37,116,245,0.12);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.step-card:hover, .value-card:hover, .about-box:hover {
  border-color: rgba(37,116,245,0.4);
  box-shadow: 0 0 22px rgba(37,116,245,0.22);
}

/* Stats Cards glassmorphism */
.stats .card {
  border: 1px solid rgba(37,116,245,0.15);
  backdrop-filter: blur(6px);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.stats .card:hover {
  border-color: rgba(37,116,245,0.45);
  box-shadow: 0 0 24px rgba(37,116,245,0.2);
  transform: translateY(-4px);
}

/* Sidebar — Talent (purple) */
.sidebar-talent .sidebar-nav a { color: #c4b5fd; }
.sidebar-talent .sidebar-nav a:hover,
.sidebar-talent .sidebar-nav a.active {
  color: #ede9fe;
  background: rgba(124,58,237,0.2);
}

/* Sidebar — Client (blue) */
.sidebar-client .sidebar-nav a { color: #4da6ff; }
.sidebar-client .sidebar-nav a:hover,
.sidebar-client .sidebar-nav a.active {
  color: #80bfff;
  background: rgba(37,116,245,0.2);
}

/* Form pages — video bg overlay */
.form-video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: -2;
}
.form-video-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

/* Form container glassmorphism */
.form-container {
  backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(37,116,245,0.22) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.55), 0 0 30px rgba(37,116,245,0.1) !important;
}

/* Footer fix — single consistent background */
.footer {
  background: rgba(20,80,200,0.72) !important;
  backdrop-filter: blur(8px);
}

/* Pulse loading animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.loading-cards { animation: pulse 1.6s ease infinite; }

/* Featured project cards on homepage */
.projects-grid .card {
  border: 1px solid rgba(37,116,245,0.15);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.projects-grid .card:hover {
  border-color: rgba(37,116,245,0.45);
  box-shadow: 0 0 24px rgba(37,116,245,0.22);
  transform: translateY(-4px);
}

/* Progress Bars */
.progress-container {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.progress-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 0.6rem;
}
.progress-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem; color: #fff;
}
.progress-deadline {
  font-size: 0.75rem; color: #aaa; font-family: 'Poppins', sans-serif;
}
.progress-track {
  width: 100%; height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 4px;
  transition: width 1s ease-in-out;
}
.progress-fill.good { background: linear-gradient(90deg, #2ecc71, #27ae60); }
.progress-fill.warning { background: linear-gradient(90deg, #f1c40f, #f39c12); }
.progress-fill.danger { background: linear-gradient(90deg, #e74c3c, #c0392b); }


/* --- Mobile Responsiveness Enhancements --- */

@media (max-width: 992px) {
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    display: none; /* Hidden by default on mobile, toggled by JS */
  }
  .sidebar.mobile-open {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 1000;
    height: calc(100vh - 60px);
    background: rgba(10, 10, 25, 0.95);
    backdrop-filter: blur(15px);
  }
  .main-dashboard {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 860px) {
  .header {
    padding: 10px 20px;
  }
  
  .nav-links {
    display: none; /* Use mobile menu instead */
  }
  
  /* Mobile Menu Overlay */
  .mobile-nav-active .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(5, 5, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 2rem;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
  }
  
  .mobile-nav-active .nav-links li {
    font-size: 1.25rem;
  }

  .hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2100;
  }
  .hamburger-btn span {
    width: 25px;
    height: 2px;
    background: #4da6ff;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-active .hamburger-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-nav-active .hamburger-btn span:nth-child(2) { opacity: 0; }
  .mobile-nav-active .hamburger-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-split {
    padding: 2rem 1rem;
    text-align: center;
  }
  .hero-content h2 {
    font-size: 2.5rem;
    text-align: center;
  }
  .hero-content p {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  .stats .card {
    padding: 1rem;
  }
  .stats .card p {
    font-size: 1.3rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 1.5rem;
  }
  
  .footer {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

/* Helper for scrollable tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

/* Utility to hide/show based on mobile */
.hide-mobile {
  @media (max-width: 860px) { display: none !important; }
}
.show-mobile {
  display: none;
  @media (max-width: 860px) { display: flex !important; }
}
/* --- Global UI Utilities --- */

/* Spinner */
.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(37, 116, 245, 0.2);
  border-top-color: #4da6ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 1rem auto;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast {
  background: rgba(10, 10, 25, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 116, 245, 0.3);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: slideInRight 0.3s ease;
}
.toast.success { border-color: rgba(46, 204, 113, 0.4); }
.toast.error { border-color: rgba(231, 76, 60, 0.4); }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Shimmer/Skeleton Loading */
.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: rgba(37, 116, 245, 0.2);
  border: 1px solid rgba(37, 116, 245, 0.3);
  color: #4da6ff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}
.back-to-top.visible {
  opacity: 1;
}
.back-to-top:hover {
  background: rgba(37, 116, 245, 0.4);
  transform: translateY(-3px);
}

/* --- Premium Animation & UI System --- */

.animate-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.21, 0.6, 0.35, 1), transform 0.85s cubic-bezier(0.21, 0.6, 0.35, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional scroll reveals (pair with .animate-in; .visible from scroll script) */
.animate-in.reveal-from-left {
  transform: translate3d(-44px, 28px, 0);
}
.animate-in.reveal-from-right {
  transform: translate3d(44px, 28px, 0);
}
.animate-in.reveal-from-left.visible,
.animate-in.reveal-from-right.visible {
  transform: translate3d(0, 0, 0);
}

/* Section title inside .process — slight lead before cards */
.process > h3.animate-in {
  transition-delay: 0.02s;
}

/* Hero + “scroll to explore” affordance */
.hero.hero--with-scroll-hint {
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  min-height: clamp(320px, 52vh, 560px);
  padding: 2rem 5% 1rem;
}

.scroll-down-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.35rem 1rem 0.75rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease, opacity 0.4s ease, transform 0.4s ease;
}

.scroll-down-hint:hover {
  color: #4da6ff;
}

.scroll-down-hint__chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -8px;
  animation: scrollHintBounce 2.2s ease-in-out infinite;
}

.scroll-down-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

@keyframes scrollHintBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(8px); }
}

/* Stagger when children use .animate-in (e.g. step cards) */
.steps-grid .animate-in:nth-child(1) { transition-delay: 0.04s; }
.steps-grid .animate-in:nth-child(2) { transition-delay: 0.1s; }
.steps-grid .animate-in:nth-child(3) { transition-delay: 0.16s; }
.steps-grid .animate-in:nth-child(4) { transition-delay: 0.22s; }
.values-grid .animate-in:nth-child(1) { transition-delay: 0.05s; }
.values-grid .animate-in:nth-child(2) { transition-delay: 0.11s; }
.values-grid .animate-in:nth-child(3) { transition-delay: 0.17s; }
.values-grid .animate-in:nth-child(4) { transition-delay: 0.23s; }
.about-container .animate-in:nth-child(1) { transition-delay: 0.06s; }
.about-container .animate-in:nth-child(2) { transition-delay: 0.14s; }

@media (prefers-reduced-motion: reduce) {
  .animate-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-down-hint__chevron {
    animation: none !important;
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger Delays for Grid Items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Glassmorphism Refinement */
.glass-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(37, 116, 245, 0.5) !important;
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 20px 50px rgba(37, 116, 245, 0.25) !important;
}

/* Improved Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #4da6ff 45%, #2574f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Premium Button Glow */
.btn-premium {
  position: relative;
  overflow: hidden;
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.btn-premium:hover::after {
  opacity: 1;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* ----- About & Contact: hero over video, panels, team stagger ----- */
.page-about .about-section,
.page-about .values {
  background: rgba(4, 8, 22, 0.72);
  backdrop-filter: blur(8px);
}
.page-about .team {
  background: rgba(3, 6, 18, 0.62);
  backdrop-filter: blur(6px);
}
.page-about .values,
.page-about .team {
  border-top: 1px solid rgba(77, 166, 255, 0.1);
}

.page-about .hero.hero--with-scroll-hint,
.page-contact .hero.hero--with-scroll-hint {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.82) 0%, rgba(5, 8, 22, 0.55) 100%);
}

.page-about .scroll-down-hint.animate-in,
.page-contact .scroll-down-hint.animate-in {
  transition-delay: 0.28s;
}

.page-about .hero--with-scroll-hint .hero-content > .animate-in:nth-child(1),
.page-contact .hero--with-scroll-hint .hero-content > .animate-in:nth-child(1) {
  transition-delay: 0.05s;
}
.page-about .hero--with-scroll-hint .hero-content > .animate-in:nth-child(2),
.page-contact .hero--with-scroll-hint .hero-content > .animate-in:nth-child(2) {
  transition-delay: 0.12s;
}

.page-about .about-section,
.page-about .values,
.page-about .team,
.page-contact .contact-section,
.page-contact .map {
  position: relative;
  z-index: 1;
}

.page-contact .contact-section {
  background: rgba(4, 8, 22, 0.78);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(77, 166, 255, 0.1);
}

.page-contact .map {
  background: rgba(3, 6, 18, 0.7);
  border-top: 1px solid rgba(77, 166, 255, 0.08);
}

.team-grid .animate-in:nth-child(1) { transition-delay: 0.05s; }
.team-grid .animate-in:nth-child(2) { transition-delay: 0.12s; }
.team-grid .animate-in:nth-child(3) { transition-delay: 0.18s; }
.team-grid .animate-in:nth-child(4) { transition-delay: 0.24s; }

.values > h3.animate-in,
.team > h3.animate-in,
.map > h3.animate-in {
  transition-delay: 0.04s;
}

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

.page-contact .contact-container > .animate-in:nth-child(1) { transition-delay: 0.05s; }
.page-contact .contact-container > .animate-in:nth-child(2) { transition-delay: 0.12s; }

.page-contact .map > .animate-in:nth-child(1) { transition-delay: 0.04s; }
.page-contact .map > .animate-in:nth-child(2) { transition-delay: 0.1s; }

.form-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(0, 0, 0, 0.65);           /* extra dark overlay */
  backdrop-filter: blur(8px);
}

.form-container {
  position: relative;
  z-index: 3;
  background: rgba(10, 12, 28, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(77, 166, 255, 0.3) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
  padding: 2.5rem 3rem;
  max-width: 460px;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM INTERACTIVE CURSOR
   ═══════════════════════════════════════════════════════════ */
@media (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, select, input[type="submit"], .btn,
  .project-list li a, .progress-container,
  .sidebar-nav a, .app-item, .team-member,
  .value-card, .step-card, .card {
    cursor: none !important;
  }
}
/* Always keep text-entry cursors normal */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"],
input[type="url"], textarea {
  cursor: text !important;
}

.custom-cursor {
  width: 8px;
  height: 8px;
  background: #4da6ff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 0 6px rgba(77, 166, 255, 0.6);
}

.custom-cursor-glow {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(167, 139, 250, 0.4);
  background: rgba(167, 139, 250, 0.04);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.25s ease, height 0.25s ease,
              background-color 0.25s ease, border-color 0.25s ease;
}

/* Hover expansion */
.custom-cursor.cursor-hover {
  width: 14px;
  height: 14px;
  background: #a78bfa;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.7);
}
.custom-cursor-glow.cursor-hover {
  width: 50px;
  height: 50px;
  border-color: rgba(77, 166, 255, 0.65);
  background: rgba(77, 166, 255, 0.07);
}

/* Click compression */
.custom-cursor.cursor-active {
  transform: translate3d(-50%, -50%, 0) scale(0.6);
}
.custom-cursor-glow.cursor-active {
  transform: translate3d(-50%, -50%, 0) scale(1.4);
  border-color: #2574f5;
}

/* ═══════════════════════════════════════════════════════════
   MICRO-INTERACTIONS: Card Lift, Button Press, Nav Underline
   ═══════════════════════════════════════════════════════════ */

/* Card hover lift */
.card, .value-card, .step-card, .team-member, .app-item {
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.32s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.32s ease;
}
.card:hover, .value-card:hover, .step-card:hover, .team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(37, 116, 245, 0.18);
  border-color: rgba(77, 166, 255, 0.45) !important;
}
.app-item:hover {
  background: rgba(37, 116, 245, 0.04);
  border-radius: 10px;
}

/* Button press */
.btn:active, button:active {
  transform: scale(0.96);
  transition: transform 0.08s ease;
}

/* Nav link slide-in underline */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4da6ff, #a78bfa);
  border-radius: 2px;
  transition: width 0.28s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

/* Sidebar link hover glow */
.sidebar-nav a {
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.sidebar-nav a:hover {
  padding-left: 1.6rem;
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD SHIMMER PARTICLE CANVAS
   ═══════════════════════════════════════════════════════════ */
.shimmer-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Ensure dashboard content sits above the canvas */
.dashboard-layout,
.header,
.footer {
  position: relative;
  z-index: 1;
}