/* ==========================================================================
   R Studio - Custom Design System (Nimo Inspired)
   ========================================================================== */

:root {
  /* Colors */
  --bg-dark: #07090e;
  --bg-card: rgba(20, 24, 33, 0.6);
  --bg-input: rgba(13, 17, 24, 0.8);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(197, 249, 66, 0.4);
  
  --text-primary: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #6b7280;
  
  --color-cyan: #C5F942;
  --color-blue: #8ECA00;
  --color-glow: rgba(197, 249, 66, 0.3);
  
  --grad-primary: linear-gradient(135deg, #C5F942 0%, #8ECA00 100%);
  --grad-dark: linear-gradient(180deg, #0d111a 0%, #07090e 100%);
  --grad-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  /* Fonts */
  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-heading: 'Syne', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-glow: 0 0 20px var(--color-glow);
}

/* ==========================================================================
   Base Reset & Layout
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1f293d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* Custom Cursor (Desktops only) */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s;
}

.custom-cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-blue);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, border-color 0.3s;
}

.custom-cursor.hover {
  width: 16px;
  height: 16px;
  background-color: var(--color-blue);
}

.custom-cursor-follower.hover {
  background-color: rgba(79, 172, 254, 0.1);
  border-color: var(--color-cyan);
  width: 55px;
  height: 55px;
}

@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-follower {
    display: none;
  }
}

/* Glassmorphism Utility */
.glass {
  background: var(--grad-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Gradient Text */
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 10px;
}

.btn-primary {
  background: var(--grad-primary);
  color: #07090e;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-glow:hover::after {
  left: 125%;
  opacity: 1;
}

.btn-outline {
  border: 1.5px solid var(--color-cyan);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  z-index: 1000;
  padding: 12px 32px;
  border-radius: 100px;
  background: rgba(13, 15, 20, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 249, 66, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header.scrolled {
  top: 14px;
  padding: 10px 28px;
  background: rgba(7, 9, 14, 0.85);
  border-color: rgba(197, 249, 66, 0.3);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 249, 66, 0.08);
}

.header .navbar {
  max-width: 100%;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background-color: var(--color-cyan);
  color: #07090e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(197, 249, 66, 0.4);
  flex-shrink: 0;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  background-color: #ffffff;
  padding: 2px;
  box-shadow: 0 0 10px rgba(197, 249, 66, 0.3);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-img {
  transform: rotate(360deg);
}

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

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  letter-spacing: 0.5px;
}

.nav-links a::after {
  content: '●';
  font-size: 6px;
  color: var(--color-cyan);
  text-shadow: 0 0 8px var(--color-cyan);
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

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

  .nav-links {
    position: fixed;
    top: 80px;
    right: 4%;
    width: 240px;
    height: auto;
    border-radius: 24px;
    background: rgba(13, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 249, 66, 0.2);
    padding: 30px;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-actions .btn-primary {
    display: none;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 140px;
  overflow: hidden;
  background: var(--grad-dark);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(197, 249, 66, 0.04) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-glow-1, .hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow-1 {
  background: var(--color-cyan);
  top: -10%;
  right: -5%;
}

.hero-glow-2 {
  background: var(--color-blue);
  bottom: -10%;
  left: -5%;
}

.hero-glow-3 {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #8b5cf6; /* deep purple glow matching screenshot */
  filter: blur(80px);
  opacity: 0.18;
  right: -5%;
  bottom: 10%;
  pointer-events: none;
  z-index: 1;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  flex-grow: 1;
}

/* Left Column Details */
.hero-left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 4.8rem;
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero-main-title .title-line-1 {
  display: inline-block;
}

.hero-main-title .award-bracket {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-cyan);
  letter-spacing: 0.5px;
  margin-left: 20px;
  vertical-align: middle;
  border: 1px solid rgba(197, 249, 66, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(197, 249, 66, 0.05);
}

.hero-main-title .title-line-2 {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 40px;
}

.play-showreel-circle {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.play-showreel-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  transition: transform 0.4s ease;
}

.play-showreel-circle:hover img {
  transform: scale(1.15);
}

.play-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-size: 1.15rem;
  text-shadow: 0 0 10px var(--color-cyan);
  z-index: 2;
}

.hero-desc-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-desc-text {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1.05rem;
  max-width: 480px;
}

.btn-hero-about {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  align-self: flex-start;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-hero-about:hover {
  background: var(--color-cyan);
  color: #07090e;
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-hero-about:hover .arrow-circle {
  background: #07090e;
  color: var(--color-cyan);
}

.arrow-circle {
  width: 22px;
  height: 22px;
  background: var(--color-cyan);
  color: #07090e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition-normal);
}

/* Right Column Visuals */
.hero-right-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 24px;
  border-radius: 32px;
  background: repeating-linear-gradient(
    90deg,
    #050608 0px,
    #0a0d14 20px,
    #171a26 40px,
    #0a0d14 60px,
    #050608 80px
  );
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  overflow: visible;
}

.hero-model-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 249, 66, 0.15);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-model-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(197, 249, 66, 0.25);
}

.hero-model-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Rotating Social Dial (Thick solid green ring with black icons) */
.rotating-social-circle {
  position: absolute;
  width: 250px;
  height: 250px;
  right: -70px;
  bottom: 30px;
  z-index: 3;
  animation: spinSocial 35s linear infinite;
  border: 28px solid var(--color-cyan);
  border-radius: 50%;
  box-sizing: border-box;
}

.rotating-social-circle:hover {
  animation-play-state: paused;
}

/* Glowing dot on the outline circle */
.glowing-dot-outline {
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  top: -46px; /* center it on the outline which is -38px offset */
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--color-cyan), 0 0 4px var(--color-cyan);
  z-index: 4;
}

/* Faint outer outlining circles */
.rotating-social-circle::before {
  content: '';
  position: absolute;
  top: -38px;
  left: -38px;
  right: -38px;
  bottom: -38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  box-sizing: border-box;
}

.rotating-social-circle::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  box-sizing: border-box;
}

@keyframes spinSocial {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.circle-svg {
  display: none; /* Hide the inline SVG border in favor of CSS border ring */
}

.social-icon-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  color: #07090e; /* Dark icons inside the green ring */
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  /* Centered exactly inside the 28px green border */
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-111px) rotate(calc(-1 * var(--angle)));
  transition: var(--transition-fast);
  cursor: pointer;
  z-index: 4;
}

