:root {
  --bg-gradient: linear-gradient(to right, #fefefe 0%, #e4dcff 60%, #d5ccff 100%);
  --primary: #4d3c77;
  --soft-accent: #f3dff3;
  --highlight: #7c5fe6;
  --text-dark: #222;
  --text-light: #666;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 0.9rem;
}

html, body {
  max-width: 100%;
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.scroll-container {
  height: auto;        /* allow full page height */
  overflow-y: auto;  
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;           /* Chrome, Safari, Edge */
}

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

section, footer {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible, footer.visible {
  opacity: 1;
  transform: translateY(0);
}

footer {
  scroll-snap-align: start;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.481); /* white glassy effect */
  -webkit-backdrop-filter: blur(14px); /* Safari support */
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  gap: 8px;
}

.logo:hover {
  text-decoration: none;
}

.logo-img {
  height: 40px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

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

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

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

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

/* Mobile Menu */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.481); /* white glassy effect */
  -webkit-backdrop-filter: blur(14px); /* Safari support */
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-around;
  padding: 0.9rem 0;
  z-index: 1000;
}

.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--highlight);
  text-decoration: none;
  font-size: 0.7rem;
  gap: 0.2rem;
}

.bottom-nav .nav-item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav .nav-item:hover,
.bottom-nav .nav-item.active {
  color: var(--primary);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  width: auto;
  height: auto; 
  display: flex;
  background: linear-gradient(to right, #fefefe, #e4dcff, #d5ccff);
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  padding: 2rem 4% 1.2rem;
  position: relative;
  gap: 1.5rem;
  scroll-snap-align: start;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10rem 6%;
  width: 100%;
  max-width: 1440px;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.hero-text {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
 z-index: 2; 
}

#bgCanvas {
  height: 100%;
  width: 100%;
  display: block;
}

.hero-text h1,
.glow-text {
  font-size: 2rem;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(124, 95, 230, 0.3), 0 0 12px rgba(124, 95, 230, 0.2);
  animation: glowPulse 2.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 8px rgba(124, 95, 230, 0.4), 0 0 16px rgba(124, 95, 230, 0.2);
  }
  50% {
    text-shadow: 0 0 14px rgba(124, 95, 230, 0.5), 0 0 24px rgba(124, 95, 230, 0.3);
  }
}

.hero-text p {
  font-size: 0.90rem;
  color: var(--text-light);
  margin-top: 0.9rem;
}

.checklist {
  margin: 1rem 0;
  color: var(--highlight);
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.6;
}

.hero-text .cta-button,
.hero-text button {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: #6846c9;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(124, 95, 230, 0.3);
}

.hero-text .cta-button:hover,
.hero-text button:hover {
  background: #5332ad;
  box-shadow: 0 8px 24px rgba(124, 95, 230, 0.5);
  transform: translateY(-2px);
}

/* === HERO CANVAS === */
.hero-canvas {
  flex: 1;
  position: relative;
  max-width: 600px;
  height: 450px;
  pointer-events: none;
  overflow: visible;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0));
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 75%, rgba(0, 0, 0, 0));
}

canvas#bgCanvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
}

/* === HERO DECOR SVG === */
.hero-decor {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.hero-decor svg {
  width: 100%;
  height: 100%;
}

/* Each section fills full screen and snaps */
section {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 4%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.welcome,
#contact {
  max-width: 700px;
}

.split-services {
  align-items: stretch;
}

.split-panel-wrapper {
  flex-grow: 1;
}

.hero-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  width: 100%;
  z-index: 3;
  position: relative;
}

.hero-cards .card {
  max-width: 200px;
  text-align: center;
}

/* === CARDS === */
.cards {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  padding: 2rem 4%;
}

