/* ================================================
   AURORA – Modern Digital Experience Website
   style.css
   ================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:     #4f46e5;
  --primary-light: #818cf8;
  --primary-dark: #3730a3;
  --accent:      #22c55e;
  --accent-glow: rgba(34,197,94,.25);
  --dark:        #111827;
  --dark2:       #1f2937;
  --dark3:       #374151;
  --light:       #f9fafb;
  --muted:       #9ca3af;
  --white:       #ffffff;
  --glass-bg:    rgba(17,24,39,.55);
  --glass-border:rgba(255,255,255,.08);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 8px 32px rgba(0,0,0,.28);
  --shadow-glow: 0 0 40px rgba(79,70,229,.35);
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --font-display:'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;
  --font-mono:   'Space Mono', monospace;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--light);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--muted); font-size: 1rem; }

/* ---------- Utility Classes ---------- */
.text-primary  { color: var(--primary-light) !important; }
.text-accent   { color: var(--accent) !important; }
.text-white    { color: var(--white) !important; }
.text-muted    { color: var(--muted) !important; }
.bg-dark2      { background: var(--dark2); }
.bg-dark3      { background: var(--dark3); }
.section-pad   { padding: 100px 0; }
.section-pad-sm{ padding: 60px 0; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
  display: block;
}
.section-title {
  color: var(--white);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 0;
}

/* ---------- Gradient Text ---------- */
.grad-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn-aurora {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}
.btn-aurora-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(79,70,229,.4);
}
.btn-aurora-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,70,229,.55);
  color: var(--white);
}
.btn-aurora-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-aurora-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-2px);
}
.btn-aurora-accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-aurora-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34,197,94,.45);
  color: var(--dark);
}

/* ====================================================
   NAVBAR
   ==================================================== */
#mainNav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
  background: transparent;
}
#mainNav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  padding: .7rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -.03em;
  color: var(--white);
}
.nav-logo span { color: var(--accent); }
.navbar-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .02em;
  color: rgba(255,255,255,.75) !important;
  padding: .4rem .85rem !important;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 60%; }
.navbar-toggler { border: 1px solid rgba(255,255,255,.2); }
.navbar-toggler-icon { filter: invert(1); }

