/* ==========================================================================
   Modern Native CSS Stylesheet for Portfolio CMS
   No Tailwind CSS, 100% Native grid/flex/glassmorphism/animations
   ========================================================================== */

/* Fonts Integration */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Spline+Sans+Mono:wght@400;600&display=swap");

/* Global Variables & Reset */
:root {
  color-scheme: dark;
  --bg-color: #040c1c;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);
  --accent-color: #57d2ff;
  --accent-glow: rgba(87, 210, 255, 0.3);
  --card-bg: rgba(10, 22, 48, 0.6);
  --card-bg-hover: rgba(13, 28, 61, 0.85);
  --card-nested-bg: rgba(4, 12, 28, 0.45);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(87, 210, 255, 0.4);
  --input-bg: rgba(4, 12, 28, 0.6);
  --success-color: #3bf7c7;
  --error-color: #ff6b6b;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .float-slow, .lift-on-hover, .loading-sweep, .cursor-glow, .cursor-wave {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Ambient Parallax Background Orbs
   ========================================================================== */
.parallax-bg-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(90px);
  will-change: transform;
}

.orb-1 {
  top: -8rem;
  left: -4rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(87, 210, 255, 0.2);
  transform: translateY(var(--orb-one, 0px));
}

.orb-2 {
  top: 10rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(87, 210, 255, 0.1);
  transform: translateY(var(--orb-two, 0px));
}

.orb-3 {
  bottom: 2rem;
  left: 30%;
  width: 22rem;
  height: 22rem;
  background-color: rgba(87, 210, 255, 0.1);
  transform: translateY(var(--orb-three, 0px));
}

.float-slow {
  animation: float-slow 14s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(var(--offset-y, 0px)); }
  50% { transform: translateY(calc(var(--offset-y, 0px) - 20px)); }
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(4, 12, 28, 0.45), rgba(4, 12, 28, 0.8)),
    radial-gradient(circle at 2px 2px, rgba(125, 224, 255, 0.06) 1px, transparent 0);
  background-size: auto, 28px 28px;
}

/* Loading Sweep */
.loading-sweep {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 12, 28, 0.6), rgba(87, 210, 255, 0.15), rgba(4, 12, 28, 0.6));
  opacity: 0;
  pointer-events: none;
  animation: sweep 1.2s ease;
  z-index: 100;
}

@keyframes sweep {
  0% { opacity: 0.4; transform: translateX(-30%); }
  100% { opacity: 0; transform: translateX(30%); }
}

/* ==========================================================================
   Custom Glow Cursor
   ========================================================================== */
.cursor-glow,
.cursor-core,
.cursor-wave {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-999px, -999px);
  z-index: 99;
  will-change: transform;
}

.cursor-glow {
  display: none;
}

.cursor-core {
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 999px;
  background: rgba(125, 224, 255, 0.9);
  box-shadow: 0 0 16px rgba(125, 224, 255, 0.75);
}

.cursor-wave {
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 999px;
  border: 1px solid rgba(125, 224, 255, 0.6);
  opacity: 0;
  z-index: 98;
  transform: translate(var(--wave-x, -999px), var(--wave-y, -999px)) scale(0.2);
}

.cursor-wave.is-active {
  animation: cursor-wave 550ms ease-out forwards;
}

@keyframes cursor-wave {
  0% {
    opacity: 0.7;
    transform: translate(var(--wave-x, -999px), var(--wave-y, -999px)) scale(0.2);
  }
  100% {
    opacity: 0;
    transform: translate(var(--wave-x, -999px), var(--wave-y, -999px)) scale(3.5);
  }
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(4, 12, 28, 0.75);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 18px 40px rgba(2, 8, 23, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 250ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(87, 210, 255, 0), rgba(87, 210, 255, 0.9), rgba(87, 210, 255, 0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--text-primary);
}

/* Language Selector */
.lang-selector-wrapper {
  position: relative;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(87, 210, 255, 0.25);
  background: rgba(10, 22, 48, 0.8);
  color: var(--text-secondary);
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.725rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 200ms ease;
}

.lang-button svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent-color);
  stroke-width: 1.6;
  fill: none;
  transition: transform 200ms ease;
}

