/* ============================================
   SERANI DIGITAL — Main Stylesheet
   Premium AI Studio Portfolio
   ============================================ */

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

:root {
  --bg: #0a0a0b;
  --bg-2: #111114;
  --bg-3: #16161a;
  --fg: #f5f5f7;
  --fg-2: #a1a1aa;
  --fg-3: #71717a;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.15);
  --accent: #1E40AF;
  --accent-2: #3B82F6;
  --accent-3: #06B6D4;
  --gradient: linear-gradient(135deg, #ffffff 0%, #3B82F6 60%, #06B6D4 100%);
  --gradient-2: linear-gradient(135deg, #1E40AF 0%, #06B6D4 100%);
  --shadow: 0 20px 60px rgba(30, 64, 175, 0.25);
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] {
  --bg: #fafafa;
  --bg-2: #ffffff;
  --bg-3: #f4f4f5;
  --fg: #18181b;
  --fg-2: #52525b;
  --fg-3: #a1a1aa;
  --border: rgba(0, 0, 0, 0.08);
  --border-2: rgba(0, 0, 0, 0.15);
  --shadow: 0 20px 60px rgba(139, 92, 246, 0.12);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  cursor: none;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== Custom Cursor ===== */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
}

.cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s;
}

.cursor.hover .cursor-ring {
  width: 80px; height: 80px;
  border-color: var(--accent);
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0s;
}

.preloader.hide {
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.85, 0, 0.15, 1), visibility 0s 0.3s;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2rem;
}


@keyframes pulse-glow {
  from { text-shadow: 0 0 10px rgba(6,182,212,0.2); }
  to { text-shadow: 0 0 20px rgba(6,182,212,0.8), 0 0 30px rgba(139,92,246,0.6); }
}

.logo-text {
  animation: pulse-glow 1s infinite alternate;
  display: block;
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}

.logo-text::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #fff;
  clip-path: inset(0 100% 0 0);
  animation: revealText 1.5s var(--ease) forwards;
}