.social-icon-item:hover {
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-111px) rotate(calc(-1 * var(--angle))) scale(1.2);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Deco Star */
.hero-deco-star {
  position: absolute;
  left: -50px;
  top: 35%;
  color: var(--color-cyan);
  font-size: 2.4rem;
  z-index: 1;
  animation: spinDeco 20s linear infinite;
  opacity: 0.8;
}

@keyframes spinDeco {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Client Logos Bar */
.hero-logos-bar {
  width: 100%;
  background: #040508;
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  position: relative;
  z-index: 5;
  margin-top: auto;
}

.logos-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-bar-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logos-scroll-wrapper-full {
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 8px 0;
}

.logos-scroll-wrapper-full::before,
.logos-scroll-wrapper-full::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-scroll-wrapper-full::before {
  left: 0;
  background: linear-gradient(to right, #040508 0%, rgba(4,5,8,0) 100%);
}

.logos-scroll-wrapper-full::after {
  right: 0;
  background: linear-gradient(to left, #040508 0%, rgba(4,5,8,0) 100%);
}


.logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scrollTicker 15s linear infinite;
}

@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: -0.5px;
  transition: var(--transition-fast);
}

.logo-item:hover {
  color: var(--color-cyan);
  text-shadow: 0 0 8px var(--color-cyan);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 40px;
  }
  
  .hero-main-title {
    font-size: 3.6rem;
  }
  
  .hero-right-col {
    margin-top: 20px;
  }
  
  .rotating-social-circle {
    right: -40px;
  }
}

@media (max-width: 576px) {
  .hero-main-title {
    font-size: 2.8rem;
  }
  
  .hero-main-title .award-bracket {
    display: block;
    margin-left: 0;
    margin-top: 10px;
    max-width: 230px;
  }
  
  .hero-desc-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .hero-desc-text {
    max-width: 100%;
  }
  
  .btn-hero-about {
    align-self: center;
  }
  
  .rotating-social-circle {
    display: none; /* Hide complex elements on very small screens */
  }
}