.card {
  flex: 1 1 220px;
  background: linear-gradient(135deg, #f2eef3 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 1rem;
  min-width: 200px;
  text-align: center;
  color: var(--text-dark);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e2d4ed;
  max-width: 320px; /* 🌟 update to allow wider stretch */
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  box-shadow: 0 4px 12px rgba(124, 95, 230, 0.3);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.85rem;
}

.card:hover {
  background: linear-gradient(135deg, var(--primary), #7c5fe6);
  color: #fff;
  transform: scale(1.03);
}

.card:hover .card-icon {
  background: #fff;
}

.card:hover .card-icon svg {
  color: var(--primary);
}

/about/
.about-unreal-vibe {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(to right, #d5ccff, #fefefe, #d5ccff, #d5ccff);
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
  box-shadow: inset 0 0 1px rgba(124, 95, 230, 0.3);
  scroll-snap-align: start;
  padding: 5rem 6%;
  z-index: 2;
}

.about-unreal-vibe canvas {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

.about-flex {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 3;
}

.about-info {
  max-width: 700px;
  z-index: 3;
}

.about-title {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  line-height: 1.3;
  font-weight: 600;
  color: #4d3fd2;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: flicker 4s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(124, 95, 230, 0.2);
}

.about-desc {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
  z-index: 3;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  line-height: 1.6;
  max-width: 100%;
  word-break: break-word;
}

.about-line h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #4d3fd2;
  text-shadow: 
    0 0 8px rgba(124, 95, 230, 0.2),
    0 0 18px rgba(124, 95, 230, 0.3);
  animation: pulseLine 3.5s ease-in-out infinite;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 4rem 5% 2rem;
  z-index: 2;
  position: relative;
}

@keyframes pulseLine {
  0%, 100% {
    text-shadow: 0 0 10px rgba(124, 95, 230, 0.3), 0 0 20px rgba(124, 95, 230, 0.2);
  }
  50% {
    text-shadow: 0 0 24px rgba(124, 95, 230, 0.4), 0 0 40px rgba(124, 95, 230, 0.25);
  }
}

/* === GRID SHIMMER LINES === */
.grid-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(180deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 30s linear infinite;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,1));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,1));
}

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

/* Animation Keyframes */
@keyframes flicker {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(124, 95, 230, 0.6); }
  40% { opacity: 0.85; text-shadow: 0 0 6px rgba(124, 95, 230, 0.3); }
  60% { opacity: 1; text-shadow: 0 0 14px rgba(124, 95, 230, 0.7); }
}

@keyframes sweep {
  0% { transform: translateX(-60%) rotateZ(15deg); }
  50% { transform: translateX(60%) rotateZ(15deg); }
  100% { transform: translateX(-60%) rotateZ(15deg); }
}

/* === SERVICES SPLIT SECTION === */
.split-services {
  padding: 5rem 4% 3rem;
  background: transparent;
}

.split-title {
  text-align: center;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.split-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.split-tab {
  padding: 0.6rem 1rem;
  background: transparent;
  border: 2px solid var(--highlight);
  color: var(--highlight);
  font-weight: 600;
  border-radius: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.split-tab.active,
.split-tab:hover {
  background: var(--highlight);
  color: #fff;
}

.split-panel-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: none;
  padding: 0;
}

.split-panel {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 0 4%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

.split-panel.active {
  left: 0;
  opacity: 1;
  pointer-events: all;
}

.split-panel.previous {
  left: -100%;
  opacity: 0;
}

.panel-left {
  flex: 1;
  animation: slideInLeft 0.5s ease both;
}

.panel-left h3 {
  font-size: 2rem;
  color: var(--highlight);
  margin-bottom: 0.8rem;
}

.panel-left p {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 800px;
  line-height: 1.5;
}

.panel-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideInRight 0.5s ease both;
}

.visual-block {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

.visual-block img {
  width: 40%;
  height: 40%;
  object-fit:contain;
}

/* === ANIMATIONS === */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* === LET'S CONNECT SECTION === */
.lets-connect {
  position: relative;
  padding: 6rem 6%;
  background: linear-gradient(to right, #d5ccff, #fefefe, #d5ccff, #d5ccff);
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
  box-shadow: inset 0 0 1px rgba(124, 95, 230, 0.3);
  overflow: hidden;
}

.lets-connect::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124,95,230,0.05) 20%, transparent 60%);
  animation: floatBG 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes floatBG {
  0% { transform: translate(0,0); }
  100% { transform: translate(10%, 10%); }
}

.lets-connect-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

/* LEFT SIDE - Info */
.lets-info {
  flex: 1;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.lets-info h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.lets-info p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.lets-contact-details p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--highlight);
  margin-bottom: 0.6rem;
}

.lets-contact-details svg {
  color: var(--highlight);
  flex-shrink: 0;
}

/* RIGHT SIDE - Form Box */
.connect-form-box {
  flex: 1;
  max-width: 400px;
  background: rgba(255,255,255,0.9);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(124, 95, 230, 0.15);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.4s;
}

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

.connect-form input,
.connect-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d9d2f0;
  border-radius: 14px;
  font-size: 0.95rem;
  outline: none;
  background: #faf9ff;
  transition: border 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.connect-form input:hover,
.connect-form textarea:hover {
  box-shadow: 0 4px 15px rgba(124, 95, 230, 0.15);
  transform: translateY(-2px);
}