.logo-text:last-child::before {
  animation-delay: 0.3s;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes revealText {
  to { clip-path: inset(0 0 0 0); }
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 2px;
}

.preloader-bar span {
  display: block;
  height: 100%;
  background: var(--gradient);
  width: 0%;
  transition: width 0.3s ease;
}

.preloader-percent {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 100;
  padding: 1rem 2rem;
  border-radius: 100px;
  background: rgba(10, 10, 11, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  top: 1rem;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text-nav {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.logo-text-nav .accent {
  color: var(--accent-1);
}

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

.nav-link {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

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

.nav-link.active {
  color: var(--fg);
}

.nav-cta {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--fg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

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

/* ===== Three.js Canvas ===== */
.three-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* ===== Page Transition ===== */
.page-transition {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9998;
  transform: translateY(100%);
  pointer-events: none;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--fg-2);
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
  opacity: 0.4;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2); opacity: 0; }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: slideUp 1s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) .word { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) .word { animation-delay: 0.2s; }
.hero-title .line:nth-child(3) .word:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(3) .word:nth-child(2) { animation-delay: 0.4s; }

@keyframes slideUp {
  to { transform: translateY(0); }
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.italic {
  font-style: italic;
  font-family: 'Syne', serif;
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--fg-2);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-subtitle strong {
  color: var(--fg);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  cursor: none;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-2);
}

.btn-ghost:hover {
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.25rem;
  font-size: 1rem;
}

.btn i {
  transition: transform 0.3s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat .plus {
  color: var(--accent);
  font-weight: 600;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--fg-3);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mouse {
  width: 24px; height: 38px;
  border: 1.5px solid var(--fg-3);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 3px; height: 8px;
  background: var(--fg-3);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheel 1.5s ease infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===== Marquee ===== */
.marquee-section {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

.marquee-track .dot {
  color: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Sections Common ===== */
.section {
  padding: 8rem 2rem;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-head {
  max-width: 800px;
  margin-bottom: 5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 600px;
}

/* ===== Reveal animations ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.5s var(--ease);
  overflow: hidden;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  background: var(--bg-3);
  box-shadow: var(--shadow);
}

.service-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  color: var(--fg-3);
  margin-bottom: 2rem;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--fg-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-tags li {
  padding: 0.25rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--fg-2);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  transition: gap 0.3s var(--ease);
}

.service-link:hover {
  gap: 1rem;
}

/* ===== Showcase List ===== */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.showcase-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  cursor: none;
}

.showcase-item:last-child {
  border-bottom: 1px solid var(--border);
}

.showcase-item:hover {
  padding-left: 3rem;
  background: var(--bg-2);
}

.showcase-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  color: var(--fg-3);
}

.showcase-info h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.showcase-info p {
  color: var(--fg-2);
  font-size: 0.9375rem;
}

.showcase-tags {
  display: flex;
  gap: 0.5rem;
}

.showcase-tags span {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: var(--fg-2);
}

.showcase-arrow {
  width: 56px; height: 56px;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.125rem;
  transition: all 0.4s var(--ease);
}

.showcase-item:hover .showcase-arrow {
  background: var(--fg);
  color: var(--bg);
  transform: rotate(-45deg);
}

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  padding: 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.process-num {
  font-family: 'Space Mono', monospace;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.process-step h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.process-step p {
  color: var(--fg-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ===== Testimonials ===== */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.testimonial-card p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
}

.testimonial-author strong {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--fg-3);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 4rem 2rem;
}

.cta-block {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  position: relative;
}

.cta-desc {
  font-size: 1.125rem;
  color: var(--fg-2);
  margin-bottom: 2.5rem;
  position: relative;
}

/* ===== Footer ===== */
.footer {
  padding: 6rem 2rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col p {
  color: var(--fg-2);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 1.5rem 0;
  max-width: 320px;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.footer-col a, .footer-col span {
  color: var(--fg-2);
  font-size: 0.9375rem;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--fg); }

.socials {
  display: flex;
  gap: 0.75rem;
}

.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.socials a:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--fg-3);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dot-pulse {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ===== Magnetic buttons helper ===== */
.magnetic {
  transition: transform 0.3s var(--ease);
}

@media (max-width: 1150px) {
  .navbar { width: 95%; padding: 0.8rem 1rem; }
  .nav-menu { gap: 1rem; }
  .nav-link { font-size: 0.85rem; }
  .logo-text-nav { font-size: 1.1rem; }
  .logo-mark-svg { width: 32px; height: 32px; }
}

@media (max-width: 1024px) {
  .services-grid,
  .testimonial-slider {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body { cursor: auto; overflow-x: hidden; }
  .page-transition-wrap { overflow-x: hidden; max-width: 100vw; }
  .navbar { width: 96%; padding: 0.75rem 1rem; }
  .logo-text-nav { font-size: 1.1rem; }
  .logo-mark-svg { width: 32px; height: 32px; }
  .theme-toggle, .menu-toggle { width: 40px; height: 40px; }
  .cursor { display: none; }
  .nav-menu {
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.4s var(--ease);
    gap: 1.5rem;
  }
  .nav-menu.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .showcase-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .showcase-arrow { display: none; }
  .services-grid,
  .testimonial-slider,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 5rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 3rem; }
}
/* ===== Realistic Images Styles ===== */
.card-image-wrap {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .card-image-wrap img,
.showcase-item:hover .card-image-wrap img {
  transform: scale(1.05);
}

.about-image {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.founder-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
}
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .grid-2-col { grid-template-columns: 1fr; }
}

/* ===== Responsive Grid Fixes ===== */
.grid-2-col-responsive { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-2-col-uneven { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.grid-3-col-responsive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: center; }
.grid-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 1024px) {
  .grid-3-col-responsive { grid-template-columns: repeat(2, 1fr); }
  .grid-2-col-uneven { gap: 2rem; }
}
@media (max-width: 768px) {
  .grid-2-col-responsive, 
  .grid-2-col-uneven, 
  .grid-3-col-responsive, 
  .grid-contact-form {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  .hero-title { font-size: 2.5rem !important; line-height: 1.2 !important; }
  .section-title { font-size: 2rem !important; line-height: 1.2 !important; }
}

/* Mobile Navbar Fixes */
@media (max-width: 768px) {
  .navbar {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    padding: 1rem 1.5rem;
  }
  .nav-menu {
    top: 4rem; /* Adjusted for new navbar height */
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 90%;
  max-width: 600px;
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}
.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fg-2);
}
.cookie-buttons {
  display: flex;
  gap: 1rem;
}
.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.cookie-accept {
  background: var(--fg);
  color: var(--bg);
}
.cookie-accept:hover {
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}
.cookie-decline {
  background: transparent;
  color: var(--fg-2);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-decline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--fg);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    text-align: center;
    bottom: 1rem;
  }
}

/* ===== Missing UI Controls (Toggles) ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.theme-toggle, .menu-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--fg);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.theme-toggle:hover, .menu-toggle:hover {
  background: var(--fg);
  color: var(--bg);
}

/* Hamburger Icon Animation */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: all 0.3s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Theme Toggle Icon */
.theme-toggle i { font-size: 1.2rem; }
[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .theme-toggle:hover {
  background: var(--fg);
  color: var(--bg);
}

@media (max-width: 768px) {
  body, html {
    overflow-x: hidden;
  }
  .menu-toggle { display: flex; }
  .navbar {
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    padding: 0.75rem 1rem !important;
  }
  .nav-container {
    width: 100%;
    justify-content: space-between;
  }
  .logo-text-nav {
    font-size: 1rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .theme-toggle, .menu-toggle {
    width: 40px;
    height: 40px;
  }
}