/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
  padding: 120px 0;
  position: relative;
  background-color: var(--bg-dark);
}

.container-services {
  width: 92%;
  max-width: 1480px;
  margin: 0 auto;
}

.services-header-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.services-main-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-top: 10px;
}

.services-sub-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.services-stack-container {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  padding-bottom: 120px;
}

.service-stack-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  background-color: #07090e !important; /* 100% Opaque Solid Dark Background (No bleed through!) */
  background-image: none !important;
  border: 1px solid #1c1f27;
  border-radius: 24px;
  padding: 32px 40px; /* Reduced padding to decrease height */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 110px; /* Reduced vertical spacing */
  max-width: 1200px; /* Decreased card size width */
  position: sticky;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  align-items: center;
  overflow: hidden;
}

.service-stack-card:last-child {
  margin-bottom: 0;
}

/* Alternating rotations matching the stacked paper layout */
#serviceCard1 { top: 140px; z-index: 1; transform: rotate(-1.5deg); }
#serviceCard2 { top: 140px; z-index: 2; transform: rotate(1deg); }
#serviceCard3 { top: 140px; z-index: 3; transform: rotate(-1deg); }
#serviceCard4 { top: 140px; z-index: 4; transform: rotate(1.5deg); }
#serviceCard5 { top: 140px; z-index: 5; transform: rotate(-0.5deg); }

.service-card-text {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Decreased spacing */
}

.service-card-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; /* Decreased header size */
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.service-card-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Silver round checkmark badge matching screenshot */
.service-checklist li i {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);
}

/* Premium pill button matching screenshot */
.btn-read-more {
  background: #ffffff;
  color: #07090e;
  border: none;
  padding: 8px 24px 8px 8px; /* small padding left, text padding right */
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  align-self: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-read-more .chevron-badge {
  background: #161920; /* Dark square arrow box */
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn-read-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
  background: #ffffff;
  color: #07090e;
}

.btn-read-more:hover .chevron-badge {
  transform: translateX(3px);
}

.service-card-image {
  border-radius: 20px;
  overflow: hidden;
  height: 260px; /* Fixed smaller height */
  min-height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .services-header-split {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }
  
  .service-stack-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
    position: relative;
    top: 0 !important;
    margin-bottom: 30px;
  }
  
  .service-card-image {
    min-height: 250px;
    height: 250px;
  }
}

@media (max-width: 576px) {
  .services-main-title {
    font-size: 2.4rem;
  }
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */

.portfolio-section {
  padding: 100px 0;
  background: var(--grad-dark);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--color-cyan);
  background: rgba(0, 242, 254, 0.1);
  color: var(--color-cyan);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  min-height: 200px;
}

