
:root{
  --bg: #0f172a;
  --card: #1e293b;
  --muted: rgba(255,255,255,0.75);
  --accent1: #00e5ff;
  --accent2: #ff007a;
  --glass: rgba(255,255,255,0.06);
  --glass-strong: rgba(255,255,255,0.10);
  --max-width: 1200px;
  --nav-height: 72px;
}

/* General */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: white;
  overflow-x: hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding-top: var(--nav-height); /* account for fixed navbar */
}

/* Links */
a { color: inherit; }
img, video { display: block; max-width: 100%; }

/* ============ NAVBAR ============ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 36px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  height: var(--nav-height);
  z-index: 999;
  transition: all 0.35s ease;
}

.navbar:hover { background: rgba(15, 23, 42, 0.95); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-weight: 900;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 22px;
  letter-spacing: 0.6px;
}

.brand-text h1 { margin: 0; font-size: 16px; font-weight: 700; }
.brand-text p { margin: 0; font-size: 12px; opacity: 0.75; }

/* Desktop nav */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 8px 6px;
  transition: color 0.2s, transform 0.15s;
  display: inline-block;
}

nav a:hover { color: var(--accent1); transform: translateY(-2px); }

/* CTA */
.cta {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  padding: 8px 18px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s;
  margin-left: 18px;
  display: inline-block;
}

.cta:hover { transform: scale(1.03); box-shadow: 0 8px 26px rgba(0,0,0,0.35); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  padding: 40px 20px;
}

.video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0.32;
  z-index: -1;
  filter: saturate(1.1) contrast(1.05);
}

/* Container that sits below fixed nav (to avoid overlap) */
#move { position: relative; z-index: 1; top: 0; }

/* content wrap */
.hero-content {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  animation: fadeUp 1s ease both;
}

/* left & right */
.hero-left { flex: 1 1 560px; min-width: 280px; }
.hero-right { flex: 0 0 420px; max-width: 420px; }

/* Typography */
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent1);
  letter-spacing: 2px;
  display: inline-block;
}

.animated-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin: 10px 0 6px;
  line-height: 1.02;
  background: linear-gradient(90deg, #fff, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -300px 0; }
  100% { background-position: 300px 0; }
}

.lead {
  margin-top: 12px;
  line-height: 1.7;
  max-width: 560px;
  opacity: 0.92;
  font-size: 16px;
}

/* Buttons */
.buttons { margin-top: 20px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  background: var(--accent1);
  color: var(--bg);
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s, box-shadow 0.25s;
  display: inline-block;
}

.btn:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0, 229, 255, 0.2); }

.btn.secondary {
  background: transparent;
  border: 2px solid var(--accent1);
  color: var(--accent1);
}

/* ============ FONT PREVIEW (right) ============ */
.font-preview {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  text-align: center;
  transition: transform 0.35s;
}

.font-preview:hover { transform: translateY(-6px); }

.preview-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Make sure video fits nicely */
.font-preview video { width: 100%; height: auto; border-radius: 10px; margin-top: 12px; }

/* ============ SERVICES ============ */
.services {
  padding: 80px 20px;
  background: #111827;
  color: white;
  text-align: center;
}

.services h2 {
  font-family: 'Playfair Display';
  font-size: 32px;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 30px;
  align-items: stretch;
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: 14px;
  transition: transform 0.35s, box-shadow 0.35s;
  min-height: 160px;
}

.card h3 { margin-top: 0; margin-bottom: 8px; font-size: 20px; }
.card p { margin: 0; color: rgba(255,255,255,0.86); }

.card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(0,0,0,0.45); }

/* ============ PORTFOLIO ============ */
.portfolio {
  padding: 80px 20px;
  background: var(--bg);
  text-align: center;
}

.portfolio h2 { margin: 0; font-size: 32px; font-family: 'Playfair Display'; }
.portfolio p { margin-top: 8px; color: rgba(255,255,255,0.85); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-height: 180px;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), transparent);
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.portfolio-item:hover img,
.portfolio-item:hover video { transform: scale(1.05); }

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay { opacity: 1; }

/* ============ CONTACT ============ */
.contact {
  padding: 80px 16px;
  background: var(--bg);
  color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--max-width);
  width: 100%;
}

.contact-form {
  background: var(--glass);
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,229,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
}

.contact-form h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Inputs */
.input-group {
  opacity: 0;
  transform: translateY(28px);
  transition: all 0.7s ease;
  margin-bottom: 14px;
}