.lang-button:hover {
  border-color: var(--accent-color);
  color: var(--text-primary);
  box-shadow: 0 0 10px rgba(87, 210, 255, 0.2);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(9, 18, 38, 0.98);
  border: 1px solid rgba(87, 210, 255, 0.25);
  border-radius: 12px;
  padding: 4px;
  min-width: 90px;
  box-shadow: 0 12px 32px rgba(2, 8, 23, 0.75);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-option {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 150ms ease;
}

.lang-option:hover {
  background: rgba(87, 210, 255, 0.15);
  color: var(--text-primary);
}

.lang-option.is-active {
  background: rgba(87, 210, 255, 0.25);
  color: var(--text-primary);
  font-weight: 600;
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  cursor: pointer;
  transition: border-color 200ms ease;
}

.menu-toggle:hover {
  border-color: rgba(87, 210, 255, 0.5);
}

.menu-line {
  width: 18px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: transform 250ms ease;
}

.line-1 { transform: translateY(-3px); }
.line-2 { transform: translateY(3px); }

/* Hamburger transform when menu open */
.menu-toggle.is-active .line-1 {
  transform: translateY(0.75px) rotate(45deg);
}
.menu-toggle.is-active .line-2 {
  transform: translateY(-0.75px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-color);
  background-color: rgba(4, 12, 28, 0.96);
  padding: 1.5rem;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 200ms;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

.mobile-divider {
  border: 0;
  height: 1px;
  background-color: var(--border-color);
  margin: 0.5rem 0;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.mobile-lang-buttons {
  display: flex;
  gap: 0.5rem;
}

.mobile-lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--text-secondary);
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.75rem;
  cursor: pointer;
}

.mobile-lang-btn.active {
  border-color: var(--accent-color);
  background-color: rgba(87, 210, 255, 0.15);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .desktop-menu { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu.is-open { display: block; }
}

/* ==========================================================================
   Page Layout & Sections
   ========================================================================== */
.main-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 0;
  z-index: 10;
}

.page-load {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-load.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.snap-section {
  padding: 5rem 0;
}

.section-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.stagger > *, .stagger-on-load > * {
  opacity: 0;
  transform: translateY(12px);
}

.section-reveal.is-visible .stagger > *,
.page-load.is-ready .stagger-on-load > * {
  animation: stagger-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animation Delays */
.stagger > *:nth-child(1), .stagger-on-load > *:nth-child(1) { animation-delay: 100ms; }
.stagger > *:nth-child(2), .stagger-on-load > *:nth-child(2) { animation-delay: 200ms; }
.stagger > *:nth-child(3), .stagger-on-load > *:nth-child(3) { animation-delay: 300ms; }
.stagger > *:nth-child(4), .stagger-on-load > *:nth-child(4) { animation-delay: 400ms; }
.stagger > *:nth-child(5), .stagger-on-load > *:nth-child(5) { animation-delay: 500ms; }

@keyframes stagger-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.section-label {
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent-color);
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Premium Glass Cards */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px 0 rgba(2, 8, 23, 0.45);
}

.glass-card-nested {
  background: var(--card-nested-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.lift-on-hover {
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), border-color 350ms ease, box-shadow 350ms ease;
}

.lift-on-hover:hover {
  transform: translateY(-5px);
  border-color: var(--border-color-hover);
  box-shadow: 0 20px 40px rgba(2, 8, 23, 0.65), 0 0 20px rgba(87, 210, 255, 0.05);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 250ms ease;
}

/* Custom Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.accent-text { color: var(--accent-color); }
.focus-ring:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 250ms ease;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #040c1c;
  padding: 0.75rem 1.75rem;
  border: none;
}

.btn-primary:hover {
  background-color: #87e0ff;
  box-shadow: 0 0 20px rgba(87, 210, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 1.75rem;
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--text-primary);
  background: rgba(87, 210, 255, 0.05);
}

.disabled-state:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Primary Glow Button Effect */
.primary-glow {
  position: relative;
  overflow: hidden;
}
.primary-glow::after {
  content: "";
  position: absolute;
  inset: -120%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 55%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.primary-glow:hover::after {
  opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 80vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  width: 100%;
  align-items: center;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: rgba(87, 210, 255, 0.06);
  border: 1px solid rgba(87, 210, 255, 0.15);
  box-shadow: 0 0 12px rgba(87, 210, 255, 0.12);
  margin-bottom: 0.5rem;
}

.hero-headline {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.5rem;
  line-height: 1.15;
  margin-top: 1rem;
  letter-spacing: -0.03em;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-status-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.status-title {
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.status-val {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Stack Card */
.stack-card {
  padding: 1.75rem;
}

.stack-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.stack-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.stack-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
}

.stack-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-headline {
    font-size: 2.75rem;
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 1.5rem 0; /* Remove side padding to align text directly with headings */
}

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

.about-p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.skills-card {
  padding: 1.75rem;
}

.skills-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.skills-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skills-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.skills-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--accent-color);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.75rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.project-image {
  position: relative;
  height: 13rem;
  overflow: hidden;
  background-color: rgba(4, 12, 28, 0.8);
  border-bottom: 1px solid var(--border-color);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.project-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

.project-info h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tech-tag {
  font-family: "Spline Sans Mono", monospace;
  font-size: 0.7rem;
  color: var(--accent-color);
  border: 1px solid rgba(87, 210, 255, 0.2);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms ease;
}

.project-link:hover {
  color: var(--text-primary);
}

.project-link svg {
  fill: currentColor;
}

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

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rating-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.rating-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-track {
  width: 90px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(87, 210, 255, 0.1);
}

.rating-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(87, 210, 255, 0.9), rgba(125, 224, 255, 0.95));
  box-shadow: 0 0 8px rgba(87, 210, 255, 0.35);
  width: 0;
  transition: width 900ms ease;
}

/* Animate rating fill when section visible */
.section-reveal.is-visible .rating-fill {
  width: var(--rating-percent);
}

.rating-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
}

.feedback-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

.client-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-card {
  padding: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact-info-body {
  color: var(--text-secondary);
  font-size: 0.975rem;
  margin-top: 1rem;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.contact-link-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 200ms ease;
  width: fit-content;
}

.contact-link-item:hover {
  color: var(--text-primary);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-color);
  font-weight: 600;
}

.form-success-msg {
  font-size: 0.775rem;
  color: var(--success-color);
  font-weight: 600;
}

.form-error-msg {
  font-size: 0.775rem;
  color: var(--error-color);
  font-weight: 600;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input, .form-textarea {
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 250ms ease;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  background-color: rgba(13, 28, 61, 0.6);
  box-shadow: 0 0 10px rgba(87, 210, 255, 0.15);
}

.form-textarea {
  resize: vertical;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
}