.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px;
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(7, 9, 14, 0.95) 0%,
    rgba(7, 9, 14, 0.6) 50%,
    rgba(7, 9, 14, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-category {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.portfolio-details-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.portfolio-stat {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.portfolio-stat i {
  color: var(--color-cyan);
  margin-right: 6px;
}

.portfolio-view-btn {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  color: #07090e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

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

/* ==========================================================================
   Interactive Booking Section & Form Wizard
   ========================================================================== */

.booking-section {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.booking-glow {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.booking-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.booking-desc {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.booking-benefits {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.benefit-item {
  display: flex;
  gap: 20px;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-cyan);
  flex-shrink: 0;
}

.benefit-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.benefit-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Wizard Form */
.booking-form-container {
  border-radius: 24px;
  padding: 40px;
  position: relative;
}

.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-normal);
}

.step-indicator.active .step-num {
  background: var(--grad-primary);
  border-color: var(--color-cyan);
  color: #07090e;
  box-shadow: var(--shadow-glow);
}

.step-indicator.completed .step-num {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.step-label {
  font-size: 0.75rem;
  font-family: var(--font-display);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-indicator.active .step-label {
  color: var(--text-primary);
}

.step-line {
  flex-grow: 1;
  height: 2px;
  background: var(--border-color);
  margin-bottom: 22px; /* aligns vertically with step-num */
}

/* Form inputs & content */
.wizard-step-content {
  display: none;
  animation: fadeIn 0.4s var(--transition-normal);
}

.wizard-step-content.active {
  display: block;
}

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

.wizard-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.option-card {
  cursor: pointer;
}

.option-card input {
  display: none;
}

.option-card-inner {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: var(--transition-normal);
}

.option-card-inner i {
  font-size: 1.8rem;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.option-card input:checked + .option-card-inner {
  border-color: var(--color-cyan);
  background: rgba(0, 242, 254, 0.05);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.option-card input:checked + .option-card-inner i {
  color: var(--color-cyan);
  text-shadow: 0 0 8px var(--color-cyan);
}

.option-card-inner span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 18px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 32px;
}

.status-msg {
  padding: 14px 20px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-msg.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.status-msg.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .booking-wrapper {
    grid-template-columns: 1fr;
  }
}

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

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */

.testimonials-section {
  padding: 100px 0;
  background: var(--grad-dark);
}

.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  border-radius: 24px;
}

.testimonial-rating {
  color: #fbbf24;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-cyan);
}

.testimonial-author h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.testimonial-author p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  background: var(--color-cyan);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
  padding: 100px 0;
  background: #07090e url('/assets/space_bg.jpg') no-repeat center center;
  background-size: cover;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.15);
  color: var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-item h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.social-icon:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
  transform: translateY(-3px);
}

.contact-form-container {
  padding: 40px;
  border-radius: 24px;
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #040508 url('/assets/space_bg.jpg') no-repeat center center;
  background-size: cover;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-contact-info {
  margin-bottom: 20px;
}

.footer-contact-info p {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-info p i {
  color: var(--color-cyan);
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 249, 66, 0.08);
  border: 1px solid rgba(197, 249, 66, 0.15);
  padding: 8px 18px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.status-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  display: inline-block;
}

.footer-links h4,
.footer-social-column h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  color: #fff;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-cyan);
  padding-left: 4px;
}

/* Social icons layout */
.footer-social-icons {
  display: flex;
  gap: 12px;
}

.footer-social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.footer-social-icon-btn:hover {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  color: #07090e;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(197, 249, 66, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  color: var(--text-dark);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Project Details Modal
   ========================================================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--transition-slow);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 960px;
  border-radius: 24px;
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--transition-slow);
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-cyan);
  color: #07090e;
  border-color: var(--color-cyan);
}

.modal-body {
  overflow-y: auto;
}

.modal-media {
  background: #000;
  position: relative;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-info {
  padding: 40px;
}

.modal-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-meta-row {
  display: flex;
  gap: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-meta-row strong {
  color: var(--text-primary);
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.modal-stats h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.modal-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.modal-stat-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-cyan);
  margin-bottom: 4px;
}

.modal-stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .modal-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   About Us Section (R Studio Style with Stacking Cards)
   ========================================================================== */

.about-section {
  padding: 120px 0;
  background-color: #07090e;
  position: relative;
}

.about-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(197, 249, 66, 0.08) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  clip-path: polygon(0 0, 68% 0, 32% 100%, 0 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.about-bg-stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(197, 249, 66, 0) 0%, rgba(197, 249, 66, 0.25) 50%, rgba(197, 249, 66, 0) 100%);
  clip-path: polygon(67.8% 0, 68.2% 0, 32.2% 100%, 31.8% 100%);
  pointer-events: none;
  z-index: 2;
}

.about-wrapper-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 3;
}

/* Character fill for scroll animation */
.fill-char {
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.12s ease;
}

.fill-char.filled {
  color: #ffffff;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Left Column */
.about-left-col {
  position: sticky;
  top: 130px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.about-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-cyan);
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -1.5px;
}

.about-paragraph-1 {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-paragraph-1 strong {
  color: var(--color-cyan);
}

.about-paragraph-2 {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Founder Profile Badge */
.founder-profile-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
}

.founder-avatar-container {
  position: relative;
  width: 80px;
  height: 80px;
}

.founder-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 3;
  border: 2px solid var(--color-cyan);
}

/* Radiating Crescents */
.avatar-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 1;
}