.connect-form input[required] {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><text x="6" y="9" text-anchor="middle" fill="%23e74c3c" font-size="14" font-weight="bold">*</text></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) 50%;
  padding-right: 30px;
}

.connect-form textarea[required] {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><text x="6" y="9" text-anchor="middle" fill="%23e74c3c" font-size="14" font-weight="bold">*</text></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) 20px;
  padding-right: 30px;
}

.connect-form input:focus,
.connect-form textarea:focus {
  border-color: var(--highlight);
  box-shadow: 0 0 0 3px rgba(124, 95, 230, 0.2);
}

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

.connect-form button {
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--highlight), #5e47d5);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(124, 95, 230, 0.3);
}

.connect-form button:hover {
  background: linear-gradient(135deg, #5e47d5, var(--highlight));
  transform: translateY(-2px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ADVANCED FOOTER === */
.site-footer {
  background: linear-gradient(to right, #f5f2ff, #ece7ff); /* subtle gradient */
  color: var(--text-dark);
  padding: 4rem 8% 2rem;
  border-top: 1px solid rgba(124, 95, 230, 0.15);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}

/* Decorative background shimmer */
.site-footer::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(124, 95, 230, 0.06) 0%, transparent 70%);
  z-index: 0;
  animation: footerFloat 12s ease-in-out infinite alternate;
}
@keyframes footerFloat {
  0% { transform: translate(0,0); }
  100% { transform: translate(5%, 5%); }
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.site-footer h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.site-footer h4 {
  font-size: 1.2rem;
  color: var(--primary);
  border-bottom: 1.5px solid var(--primary);
  display: inline-block;
  padding-bottom: 1px;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer-about {
  max-width: 400px;
}

.footer-about p {
  color: var(--text-light);
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Links */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.footer-links a::before {
  content: "›";
  margin-right: 8px;
  color: var(--highlight);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--highlight);
  transform: translateX(5px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(3px);
}

/* Contact */
.footer-contact address {
  font-style: normal;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
  padding-top: 1.2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 2;
}

/* ===Footer RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem; /* tight, modern spacing */
    padding: 0.05rem 0.05rem; /* reduce side spacing */
  }

  .footer-about h3 {
    font-size: 1.7rem; /* bigger brand */
    font-weight: 700;
    margin-bottom: 0.3rem;
  }

  .footer-about p {
    font-size: 0.7rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.6rem;
  }

  .footer-links h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
  }

  .footer-links a {
    font-size: 0.80rem;
    margin: 0;
    transition: transform 0.15s ease, color 0.15s ease;
  }

  .footer-links a:hover {
    transform: translateY(-1.5px);
    color: #ff7700; /* subtle accent */
  }

  .footer-contact {
    margin-top: 0.4rem;
  }

  .footer-contact h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
  }

  .footer-contact address {
    font-size: 0.7rem;
    line-height: 1.4;
  }
}


/* === TABLET STYLES === */
@media (max-width: 1024px) {
  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 4rem 6% 2rem;
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
  }
  .hero-text h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .hero-canvas {
    height: 400px;
    max-width: 100%;
  }

  /* Split services */
  .split-panel {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    height: auto;
    padding: 2rem;
  }
  .visual-block img {
    width: 60%;
    height: auto;
  }

  /* Contact */
  .lets-connect-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .connect-form-box {
    width: 100%;
    max-width: 100%;
  }
}

/* Hide bottom nav on desktop by default */
.bottom-nav {
  display: none;
}

/* Show bottom nav only on mobile & tablets */
@media (max-width: 1024px) {
  .bottom-nav {
    display: flex;
  }
}

/* === MOBILE STYLES === */
@media (max-width: 768px) {

  body {
    font-size: 0.85rem;
  }
  .site-header {
    padding: 0.8rem 4%;
  }
  .main-nav {
    display: none; /* Bottom nav will handle it */
  }

  section {
    height: auto;  
    min-height: 100vh;      
  }

  .hero-canvas,
  #bgCanvas {
    display: none !important; /* cancel out the canvas */
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 5vw, 3rem);
  }

  .hero-content {
    padding: 2rem 1rem;
  }

.hero-text h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.7;
}

.hero-text p {
  font-size: clamp(0.9rem, 2.5vw, 1.25rem);
  margin-bottom: clamp(0.5rem, 2vw, 1.5rem);
}

.checklist {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  text-align: center; /* center checkpoints */
  margin: clamp(1.2rem, 2.5vw, 1.5rem) 0;
  line-height: 1.6;
}

.company-desc {
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  line-height: 1.6;
  margin: clamp(1rem, 3vw, 2rem) auto;
  max-width: 700px; /* keeps it readable on wide screens */
  text-align: center; /* center instead of justify */
}