/* ====================================================
   HERO SECTION
   ==================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover no-repeat;
  transform: scale(1.08);
  transition: transform 12s ease;
}
#hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(17,24,39,.92) 0%,
    rgba(79,70,229,.35) 60%,
    rgba(17,24,39,.75) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-heading {
  color: var(--white);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp .8s .55s forwards;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp .8s .75s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .95s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
}

/* Particle dots */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-particles span {
  position: absolute;
  width: 2px; height: 2px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

/* ====================================================
   ABOUT PREVIEW
   ==================================================== */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform .6s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-badge {
  position: absolute;
  bottom: 1.5rem; right: -1.5rem;
  background: var(--primary);
  color: var(--white);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.about-img-badge strong { font-size: 2rem; display: block; line-height: 1; }
.about-img-badge span { font-size: .78rem; opacity: .8; }
.about-text .list-check li {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .6rem;
}
.about-text .list-check li i { color: var(--accent); font-size: .85rem; }

/* ====================================================
   SERVICES SECTION
   ==================================================== */
.service-card {
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(79,70,229,.2), 0 0 0 1px var(--primary);
  border-color: var(--primary);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-size: 1.35rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(79,70,229,.3);
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.1); }
.service-card h4 { color: var(--white); margin-bottom: .6rem; }
.service-card p  { font-size: .92rem; margin: 0; }

/* ====================================================
   GALLERY PREVIEW
   ==================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(79,70,229,.7), transparent);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
}

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonial-card {
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.testimonial-stars { color: #fbbf24; margin-bottom: 1rem; font-size: .9rem; }
.testimonial-card blockquote {
  color: rgba(255,255,255,.85);
  font-size: .97rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.4rem;
}
.testimonial-card blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--primary-light);
  line-height: 1;
  display: block;
  margin-bottom: .3rem;
  font-style: normal;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.testimonial-author strong { color: var(--white); font-size: .93rem; display: block; }
.testimonial-author span  { color: var(--muted); font-size: .8rem; }

/* ====================================================
   STATS BAR
   ==================================================== */
.stats-bar {
  background: var(--dark2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 60px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-number span { color: var(--accent); }
.stat-label { color: var(--muted); font-size: .87rem; }

/* ====================================================
   FOOTER
   ==================================================== */
footer {
  background: #0a0f1a;
  border-top: 1px solid var(--glass-border);
  padding: 70px 0 30px;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--accent); }
.footer-desc { color: var(--muted); font-size: .9rem; max-width: 260px; }
.footer-heading {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: var(--muted);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: .75rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  margin-top: 50px;
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { margin: 0; font-size: .83rem; color: var(--muted); }

/* ====================================================
   PAGE HERO (inner pages)
   ==================================================== */
.page-hero {
  padding: 170px 0 90px;
  background: linear-gradient(135deg, var(--dark) 0%, #1a1040 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-title { color: var(--white); }
.page-hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 480px; }
.breadcrumb-item a { color: var(--primary-light); }
.breadcrumb-item.active { color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.mission-card {
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  height: 100%;
  transition: transform var(--transition);
}
.mission-card:hover { transform: translateY(-5px); }
.mission-icon {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}
.mission-card h3 { color: var(--white); margin-bottom: .75rem; }

.team-card {
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(79,70,229,.2);
}
.team-img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.team-card:hover .team-img-wrap img { transform: scale(1.06); }
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(79,70,229,.75), transparent);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.2rem;
  transition: opacity var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-social { display: flex; gap: .5rem; }
.team-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: .85rem;
  transition: background var(--transition);
}
.team-social a:hover { background: var(--accent); }
.team-info { padding: 1.4rem; }
.team-info h4 { color: var(--white); margin-bottom: .25rem; }
.team-info span { color: var(--accent); font-size: .85rem; font-family: var(--font-mono); }

/* ====================================================
   SERVICES PAGE
   ==================================================== */
.service-full {
  padding: 70px 0;
  border-bottom: 1px solid var(--glass-border);
}
.service-full:last-child { border-bottom: none; }
.service-full-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
}
.service-full-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-full-img:hover img { transform: scale(1.05); }
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(79,70,229,.15);
  border: 1px solid rgba(79,70,229,.3);
  color: var(--primary-light);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .8rem;
  font-family: var(--font-mono);
  margin-bottom: 1rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .7rem;
}
.service-list li i { color: var(--accent); margin-top: .2rem; flex-shrink: 0; }
.price-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ====================================================
   GALLERY PAGE
   ==================================================== */
.filter-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .45rem 1.3rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .88rem;
  cursor: pointer;
  border: 1.5px solid var(--glass-border);
  background: transparent;
  color: var(--muted);
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.masonry-grid {
  columns: 3;
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.masonry-item img { width: 100%; display: block; transition: transform .5s ease; }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(79,70,229,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay i { font-size: 1.8rem; color: var(--white); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 42px; height: 42px;
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--primary); }

/* ====================================================
   CONTACT PAGE
   ==================================================== */
.contact-info-card {
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: transform var(--transition);
}
.contact-info-card:hover { transform: translateX(5px); }
.contact-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-info-card h5 { color: var(--white); font-size: 1rem; margin-bottom: .3rem; }
.contact-info-card p  { font-size: .9rem; margin: 0; }

.contact-form-wrap {
  background: var(--dark2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-floating label { color: var(--muted); font-size: .9rem; }
.form-control, .form-select {
  background: var(--dark3) !important;
  border: 1.5px solid var(--glass-border) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: .85rem 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(79,70,229,.2) !important;
  outline: none;
}
.form-control::placeholder { color: var(--muted); }
.form-label { color: rgba(255,255,255,.7); font-size: .9rem; margin-bottom: .45rem; }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-error { color: #f87171; font-size: .8rem; display: none; margin-top: .3rem; }
.form-error.show { display: block; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--glass-border);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: grayscale(1) invert(1) brightness(.8); }

/* ====================================================
   SCROLL REVEAL
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .34s; }
.reveal-delay-4 { transition-delay: .46s; }
.reveal-delay-5 { transition-delay: .58s; }
.reveal-delay-6 { transition-delay: .70s; }

/* ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50%       { opacity: 1; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Typing cursor */
.typed-cursor {
  display: inline-block;
  width: 3px;
  background: var(--accent);
  animation: blink .75s step-end infinite;
  margin-left: 3px;
  vertical-align: bottom;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}

/* ====================================================
   BACK TO TOP
   ==================================================== */
#backToTop {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 4px 20px rgba(79,70,229,.4);
}
#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: auto; }
  .masonry-grid { columns: 2; }
  .about-img-badge { right: 0; }
}
@media (max-width: 767px) {
  .section-pad { padding: 70px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .masonry-grid { columns: 2; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .masonry-grid { columns: 1; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