.avatar-circles::before,
.avatar-circles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-right: 1px solid transparent;
  top: -6px;
  bottom: -6px;
  left: -12px;
  right: 12px;
  transform: rotate(-15deg);
}

.avatar-circles::after {
  top: -12px;
  bottom: -12px;
  left: -24px;
  right: 24px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
}

.founder-details {
  display: flex;
  flex-direction: column;
}

.founder-details h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.founder-details span {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.founder-socials {
  display: flex;
  gap: 10px;
}

.founder-socials a {
  font-size: 0.85rem;
  color: var(--text-dark);
}

.founder-socials a:hover {
  color: var(--color-cyan);
}

/* Get in Touch pill button */
.btn-about-contact {
  background: var(--color-cyan);
  color: #07090e;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  transition: var(--transition-normal);
  cursor: pointer;
  margin-left: auto;
}

.btn-about-contact:hover {
  background: #d2ff54;
  box-shadow: 0 0 20px rgba(197, 249, 66, 0.4);
  transform: translateY(-2px);
}

/* Right Column (Stacking Cards) */
.about-right-col {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 120px; /* leaves scrolling padding */
  align-self: stretch;
}

.about-stack-card {
  border-radius: 20px;
  padding: 35px 40px;
  margin-bottom: 160px; /* spacing between cards before they stack */
  position: sticky;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  background-color: #07090e !important; /* Opaque solid dark background (No bleed through!) */
  background-image: none !important;
  border: 1px solid #1c1f27;
  z-index: 1;
}

.about-stack-card:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 25px 60px rgba(197, 249, 66, 0.12), 0 0 30px rgba(197, 249, 66, 0.05);
  transform: translateY(-5px);
}

.about-stack-card:last-child {
  margin-bottom: 0;
}

#cardMission {
  top: 160px; /* Aligned exactly on top of each other */
  z-index: 1;
}

#cardVision {
  top: 160px;
  z-index: 2;
}

#cardCollaborate {
  top: 160px;
  z-index: 3;
}

.about-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(197, 249, 66, 0.08);
  border: 1px solid rgba(197, 249, 66, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-cyan);
  margin-bottom: 24px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-stack-card:hover .about-card-icon {
  background: var(--color-cyan);
  color: #07090e;
  border-color: var(--color-cyan);
  box-shadow: 0 0 15px rgba(197, 249, 66, 0.4);
}

.about-stack-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.about-stack-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .about-wrapper-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-left-col {
    position: relative;
    top: 0;
  }
  
  .about-stack-card {
    position: relative;
    top: 0 !important;
    margin-bottom: 30px;
  }
  
  .about-right-col {
    padding-bottom: 0;
  }
  
  .btn-about-contact {
    margin-left: 0;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .about-heading {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   Why Choose Us Section (Bento Grid Layout)
   ========================================================================== */

.why-choose-section {
  padding: 120px 0;
  position: relative;
  background: #07090e url('/assets/why_choose_bg.png') no-repeat center center;
  background-size: cover;
}

/* Why Choose Us Section - Three-Column Collage Layout */
.why-choose-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
}

.why-choose-side-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.left-col-cards {
  align-items: flex-end;
}

.right-col-cards {
  align-items: flex-start;
}

.why-choose-card {
  position: relative;
  width: 100%;
  max-width: 330px;
  background: #0d0f14;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.why-choose-card:hover {
  transform: translateY(-5px);
  border-color: #ffffff; /* Opaque white outline matching the screenshot */
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.12);
}

.card-number-bg {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.why-choose-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(197, 249, 66, 0.08);
  border: 1px solid rgba(197, 249, 66, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-cyan);
}

.card-content-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.card-content-block p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Image Collage Columns */
.why-choose-middle-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.collage-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
}

.col-right {
  transform: translateY(30px);
}

.collage-img-box {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
  background: #090a0f;
}

.collage-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.collage-img-box:hover img {
  transform: scale(1.05);
}

.img-1 { height: 260px; }
.img-2 { height: 180px; }
.img-3 { height: 200px; }
.img-4 { height: 240px; }