.cta-button {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  border-radius: clamp(10px, 2vw, 16px);
  margin-top: clamp(1rem, 3vw, 2rem);
}

  /* === ABOUT SECTION === */
  .about-unreal-vibe {
    padding: clamp(1rem, 5vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
    border-radius: 0;
    text-align: center;
  }

  .about-flex {
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.2rem);
  }

  .about-title {
    font-size: clamp(1rem, 4vw, 1.4rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: clamp(0.4rem, 2vw, 0.6rem);
    color: var(--primary);
  }

  .about-desc {
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    line-height: 1.5;
    max-width: 85%;
    margin: 0 auto clamp(0.8rem, 3vw, 1rem);
    color: var(--text-light);
  }

  /* === CARDS SUPER-COMPACT ON MOBILE === */
  .hero-cards {
    flex-wrap: nowrap;           
    overflow-x: auto;   
    flex-direction: column;  
    align-items: center;         
    gap: clamp(0.4rem, 2vw, 0.8rem);
    padding: clamp(0.4rem, 2vw, 0.8rem) 0;
    justify-content: flex-start;
    scrollbar-width: none;       
  }
  .hero-cards::-webkit-scrollbar {
    display: none;               
  }

  .hero-cards .card {
    flex: 0 0 clamp(110px, 28vw, 150px);  /* dynamic small cards */
    max-width: clamp(110px, 28vw, 150px);
    padding: clamp(0.6rem, 2vw, 1rem);
    border-radius: clamp(10px, 3vw, 14px);
  }

  .hero-cards .card h3 {
    font-size: clamp(0.75rem, 2.2vw, 0.9rem);
    margin-bottom: clamp(0.2rem, 1vw, 0.4rem);
  }

  .hero-cards .card p {
    font-size: clamp(0.65rem, 2vw, 0.8rem);
    line-height: 1.3;
  }

  .card-icon {
    width: clamp(28px, 7vw, 36px);
    height: clamp(28px, 7vw, 36px);
    margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
  }

  .card-icon svg {
    width: clamp(16px, 5vw, 20px);
    height: clamp(16px, 5vw, 20px);
  }

  /* Split services */
  .split-services{
    border-radius: 0;
     padding: clamp(1rem, 5vw, 2.5rem) clamp(1rem, 4vw, 1.5rem);
  }
  .split-panel {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }

.split-title {
  margin-top: clamp(3rem, 6vw, 6rem);   /* responsive top space */
  text-align: center;
}
  .panel-left h3 {
    font-size: 1.2rem;
  }
  .panel-left p {
    font-size: 0.75rem;
  }

  .panel-right{
margin-bottom: clamp(3rem, 6vw, 6rem);
  }
  
  .visual-block img {
    width: clamp(100px, 40%, 90px);
    height: auto;
  }
  .split-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

/* Contact */
  .lets-connect {
    padding: clamp(2rem, 6vw, 4rem) clamp(4%, 6vw, 6%);
  }
  .lets-info h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    font-weight: 700;
  }
  .lets-info p {
    font-size: clamp(0.75rem, 3vw, 0.95rem);
    line-height: 1.6;
    margin-bottom: clamp(1rem, 4vw, 2rem);
  }
  .lets-contact-details p {
    display: flex;
    align-items: center;
    gap: clamp(0.3rem, 2vw, 0.8rem);
    margin-bottom: clamp(0.5rem, 3vw, 1rem);
  }
  .lets-contact-details svg {
    width: clamp(18px, 5vw, 26px);
    height: clamp(18px, 5vw, 26px);
  }
  .lets-contact-details span {
    font-size: clamp(0.85rem, 3vw, 1rem);
    font-weight: 700;
  }

.connect-form-box {
  width: min(100%, 480px);              /* narrower box */
  margin-inline: auto;
  padding: clamp(1rem, 4vw, 1.5rem);    /* less padding */
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(124, 95, 230, 0.25);
}

.connect-form {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 2vw, 0.8rem);  /* smaller gap between fields */
}

.connect-form input,
.connect-form textarea {
  width: 100%;
  font-size: clamp(0.75rem, 2vw, 0.9rem);  /* smaller text */
  padding: clamp(0.55rem, 1.8vw, 0.8rem) clamp(0.8rem, 2.5vw, 1rem);
  border-radius: 10px;
}

.connect-form textarea {
  min-height: 80px;   /* shorter textarea */
  resize: vertical;
}

.connect-form button {
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  padding: clamp(0.6rem, 2vw, 0.8rem);
  border-radius: 12px;
}
}