/* ==========================================================================
   NAVBAR COMPONENT
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: rgba(32, 41, 48, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  width: 30px;
  height: 24px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  transition: var(--transition-fast);
}

.menu-toggle span:nth-child(1) {
  top: 2px;
}

.menu-toggle span:nth-child(2) {
  top: 11px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--navbar-height) 2rem 2rem 2rem;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  text-align: center;
}

.mobile-nav-link {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mobile-nav-link.active {
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.15s, height 0.15s, background-color 0.15s;
}

.custom-cursor-circle {
  width: 28px;
  height: 28px;
  border: 1px solid var(--text-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.25s, height 0.25s, border-color 0.25s, background-color 0.25s;
}

.custom-cursor-dot.hovered {
  width: 8px;
  height: 8px;
  background-color: var(--accent-availability);
}

.custom-cursor-circle.hovered {
  width: 48px;
  height: 48px;
  border-color: var(--accent-availability);
  background-color: rgba(34, 197, 94, 0.05);
}

/* ==========================================================================
   MARQUEE STRIPS
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
  padding: 1.5rem 0;
  display: flex;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  animation: marquee-scroll 28s linear infinite;
  gap: 2rem;
}

.marquee-text {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   BROWSER MOCKUP Frame
   ========================================================================== */
.browser-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(32, 41, 48, 0.25);
  transition: var(--transition-smooth);
}

.browser-mockup-header {
  background-color: var(--bg-dark);
  height: 34px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-default);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dot.red {
  background-color: #FF5F57;
}

.browser-dot.yellow {
  background-color: #FFBD2E;
}

.browser-dot.green {
  background-color: #28C840;
}

.browser-mockup-body {
  height: clamp(200px, 30vw, 320px);
  position: relative;
  overflow: hidden;
  background-color: var(--bg-card);
}

.browser-mockup-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CSS Gradient Fallback System for project cards - Wireframe Empty Boxes */
.browser-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 1.5rem !important;
  position: relative;
  overflow: hidden;
}

.browser-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

.wireframe-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0.7;
}

.wireframe-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding-bottom: 6px;
  margin-bottom: 0.8rem;
}

.wireframe-nav::before {
  content: "";
  width: 20px;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1px;
}

.wireframe-nav::after {
  content: "";
  width: 40px;
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
}

.wireframe-hero {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
}

.wireframe-title {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  text-align: left;
}