@media (max-width: 991px) {
  .why-choose-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .why-choose-side-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }
  
  .why-choose-card {
    max-width: 100%;
  }
  
  .why-choose-middle-collage {
    order: 3;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .col-right {
    transform: none;
  }
}

@media (max-width: 600px) {
  .why-choose-side-col {
    grid-template-columns: 1fr;
  }
  
  .why-choose-middle-collage {
    grid-template-columns: 1fr;
  }
  
  .img-1, .img-2, .img-3, .img-4 {
    height: 200px;
  }
}

/* ==========================================================================
   Circular Rotating Testimonials
   ========================================================================== */

.circular-reviews-arena {
  position: relative;
  width: 100%;
  height: 650px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Premium curved side background overlays matching the reference image */
  background: url('/assets/footer_bg.png') no-repeat center center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 24px;
}

.avatars-rotation-track {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  top: 15%; /* Push track downwards so center is lower */
}

.circular-client-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 6px solid #1a1e26; /* Thick dark-grey solid frame */
  background: #1a1e26;
  cursor: pointer;
  pointer-events: auto;
  overflow: hidden;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-320px) rotate(calc(-1 * var(--angle)));
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.circular-client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.circular-client-avatar:hover img,
.circular-client-avatar.active img {
  filter: grayscale(0%);
}

.circular-client-avatar:hover {
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-320px) rotate(calc(-1 * var(--angle))) scale(1.1);
  box-shadow: 0 12px 30px rgba(197, 249, 66, 0.2);
}

.circular-client-avatar.active {
  border-color: var(--color-cyan);
  box-shadow: 0 0 20px rgba(197, 249, 66, 0.4);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-320px) rotate(calc(-1 * var(--angle))) scale(1.12);
}

.center-testimonial-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  background: radial-gradient(circle at center, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.4) 100%);
  border-radius: 50%;
}

.quote-mark-icon {
  font-size: 5rem;
  line-height: 1;
  font-family: var(--font-heading);
  color: var(--color-cyan);
  text-shadow: 0 0 15px rgba(197, 249, 66, 0.4);
  height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.center-review-text {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.center-review-text.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.center-review-stars {
  display: flex;
  gap: 6px;
  color: var(--color-cyan);
}

.center-review-author {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.btn-more-reviews {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-more-reviews:hover {
  background: var(--color-cyan);
  color: #07090e;
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-more-reviews:hover .arrow-circle {
  background: #07090e;
  color: var(--color-cyan);
}

/* Updated pill-style "More Review" button matching reference image */
.btn-more-reviews-pill {
  background: #1a1e26;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 8px 20px 8px 8px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.btn-more-reviews-pill:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 20px rgba(197, 249, 66, 0.2);
  transform: translateY(-2px);
  color: var(--text-primary);
  background: #1a1e26;
}

.pill-arrow-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-more-reviews-pill:hover .pill-arrow-badge {
  transform: rotate(-45deg);
}

/* Testimonials header right column layout */
.testimonials-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

/* "The best reviews from·clients" heading — make the dot accent yellow */
.testimonials-main-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  color: #fff;
}

@media (max-width: 768px) {
  .circular-reviews-arena {
    height: 550px;
  }
  
  .avatars-rotation-track {
    width: 580px;
    height: 580px;
    top: 18%;
  }
  
  .circular-client-avatar {
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-260px) rotate(calc(-1 * var(--angle)));
  }
  
  .circular-client-avatar:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-260px) rotate(calc(-1 * var(--angle))) scale(1.1);
  }
  
  .circular-client-avatar.active {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-260px) rotate(calc(-1 * var(--angle))) scale(1.12);
  }
  
  .center-testimonial-content {
    max-width: 380px;
    padding: 24px;
  }
  
  .center-review-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .circular-reviews-arena {
    height: 480px;
  }
  
  .avatars-rotation-track {
    width: 440px;
    height: 440px;
    top: 20%;
  }
  
  .circular-client-avatar {
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-190px) rotate(calc(-1 * var(--angle)));
  }
  
  .circular-client-avatar:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-190px) rotate(calc(-1 * var(--angle))) scale(1.1);
  }
  
  .circular-client-avatar.active {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-190px) rotate(calc(-1 * var(--angle))) scale(1.12);
  }
  
  .center-testimonial-content {
    max-width: 280px;
    padding: 16px;
  }
  
  .center-review-text {
    font-size: 0.9rem;
  }
}