.input-group.visible { opacity: 1; transform: translateY(0); }

.from-left { transform: translateX(-60px); }
.from-left.visible { transform: translateX(0); }

.from-right { transform: translateX(60px); }
.from-right.visible { transform: translateX(0); }

.fade-in { transform: scale(0.9); }
.fade-in.visible { transform: scale(1); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: white;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent1); box-shadow: 0 6px 18px rgba(0,229,255,0.04); }

.contact-form textarea { resize: none; min-height: 120px; }

/* Submit button */
#submit-btn {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border: none;
  color: white;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  width: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 28px rgba(0,229,255,0.10);
}

#submit-btn:hover { transform: scale(1.03); box-shadow: 0 12px 40px rgba(255,0,122,0.08), 0 12px 60px rgba(0,229,255,0.06); }

/* Contact info */
.contact-info {
  background: var(--glass);
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 10px 30px rgba(0,229,255,0.04);
}

.contact-info h3 { font-size: 22px; margin-top: 0; color: var(--accent1); }
.contact-info p { margin-bottom: 10px; color: rgba(255,255,255,0.9); }

/* ============ FOOTER ============ */
.footer {
  align-items: center;
  text-align: center;
  font-size: 15px;
  padding: 18px 28px;
  background: transparent;
  color: rgba(255,255,255,0.75);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ============ RESPONSIVE ============ */

/* Large desktops */
@media (min-width: 1300px) {
  .hero-content { padding: 80px 20px; gap: 48px; }
  .animated-title { font-size: 58px; }
}

/* Medium devices / small laptops */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column; text-align: center; padding: 60px 28px; }
  .hero-right { max-width: 560px; width: 100%; margin-top: 18px; }
  .animated-title { font-size: 40px; }
  nav ul { gap: 12px; }
  .cta { margin-left: 8px; padding: 8px 14px; }
  .contact-container { grid-template-columns: 1fr; gap: 30px; }
}

/* Very small devices */
@media (max-width: 360px) {
  .animated-title { font-size: 20px; }
  .hero-right { display: block; }
  .logo { font-size: 18px; }
}

/* Accessibility & Focus */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid rgba(0,229,255,0.12);
  outline-offset: 3px;
}

/* Small tweaks */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ===== LED LOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #020617, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: loaderFade 0.8s ease forwards;
  animation-delay: 2.4s;
}

.loader-content {
  text-align: center;
  animation: flicker 2s infinite;
}

.loader-logo {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--accent1);
  text-shadow:
    0 0 10px var(--accent1),
    0 0 25px var(--accent1),
    0 0 60px rgba(0,229,255,0.9);
}

.loader-text {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Flicker animation */
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.4;
  }
}

/* Fade out loader */
@keyframes loaderFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  background: linear-gradient(135deg, #25D366, #1ebd5a);
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 800;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    0 0 20px rgba(37,211,102,0.6);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waFloat 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.55),
    0 0 30px rgba(37,211,102,0.85);
}

.wa-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #1ebd5a;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.wa-text {
  font-size: 14px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Subtle floating */
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Mobile: icon-only (clean) */
@media (max-width: 480px) {
  .whatsapp-float {
    padding: 12px;
    border-radius: 50%;
  }
  .wa-text { display: none; }
}

/* ===== MOBILE HAMBURGER MENU (FINAL) ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--accent1);
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Mobile behaviour */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 260px;
    height: calc(100vh - var(--nav-height));
    background: rgba(15,23,42,0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transition: right 0.35s ease;
    z-index: 1001;
  }

  nav ul.active {
    right: 0;
  }

  nav a {
    font-size: 16px;
    padding: 10px 8px;
  }

  /* Hide CTA on mobile */
  .cta {
    display: none;
  }
}

/* Hamburger → X animation */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  background: linear-gradient(135deg, #25D366, #1ebd5a);
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 800;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    0 0 20px rgba(37,211,102,0.6);
  z-index: 9999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: waFloat 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.55),
    0 0 30px rgba(37,211,102,0.85);
}

.wa-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #1ebd5a;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.wa-text {
  font-size: 14px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Subtle floating */
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Mobile: icon-only (clean) */
@media (max-width: 480px) {
  .whatsapp-float {
    padding: 12px;
    border-radius: 50%;
  }
  .wa-text { display: none; }
}
