/* ============================================================
   REEL REFIX — Bootstrap 5 Enhanced CSS
   All Bootstrap utilities handle grid/spacing; this file
   handles brand-specific styles, animations, and overrides.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-dark: #000000;
  --color-charcoal: #1a1a1a;
  --color-accent: #00b4d8;
  --color-accent-light: #48cae4;
  --color-light: #f5f5f0;
  --color-white: #ffffff;
  --color-gray: #4a4a4a;
  --color-border: #d4d4d0;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0.5rem;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { font-size: clamp(0.95rem, 2vw, 1.1rem); line-height: 1.7; color: var(--color-gray); }

/* ── Page Visibility ── */
.page { display: none; }
.page.active { display: block; }

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  z-index: 1050;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.navbar-brand img { width: clamp(110px, 18vw, 170px); height: auto; }

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-charcoal) !important;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--color-accent) !important; }
.nav-link:hover::after { width: 100%; }

/* Hamburger */
.navbar-toggler { border: none; padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile nav overlay */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1040;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .navbar-collapse.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
    margin-top: 200px;
  }
  .navbar-nav { text-align: center; gap: 0.5rem; }
  .navbar-nav .nav-link { font-size: 1.25rem; padding: 0.6rem 1.5rem !important; }
  .navbar-toggler { position: relative; z-index: 1060; }
}

/* ── Buttons ── */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.85rem 2rem;
  font-size: 1rem;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,180,216,0.3);
}
.btn-outline-dark {
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--color-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--color-accent);
  border: none;
  font-weight: 700;
}
.btn-light:hover {
  background: var(--color-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ── Section Tag ── */
.section-tag {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

/* ── Hero Section ── */
.hero-section {
  min-height: 0vh;
  padding-top: 90px;
  background: linear-gradient(135deg, #f5f5f0 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0,180,216,0.07) 100%);
  pointer-events: none;
}
.hero-content { animation: fadeInUp 1s ease-out; }
.hero-content h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 500; }

/* ── Scrolling Card Grid (Hero Right) ── */
.hero-right {
  height: 85vh;
  display: flex;
  gap: 10px;
  overflow: hidden;
  position: relative;
  animation: fadeRight 1s 0.3s ease both;
}
.hero-right::before,
.hero-right::after {
  content: '';
  position: absolute; left: 0; right: 0; z-index: 10; pointer-events: none;
}
.hero-right::before {
  top: 0; height: 80px;
  background: linear-gradient(to bottom, #f5f5f0 20%, transparent);
}
.hero-right::after {
  bottom: 0; height: 80px;
  background: linear-gradient(to top, #ffffff 20%, transparent);
}
.mcol { display: flex; flex-direction: column; gap: 10px; flex: 1; overflow: hidden; }
.mcol-inner { display: flex; flex-direction: column; gap: 10px; }
.mcol-inner img { border-radius: 12px; width: 100%; object-fit: cover; }
.mcol:nth-child(1) .mcol-inner { animation: mUp 15s linear infinite; }
.mcol:nth-child(2) .mcol-inner { animation: mDown 15s linear infinite; }
.mcol:nth-child(3) .mcol-inner { animation: mUp 15s linear infinite; }

@keyframes mUp   { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes mDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

.mcard {
  border-radius: 12px; overflow: hidden;
  flex-shrink: 0; position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer; height: 300px;
}
.mcard img { width: 100%; height: 100%; object-fit: cover; }
.mcard:hover { transform: scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,0.3); z-index: 20; }

@media (max-width: 991.98px) {
  .hero-right { height: 55vw; min-height: 280px; max-height: 480px; }
  .mcol:nth-child(3) { display: none; }
}
@media (max-width: 575.98px) {
  .hero-right { display: none; }
}

/* ── Creator Growth (realminds) ── */
.realminds-section {
  background: #0e0e0e;
  color: #fff;
  padding: 64px 0 80px;
}
.realminds-section h2 { color: #fff; text-align: center; }
.eyebrow {
  font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.6s 0.1s forwards;
  text-align: center;
}

/* Dark cards */
.dark-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  min-height: 200px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}
.dark-card:hover {
  background: #222;
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,168,255,0.1);
}
.dark-card--featured {
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0;
  background: #111; min-height: 400px;
}
.dark-card--featured .photo-area {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px 0; overflow: hidden;
}
.blob {
  position: absolute; width: 200px; height: 200px;
  background: var(--color-accent); border-radius: 60% 40% 55% 45%/50% 55% 45% 50%;
  top: 30px; left: 50%; transform: translateX(-45%);
  filter: blur(2px); transition: transform 0.5s, filter 0.5s; z-index: 0;
}
.dark-card--featured:hover .blob { transform: translateX(-45%) scale(1.08); filter: blur(4px); }
.dark-card--featured .card-body {
  padding: 20px 24px 28px;
  border-top: 1px solid #2a2a2a;
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s, border-color 0.3s;
}
.card-icon svg {
  width: 20px; height: 20px; stroke: #a0a0a0;
  fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke 0.3s;
}
.dark-card:hover .card-icon svg { stroke: var(--color-accent); }
.dark-card .card-title { font-family: var(--font-display); font-size: 1rem; color: #fff; font-weight: 400; margin-bottom: 10px; }
.dark-card .card-desc  { font-size: 0.9rem; color: #a0a0a0; line-height: 1.6; }
.card-arrow {
  position: absolute; bottom: 20px; right: 20px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.7) rotate(-45deg);
  transition: opacity 0.3s, transform 0.3s;
}
.dark-card:hover .card-arrow { opacity: 1; transform: scale(1) rotate(0deg); }
.card-arrow svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }

/* ── Marquee ── */
.marquee { overflow: hidden; padding: 20px 0; width: 100%;}
.marquee-track {
  display: inline-flex;
  animation: scrollLeft 28s linear infinite;
}
@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cardnew {
  width: clamp(160px, 22vw, 240px);
  height: clamp(260px, 35vw, 380px);
  margin: 0 10px; border-radius: 15px;
  overflow: hidden; position: relative;
  flex-shrink: 0; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
}
.cardnew img, .cardnew video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cardnew-title {
  position: absolute; top: 12px; left: 12px;
  color: #fff; font-size: clamp(12px, 2vw, 17px);
  font-weight: 700; text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.cardnew:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(0,0,0,0.2); }


/* ── Problem-Solution ── */
.problem-section { background: var(--color-dark); }
.problem-section h2, .problem-section p { color: rgba(255,255,255,0.85); }
.problem-section h2 { color: #fff; }
.ps-img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  transition: transform 0.4s, box-shadow 0.4s;
  display: block;
}
.ps-img:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(0,0,0,0.3); }

/* ── Service Cards ── */
.service-card {
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--color-accent);
  transition: height var(--transition);
}
.service-card:hover::before { height: 100%; }
.service-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); transform: translateY(-5px); }
.service-card img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.service-card h3, .service-card h4 { color: var(--color-dark); }
.service-features { list-style: none; padding: 0; margin-top: 0.75rem; }
.service-features li {
  padding: 0.35rem 0; color: var(--color-gray);
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem;
}
.service-features li::before { content: '✓'; color: var(--color-accent); font-weight: 700; flex-shrink: 0; }