/* ==========================================================================
   FAQ & Project Inquiry Section
   ========================================================================== */
.faq-section {
  padding: 120px 0;
  background-color: #07090e;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.faq-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}

/* Left Column Form Card */
.faq-form-card {
  background: #0d0f14;
  border: 1px solid #1c1f27;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.faq-response-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.response-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
}

.faq-form-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.faq-project-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-form-group {
  position: relative;
}

.faq-project-form input[type="text"],
.faq-project-form input[type="email"],
.faq-project-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.faq-project-form input[type="text"]:focus,
.faq-project-form input[type="email"]:focus,
.faq-project-form textarea:focus {
  outline: none;
  border-bottom-color: var(--color-cyan);
}

/* Custom Checkbox */
.faq-checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.faq-checkbox-group input[type="checkbox"] {
  accent-color: var(--color-cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.faq-checkbox-group label {
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

/* Footer Section of Form */
.faq-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.support-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.support-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support-info h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.support-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.faq-submit-btn {
  background: #1c1f27;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.faq-submit-btn:hover {
  background: #252a36;
  border-color: var(--color-cyan);
  transform: translateY(-2px);
}

.btn-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* FAQ Accordion Side */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #0d0f14;
  border: 1px solid #1c1f27;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  margin-right: 20px;
  transition: color 0.3s ease;
}

.faq-item.active .faq-number {
  color: var(--color-cyan);
}

.faq-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  flex-grow: 1;
  text-align: left;
}

.faq-toggle-btn {
  background: #1c1f27;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-toggle-btn {
  transform: rotate(45deg);
  background: var(--color-cyan);
  color: #07090e;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body-content {
  padding: 0 30px 30px 60px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .faq-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Contact Section (Overhauled Design)
   ========================================================================== */
.contact-section {
  padding: 120px 0 0 0; /* no bottom padding to let the marquee sit flush at the bottom */
  background-color: #07090e;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

/* Left Side: Visual wrapper with dotted background */
.contact-visual-wrapper {
  position: relative;
}

.contact-grid-backdrop {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background-size: 30px 30px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1.5px, transparent 1.5px);
  z-index: 0;
  pointer-events: none;
}

.building-image-container {
  position: relative;
  border-radius: 24px;
  overflow: visible; /* Let overlays sit cleanly */
  box-shadow: none;
  border: none;
  aspect-ratio: 1 / 0.85; /* Slightly shorter to leave space for stats cards */
  z-index: 1;
  background: transparent;
}

.building-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keep the exact shape of the building! */
  display: block;
}

/* Solo building visual styles */
.contact-visual-composition-solo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.building-img-solo {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
  animation: logoFloating 5s ease-in-out infinite; /* Soft float animation */
}


/* Decorative backdrop dots and circles */
.deco-dot-left {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  left: 20%;
  top: 25%;
  box-shadow: 0 0 10px var(--color-cyan);
}

.deco-circle-center {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-cyan);
  border-radius: 50%;
  left: 45%;
  top: 26%;
  opacity: 0.8;
}

/* Visual layout composition */
.contact-visual-composition {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Stats Cards Grid below building */
.contact-stats-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.contact-mini-stat-card {
  background: #0d0f14;
  border: 1px solid #1c1f27;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-mini-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
}

.contact-mini-stat-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-cyan);
  margin-bottom: 4px;
}

.contact-mini-stat-card p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.25;
  margin: 0;
}

/* Overlay logo badge */
.building-logo-badge {
  position: absolute;
  bottom: 24px;
  right: -10px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(197, 249, 66, 0.4);
  z-index: 5;
  animation: logoFloating 4s ease-in-out infinite;
}

.building-logo-badge .badge-letter {
  font-family: var(--font-display);
  font-weight: 900;
}