.wireframe-line {
  height: 5px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.wireframe-line.long {
  width: 80%;
}

.wireframe-line.short {
  width: 45%;
}

.wireframe-btn {
  width: 60px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  margin-top: 4px;
}

/* Custom wireframe gradients */
.proj-grad-1 {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* DIIMS - slate */
.proj-grad-2 {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

/* JQ Sports - dark grey */
.proj-grad-3 {
  background: linear-gradient(135deg, #1c3d31 0%, #0d1e18 100%);
}

/* First Bloom - dark green */
.proj-grad-4 {
  background: linear-gradient(135deg, #382c47 0%, #1e1526 100%);
}

/* Little Garden - dark purple */
.proj-grad-5 {
  background: linear-gradient(135deg, #2d3250 0%, #181c30 100%);
}

/* YBBA - dark indigo */
.proj-grad-6 {
  background: linear-gradient(135deg, #4a2c3a 0%, #29151e 100%);
}

/* 3Palz - dark rose */
.proj-grad-7 {
  background: linear-gradient(135deg, #2c444e 0%, #16242c 100%);
}

/* School ERP - dark teal */
.proj-grad-8 {
  background: linear-gradient(135deg, #3e3d32 0%, #22221b 100%);
}

/* EEG App - dark olive */


/* Hover effects for project mockups */
.browser-mockup:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 25px 50px rgba(32, 41, 48, 0.4);
}

/* ==========================================================================
   PROJECT ROWS (Index List Style)
   ========================================================================== */
.project-list-section {
  display: flex;
  flex-direction: column;
}

.project-row {
  display: block;
  border-bottom: 1px solid var(--border-default);
  padding: 2.5rem 0;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.project-row-inner {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.project-row-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.project-row-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.project-row-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

.project-row-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.project-row-arrow {
  color: var(--text-primary);
  font-size: 1.75rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-row:hover {
  background-color: var(--bg-card);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.project-row:hover .project-row-arrow {
  transform: translateX(10px);
}

/* Floating Mockup Preview on Row Hover */
.project-row .browser-mockup {
  display: none;
  position: absolute;
  width: 420px;
  z-index: 10;
  pointer-events: none;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Asymmetric 2-Column Grid (work.html) */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3.5rem;
}

/* Asymmetric alignments */
.projects-grid .project-card:nth-child(even) {
  margin-top: clamp(2rem, 6vw, 6rem);
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(32, 41, 48, 0.15);
  transition: var(--transition-smooth);
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(32, 41, 48, 0.3);
}

.project-card-info {
  margin-top: 1.5rem;
}

.project-card-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.project-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.project-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.project-card-link {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.project-card-link span {
  transition: transform 0.3s ease;
}

.project-card:hover .project-card-link span {
  transform: translateX(5px);
}

/* ==========================================================================
   TESTIMONIALS COMPONENT
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
  background-color: #0b0b0c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  --mouse-x: -999px;
  --mouse-y: -999px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Float content in 3D perspective */
.testimonial-card>div {
  transform: translateZ(30px);
  position: relative;
  z-index: 2;
}

/* Background Spotlight Layer */
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

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

/* Quote Mark Watermark */
.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 1.2rem;
  right: 2.2rem;
  font-size: 8.5rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: rgba(255, 255, 255, 0.015);
  font-weight: 900;
  transition: color 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

/* Card-specific Spotlight & Hover glow styling */

/* 1. Mriganka Gogoi (3 Palz) - Amber/Gold Glow */
.testimonial-card:nth-child(1)::before {
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(245, 158, 11, 0.09) 0%, rgba(239, 68, 68, 0.03) 50%, transparent 80%);
}

.testimonial-card:nth-child(1):hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 45px rgba(245, 158, 11, 0.12), 0 4px 15px rgba(0, 0, 0, 0.5);
  background-color: rgba(11, 11, 12, 0.95);
}

.testimonial-card:nth-child(1):hover::after {
  color: rgba(245, 158, 11, 0.06);
  transform: translateY(-8px) scale(1.1);
}

.testimonial-card:nth-child(1):hover .client-info-name {
  color: #F59E0B;
}

/* 2. Jeeseha (YBBA) - Electric Blue/Teal Glow */
.testimonial-card:nth-child(2)::before {
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(6, 182, 212, 0.09) 0%, rgba(59, 130, 246, 0.03) 50%, transparent 80%);
}

.testimonial-card:nth-child(2):hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 45px rgba(6, 182, 212, 0.12), 0 4px 15px rgba(0, 0, 0, 0.5);
  background-color: rgba(11, 11, 12, 0.95);
}

.testimonial-card:nth-child(2):hover::after {
  color: rgba(6, 182, 212, 0.06);
  transform: translateY(-8px) scale(1.1);
}

.testimonial-card:nth-child(2):hover .client-info-name {
  color: #06B6D4;
}

/* 3. Aren Jamir (JQ Sports) - Crimson/Violet Glow */
.testimonial-card:nth-child(3)::before {
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(239, 68, 68, 0.09) 0%, rgba(139, 92, 246, 0.03) 50%, transparent 80%);
}

.testimonial-card:nth-child(3):hover {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.12), 0 4px 15px rgba(0, 0, 0, 0.5);
  background-color: rgba(11, 11, 12, 0.95);
}

.testimonial-card:nth-child(3):hover::after {
  color: rgba(239, 68, 68, 0.06);
  transform: translateY(-8px) scale(1.1);
}

.testimonial-card:nth-child(3):hover .client-info-name {
  color: #EF4444;
}

.stars-row {
  display: flex;
  gap: 6px;
  margin-bottom: 1.6rem;
}

.stars-row svg {
  width: 18px;
  height: 18px;
  fill: rgba(255, 255, 255, 0.25);
  transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover .stars-row svg {
  fill: #F59E0B;
  transform: scale(1.15) rotate(6deg);
}

/* Stagger star scale animations slightly on card hover */
.stars-row svg:nth-child(1) {
  transition-delay: 0s;
}

.stars-row svg:nth-child(2) {
  transition-delay: 0.03s;
}

.stars-row svg:nth-child(3) {
  transition-delay: 0.06s;
}

.stars-row svg:nth-child(4) {
  transition-delay: 0.09s;
}

.stars-row svg:nth-child(5) {
  transition-delay: 0.12s;
}

.quote-text {
  font-size: 1.08rem;
  font-weight: 400;
  color: #B0B9C0;
  line-height: 1.65;
  margin-bottom: 2.2rem;
  transition: color 0.4s ease;
}

.testimonial-card:hover .quote-text {
  color: #FFFFFF;
}

.client-info-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
  transition: color 0.4s ease;
}

.client-info-role {
  font-size: 0.85rem;
  color: #7A838A;
  margin-top: 0.25rem;
  transition: color 0.4s ease;
}

.testimonial-card:hover .client-info-role {
  color: #B0B9C0;
}

/* ==========================================================================
   CONTACT TEASER SECTION
   ========================================================================== */
.contact-teaser {
  background-color: var(--bg-dark);
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
  border-top: 1px solid var(--border-default);
}

.contact-teaser-heading {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  cursor: pointer;
}

.contact-teaser-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--text-primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-teaser-heading:hover::after {
  width: 100%;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.pill-badge {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.availability-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-availability);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-availability);
  animation: pulse-dot 2s infinite;
}

.btn-pill-social {
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition-fast);
}

.btn-pill-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-pill-social:hover {
  background-color: var(--text-primary);
  color: var(--bg-dark);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER — Majd-style
   ========================================================================== */
.footer {
  background-color: #0d0d0d;
  padding: 0;
  border-top: none;
  overflow: hidden;
  position: relative;
}

/* Same grain texture as the rest of the site */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  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.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

/* Make sure footer content sits above the grain */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 2.5vw, 2rem) 0;
}

/* ── TOP ROW: 3 columns ── */
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  margin-bottom: 0;
  align-items: end;
}

/* LEFT: big heading */
.footer-tagline {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  color: #faf7f3;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

/* MIDDLE & RIGHT: col label */
.footer-col-label {
  font-size: 1.25rem;
  font-weight: 500;
  color: #faf7f3;
  margin-bottom: 1.4rem;
  letter-spacing: 0.01em;
}

/* ── Quick links: 2x2 grid ── */
.footer-nav-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 0.4rem 0.5rem;
  padding: 0;
  margin: 0;
}

.footer-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid #faf7f3;
  background: #faf7f3;
  overflow: hidden;
  transition: color 0.32s ease, border-color 0.32s ease;
  text-decoration: none;
  cursor: pointer;
}

/* sliding dark fill on hover */
.footer-nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #111;
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform 0.36s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.footer-nav-links a span {
  position: relative;
  z-index: 1;
}

.footer-nav-links a:hover::before {
  transform: translateY(0);
}

.footer-nav-links a:hover {
  color: #faf7f3;
  border-color: #faf7f3;
}

/* ── Contact column ── */
@media (min-width: 901px) {
  .footer-top .footer-col:nth-child(2) {
    justify-self: center;
  }

  .footer-top .footer-col:last-child {
    justify-self: end;
  }
}

.footer-email-link {
  display: block;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: rgba(250, 247, 243, 0.7);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.footer-email-link:hover {
  color: #faf7f3;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 243, 0.25);
  color: rgba(250, 247, 243, 0.7);
  overflow: hidden;
  transition: color 0.32s ease, border-color 0.32s ease;
  text-decoration: none;
}

.footer-social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #faf7f3;
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform 0.36s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.footer-social-link svg {
  position: relative;
  z-index: 1;
}

.footer-social-link:hover::before {
  transform: translateY(0);
}

.footer-social-link:hover {
  color: #111;
  border-color: #faf7f3;
}

/* ── WATERMARK ── */
.footer-watermark {
  font-family: var(--font-sans);
  font-size: clamp(8rem, 25vw, 34rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.72;
  text-align: center;
  color: #1c1c1c;
  /* solid dark charcoal */
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  text-transform: uppercase;
  margin-top: clamp(2rem, 5vw, 4rem);
  margin-bottom: -5vw;
  /* pull letters down to clip at the bottom */
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-heading {
    grid-column: 1 / -1;
  }
}

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

  .footer-tagline {
    font-size: clamp(2.8rem, 10vw, 3.8rem);
  }

  .footer-tagline span {
    white-space: normal !important;
  }

  .footer-col-label {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .footer-nav-links a {
    font-size: 0.95rem;
    padding: 0.45rem 1.1rem;
  }
}



/* ==========================================================================
   CONTACT FORM & CONTACT PAGE STYLES
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  margin-top: 3rem;
}

.contact-button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-button-row svg.icon-left {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-button-row svg.arrow-right {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.contact-button-row:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-2px);
}

.contact-button-row:hover svg.arrow-right {
  transform: translateX(6px);
}

/* ── Contact two-col layout ───────────────────── */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-left {
  position: sticky;
  top: 6rem;
  /* stays visible while scrolling form */
}

.contact-right {
  width: 100%;
}

@media (max-width: 900px) {
  .contact-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-left {
    position: static;
  }
}

.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 45px rgba(32, 41, 48, 0.25);
  position: relative;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background-color: var(--bg-card-hover);
  border: 1px solid var(--border-hover);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-fast);
  outline: none;
  cursor: none;
}

.form-select option {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--text-primary);
  background-color: var(--bg-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-form-submit {
  width: 100%;
  background-color: var(--text-primary);
  color: var(--bg-dark);
  border: none;
  padding: 1.2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-form-submit:hover {
  background-color: var(--text-secondary);
}

.form-success-message {
  display: none;
  background-color: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--accent-availability);
  color: var(--accent-availability);
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .projects-grid .project-card:nth-child(even) {
    margin-top: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {

  .custom-cursor-dot,
  .custom-cursor-circle {
    display: none !important;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .project-row-inner {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .project-row .browser-mockup {
    display: block !important;
    position: static !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 1.2rem;
    pointer-events: auto !important;
  }

  .project-row-right {
    display: none;
  }

  .project-row {
    display: flex;
    flex-direction: column;
  }

  .project-row:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   FLOATING BOTTOM NAVIGATION DOCK (HOMETAB) - MOVED TO TOP
   ========================================================================== */
.floating-dock {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-dock-item {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border-radius: 50%;
  transition: var(--transition-fast);
  cursor: none;
}

.floating-dock-item svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-dock-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.floating-dock-item:hover svg {
  transform: scale(1.1);
}

.floating-dock-item.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Tooltip names displaying below the floating nav bar */
.floating-dock-item::after {
  content: attr(data-label);
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.floating-dock-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .floating-dock {
    top: 16px;
    bottom: auto;
    padding: 6px 8px;
    gap: 4px;
  }

  .floating-dock-item {
    width: 42px;
    height: 42px;
  }

  .floating-dock-item::after {
    display: none;
    /* Hide tooltips on mobile */
  }
}

/* ==========================================================================
   OFFER SUMMARY BOXES (3-column row) — Premium Dark Cards
   ========================================================================== */
.offer-boxes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.offer-box {
  background-color: #0b0b0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.4rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.offer-box:hover {
  transform: translateY(-6px);
  background-color: #121215;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15), 0 20px 40px rgba(0, 0, 0, 0.8);
}

.offer-box-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 0.4rem;
  flex-shrink: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.offer-box:hover .offer-box-icon {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.offer-box-icon svg {
  width: 20px;
  height: 20px;
}

.offer-box-label {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.offer-box-desc {
  font-size: 0.88rem;
  color: #b0b9c0;
  line-height: 1.65;
  font-weight: 400;
}

/* ==========================================================================
   SOLUTIONS CARD GRID (2×3) — Premium Dark Cards
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.solution-card {
  background-color: #0b0b0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.solution-card:hover {
  transform: translateY(-8px);
  background-color: #121215;
}

/* Color-specific hover glows based on category badges inside cards */
.solution-card:has(.badge-business):hover {
  border-color: #4ade80;
  box-shadow: 0 0 25px rgba(74, 222, 128, 0.25), 0 24px 50px rgba(0, 0, 0, 0.8);
}

.solution-card:has(.badge-education):hover {
  border-color: #60a5fa;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.25), 0 24px 50px rgba(0, 0, 0, 0.8);
}

.solution-card:has(.badge-healthcare):hover {
  border-color: #2dd4bf;
  box-shadow: 0 0 25px rgba(45, 212, 191, 0.25), 0 24px 50px rgba(0, 0, 0, 0.8);
}

.solution-card:has(.badge-ecommerce):hover {
  border-color: #facc15;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.25), 0 24px 50px rgba(0, 0, 0, 0.8);
}

.solution-card:has(.badge-management):hover {
  border-color: #c084fc;
  box-shadow: 0 0 25px rgba(192, 132, 252, 0.25), 0 24px 50px rgba(0, 0, 0, 0.8);
}

.solution-card:has(.badge-automation):hover {
  border-color: #fb923c;
  box-shadow: 0 0 25px rgba(251, 146, 60, 0.25), 0 24px 50px rgba(0, 0, 0, 0.8);
}

/* Card body wrapper (padding adjusted to balance top height since arrow is removed) */
.solution-card-body {
  padding: 2.2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
  position: relative;
}

.solution-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.solution-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #666666;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: color 0.3s ease;
}

.solution-card:hover .solution-num {
  color: #999999;
}

.solution-title {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
}

.solution-desc {
  font-size: 0.875rem;
  color: #b0b9c0;
  line-height: 1.65;
  font-weight: 400;
  flex-grow: 1;
}

/* Large watermark number */
.solution-watermark {
  position: absolute;
  bottom: 1rem;
  right: 1.4rem;
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.018);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-sans);
  transition: color 0.35s ease;
}

.solution-card:hover .solution-watermark {
  color: rgba(255, 255, 255, 0.035);
}

.solution-footer {
  padding: 1rem 2rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

/* Pill badge overrides for dark card context */
.solution-footer .pill-badge {
  font-size: 0.7rem;
  transition: all 0.3s ease;
}

/* Category-specific styling for the badges */
.pill-badge.badge-business {
  color: #4ade80;
  background-color: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.15);
}

.solution-card:hover .badge-business {
  background-color: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.3);
}

.pill-badge.badge-education {
  color: #60a5fa;
  background-color: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.15);
}

.solution-card:hover .badge-education {
  background-color: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
}

.pill-badge.badge-healthcare {
  color: #2dd4bf;
  background-color: rgba(45, 212, 191, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.15);
}

.solution-card:hover .badge-healthcare {
  background-color: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.3);
}

.pill-badge.badge-ecommerce {
  color: #facc15;
  background-color: rgba(250, 204, 21, 0.06);
  border: 1px solid rgba(250, 204, 21, 0.15);
}

.solution-card:hover .badge-ecommerce {
  background-color: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.3);
}

.pill-badge.badge-management {
  color: #c084fc;
  background-color: rgba(192, 132, 252, 0.06);
  border: 1px solid rgba(192, 132, 252, 0.15);
}

.solution-card:hover .badge-management {
  background-color: rgba(192, 132, 252, 0.12);
  border-color: rgba(192, 132, 252, 0.3);
}

.pill-badge.badge-automation {
  color: #fb923c;
  background-color: rgba(251, 146, 60, 0.06);
  border: 1px solid rgba(251, 146, 60, 0.15);
}

.solution-card:hover .badge-automation {
  background-color: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.3);
}

/* Responsive: offer boxes */
@media (max-width: 900px) {
  .offer-boxes-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .offer-boxes-row {
    gap: 0.85rem;
  }
}

/* Responsive: solutions grid */
@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}