/* ── Stats ── */
.stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; font-family: var(--font-display);
  color: var(--color-accent);
}
.stat-label { color: var(--color-gray); font-weight: 600; font-size: 0.9rem; }

/* ── Portfolio ── */
.portfolio-section { background: var(--color-light); }
.portfolio-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  transition: var(--transition);
 
  width: 100%;
  background: #e0e0e0;
}
.portfolio-item video,
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-item:hover { transform: scale(1.02); box-shadow: 0 15px 50px rgba(0,0,0,0.15); }
.portfolio-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff; transform: translateY(20px);
  opacity: 0; transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { transform: translateY(0); opacity: 1; }
.portfolio-overlay h4 { color: #fff; margin-bottom: 0.25rem; }
.portfolio-overlay p { color: rgba(255,255,255,0.9); font-size: 0.88rem; }

/* Tall portfolio item for featured row */
.portfolio-item-tall { height: clamp(320px, 50vw, 560px); }

/* ── Testimonials ── */
.testimonial-card {
  padding: 1.5rem; height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.testimonial-stars { color: #fbbf24; font-size: 1.2rem; margin-bottom: 0.75rem; }
.testimonial-text { font-style: italic; color: var(--color-charcoal); font-size: 0.95rem; line-height: 1.6; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testimonial-info h4 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.testimonial-info p { font-size: 0.82rem; color: var(--color-gray); margin: 0; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

/* ── Page Hero ── */
.page-hero {
  padding: clamp(100px, 15vw, 160px) 0 4rem;
  background: linear-gradient(135deg, #f5f5f0 0%, #ffffff 100%);
  text-align: center;
}

/* ── Service Detail Page ── */
.service-sidebar {
  background: var(--color-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  position: sticky;
  top: 90px;
}
.sidebar-item { margin-bottom: 1.5rem; }
.sidebar-item h4 { margin-bottom: 0.4rem; }
.sidebar-item p { font-size: 0.95rem; margin: 0; }

/* ── Process Steps ── */
.process-number {
  width: 56px; height: 56px;
  border-radius: 50%; background: var(--color-accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
  margin: 0 auto 1rem; font-family: var(--font-display);
}
.process-step { text-align: center; padding: 1.5rem; }

/* ── Contact ── */
.contact-info-box {
  background: var(--color-light);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.contact-info-item { margin-bottom: 1.5rem; }
.contact-info-item h4 { margin-bottom: 0.4rem; }
.contact-info-item a { color: var(--color-accent); font-weight: 600; text-decoration: none; }

.form-label { font-weight: 600; font-size: 0.95rem; color: var(--color-dark); }
.form-control, .form-select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
textarea.form-control { min-height: 140px; }

/* ── Footer ── */
footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.75rem; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: 0.4rem; font-size: 0.9rem; transition: color var(--transition); }
footer a:hover { color: var(--color-accent); }
footer p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem; text-align: center;
  color: rgba(255,255,255,0.45); font-size: 0.85rem;
}

/* ── Animations ── */
@keyframes fadeInUp  { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeRight { from { opacity:0; transform:translateX(60px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeUp    { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }

/* ── Scroll-reveal utility ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Misc ── */
.bg-light-custom { background: var(--color-light) !important; }
.text-accent { color: var(--color-accent) !important; }
.border-accent { border-color: var(--color-accent) !important; }
.rounded-custom { border-radius: var(--radius) !important; }