@keyframes logoFloating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* SVG hand-drawn arrow overlay */
.building-arrow-overlay {
  position: absolute;
  bottom: 54px;
  right: 36px;
  width: 90px;
  height: 60px;
  z-index: 4;
  pointer-events: none;
}

.handdrawn-arrow-svg {
  width: 100%;
  height: 100%;
}

/* Right Side styles */
.contact-content-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-main-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 15px;
  margin-bottom: 40px;
  letter-spacing: -1px;
}

/* Social pills grid */
.social-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.social-pill-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 12px 12px 24px;
  border-radius: 40px;
  min-width: 170px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.social-pill-card:hover {
  border-color: var(--color-cyan);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(197, 249, 66, 0.1);
}

.pill-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-cyan);
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.social-pill-card:hover .pill-icon-circle {
  transform: rotate(15deg) scale(1.05);
}

.highlight-pill .pill-icon-circle {
  background: #ffffff;
}

/* Info Bar Container */
.contact-info-bar {
  background: #0d0f14;
  border: 1px solid #1c1f27;
  border-radius: 24px;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.info-bar-col {
  display: flex;
  gap: 16px;
  align-items: start;
}

.info-bar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.info-bar-text h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.info-bar-text p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Scrolling Stats Marquee Banner */
.stats-marquee-banner {
  background: #0d0f14;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.stats-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 60px;
  animation: marqueeStatsTicker 25s linear infinite;
  width: max-content;
}

.marquee-stat-item {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.marquee-stat-item strong {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-cyan);
  margin-right: 8px;
}

.marquee-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
  font-weight: 300;
}

@keyframes marqueeStatsTicker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 991px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .building-image-container {
    aspect-ratio: 1.5 / 1;
  }
  
  .contact-info-bar {
    grid-template-columns: 1fr;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact-stats-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .building-image-container {
    aspect-ratio: 1.2 / 1;
  }
  
  .building-arrow-overlay {
    right: 15px;
    bottom: 104px;
    width: 70px;
    height: 46px;
  }
  
  .building-logo-badge {
    right: -5px;
    bottom: 84px;
    width: 54px;
    height: 54px;
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .contact-stats-cards-row {
    grid-template-columns: 1fr;
  }
  
  .building-arrow-overlay {
    display: none; /* Hide arrow on tiny screens to avoid overlaps */
  }
  
  .building-logo-badge {
    right: 10px;
    bottom: 12px;
  }
}

/* ==========================================================================
   Team Member Fan-Card Section
   ========================================================================== */

.team-fan-section {
  padding: 120px 0;
  background: #07090e url('/assets/space_bg.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.team-fan-header {
  align-items: start;
}

/* Fan Slider Wrapper */
.team-fan-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  min-height: 520px;
}

/* Fan Deck */
.team-fan-deck {
  position: relative;
  width: 380px;
  height: 460px;
  perspective: 1200px;
}

/* Individual Team Card */
.team-fan-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 260px;
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transform-origin: bottom center;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.4s ease,
              opacity 0.4s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.team-fan-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.team-fan-card:hover img {
  transform: scale(1.04);
}

/* Name / Role overlay at bottom */
.team-fan-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.97) 0%, rgba(7, 9, 14, 0.5) 60%, transparent 100%);
}

.team-fan-card-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.team-fan-card-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* "+" badge on non-active cards */
.team-card-plus {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
}

.team-fan-card:not(.active-card) .team-card-plus {
  display: flex;
}

/* Navigation Arrows */
.team-fan-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(20, 24, 33, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.team-fan-arrow:hover {
  background: var(--color-cyan);
  color: #07090e;
  border-color: var(--color-cyan);
  box-shadow: 0 0 20px rgba(197, 249, 66, 0.35);
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 768px) {
  .team-fan-slider-wrapper {
    gap: 20px;
    min-height: 420px;
  }
  .team-fan-deck {
    width: 300px;
    height: 380px;
  }
  .team-fan-card {
    width: 210px;
    height: 310px;
  }
  .team-fan-arrow {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .team-fan-slider-wrapper {
    gap: 10px;
    min-height: 360px;
  }
  .team-fan-deck {
    width: 250px;
    height: 320px;
  }
  .team-fan-card {
    width: 180px;
    height: 270px;
  }
}
