:root {
  --primary-dark: #0a0e27;
  --secondary-dark: #1a1f3a;
  --accent-gold: #d4af37;
  --accent-purple: #7c3aed;
  --text-light: #f0f0f0;
  --text-muted: #b8b8b8;
  --border-color: #2a2f47;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-light);
  background-color: var(--primary-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  background-color: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--accent-gold) !important;
  letter-spacing: 1px;
}

.brand-icon {
  margin-right: 0.5rem;
}

.nav-link {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--accent-gold) !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* HERO SECTION */
.hero-section {
  height: auto;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a2f47 100%);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Ensure hero columns are a stable side-by-side layout on medium+ screens */
@media (min-width: 768px) {
  .hero-section .container-fluid {
    height: 100%;
    display: flex;
    align-items: center; /* vertically centers the row */
    justify-content: center;
  }

  /* Make the Bootstrap grid row a non-wrapping flex container for the hero
     so the left and right columns stay side-by-side */
  .hero-section .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
  }

  /* Force equal halves while allowing the content to define a minimum width
     so the card doesn't overlap the left text. This keeps the two columns
     side-by-side and vertically centered on medium and larger screens. */
  .hero-section .row > [class*='col-'] {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 280px; /* base minimum width for columns */
    display: flex;
    align-items: center;
  }

  /* Make the left column slightly wider on medium/large screens so the big title has space */
  .hero-section .hero-left {
    min-width: 340px;
    justify-content: flex-start;
  }

  /* Right column must fit the showcase card - card width is 360px, so ensure we have space for image overflow */
  .hero-section .hero-right {
    min-width: 360px;
    justify-content: center;
  }

  .hero-section .hero-content {
    justify-content: flex-start;
    align-items: center; /* vertically center content inside column */
    height: 100%;
  }

  .hero-section .hero-visual {
    justify-content: center;
    align-items: center;
    height: 100%;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 1.5rem; /* small breathing space below the navbar */
    padding-bottom: 2rem;
  }
}

/* On smaller screens, allow rows to wrap and stack the hero columns vertically */
@media (max-width: 767.98px) {
  /* Stack columns vertically on mobile: left content on top, right visual below */
  .hero-section .row {
    flex-wrap: wrap; /* allow wrapping so columns stack */
    gap: 20px;
    overflow-x: visible;
    justify-content: center;
    padding-bottom: 12px;
  }

  .hero-section .row > [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Make left column full width and present the text in a readable centered block */
  .hero-section .hero-left {
    order: 1;
    align-items: center;
    justify-content: center;
  }

  /* Make right column (showcase card) sit below the text and center horizontally */
  .hero-section .hero-right {
    order: 2;
    align-items: center;
    justify-content: center;
  }

  .hero-section .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center; /* center-aligned text on mobile looks better */
    padding: 1.5rem 1rem;
  }

  /* Improve readability of the large headline on small screens */
  .hero-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  /* Keep card reasonably sized and centered on small screens */
  .showcase-card {
    width: clamp(260px, 78vw, 360px);
    height: auto;
    padding: 18px;
    margin: 0 auto 2rem;
  }
  /* Smaller image handling on mobile */
  .card-img {
    /* change to static so the image doesn't overflow into the left column */
    position: static;
    width: clamp(140px, 38vw, 220px);
  }

  /* Prevent decorative floating elements from overlapping the page content on small screens */
  .animated-element,
  .floating-text,
  .film-reel,
  .card-reel {
    display: none; /* hide heavy visuals on mobile to avoid overlap and improve performance */
  }

  /* Enforce stacking order so left content remains visually on top of the stacked elements */
  .hero-section .hero-left {
    z-index: 3;
    position: relative;
  }

  .hero-section .hero-right {
    z-index: 1;
    position: relative;
    margin-top: 12px; /* add slight gap after left column */
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 992px) {
  .hero-section {
    height: 100vh;
  }
}

/* HERO VISUAL ELEMENTS */
.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Left-column hero content layout */
.hero-content {
  padding: 2.5rem 2rem;
  max-width: 700px;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Move CTA under heading for large screens with small gap */
.hero-content .btn-gold {
  margin-top: 1.25rem;
}

/* Showcase card (new hero right-side card) */
.showcase-card {
  position: relative;
  width: 360px;
  height: 420px;
  border-radius: 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(7, 10, 29, 0.6);
  transform: translateZ(0) translateY(0);
  backdrop-filter: blur(8px) saturate(140%);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 80px rgba(7, 10, 29, 0.8);
}

.showcase-card::after {
  /* subtle diagonal highlight */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,175,55,0.02), rgba(124,58,237,0.02));
  mix-blend-mode: overlay;
  pointer-events: none;
}

.card-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.card-badge {
  font-weight: 700;
  color: rgba(212,175,55,0.9);
  background: rgba(0,0,0,0.15);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  box-shadow: 0 6px 22px rgba(212,175,55,0.06);
}

.card-title {
  color: var(--text-light);
  font-size: 1.25rem;
  margin: 0.25rem 0 0.5rem 0;
}

.card-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 85%;
}

.card-img {
  position: absolute;
  right: -40px;
  bottom: -55px;
  width: 260px;
  max-width: 50%;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 30px rgba(7,10,29,0.6)) saturate(110%);
  border-radius: 12px;
  opacity: 0.95;
}

.card-reel {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(212,175,55,0.15);
  position: absolute;
  left: 16px;
  bottom: 22px;
  background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.06), rgba(212,175,55,0.02));
  filter: blur(1px);
  opacity: 0.22;
  animation: spin 10s linear infinite;
}

/* Mobile hero visual container - positioned below text content on small screens */
.hero-visual-mobile-container {
  position: relative;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Fix: prevent fixed-top navbar from overlapping content on small viewports.
   We prefer computing the actual navbar height with JavaScript (see script.js),
   but provide a conservative CSS fallback if JS is disabled.
*/
@media (max-width: 991.98px) {
  body {
    /* Adjust this fallback value if your navbar seems larger on mobile */
    padding-top: 80px;
  }
}

.animated-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

/* Large gold animated circle */
.element-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.4), rgba(212, 175, 55, 0.05));
  top: 10%;
  right: 10%;
  animation-delay: 0s;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

/* Purple accent animated circle */
.element-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.3), rgba(124, 58, 237, 0.05));
  bottom: 20%;
  right: 20%;
  animation-delay: 1s;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
}

/* Smaller gold accent circle */
.element-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.05));
  top: 50%;
  right: 5%;
  animation-delay: 2s;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

/* Film reel animation */
.film-reel {
  width: 200px;
  height: 200px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 90deg,
    rgba(212, 175, 55, 0.5) 90deg 180deg,
    transparent 180deg 270deg,
    rgba(212, 175, 55, 0.5) 270deg 360deg
  );
  border: 3px solid var(--accent-gold);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: spin 8s linear infinite;
  opacity: 0.7;
}

.film-reel::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
}

/* Floating text elements */
.floating-text {
  position: absolute;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  animation: float 8s ease-in-out infinite;
  white-space: nowrap;
}

.floating-text:first-of-type {
  top: 20%;
  left: 20%;
  font-size: 1.5rem;
  animation-delay: 0s;
}

.text-2 {
  bottom: 15%;
  right: 10%;
  color: rgba(124, 58, 237, 0.3);
  animation-delay: 1.5s;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(212,175,55,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  margin-bottom: 1rem;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  animation: fadeInUp 1s ease 0.2s both;
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border: none;
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* Highlight CTA variation for dark backgrounds */
.btn-gold:active,
.btn-gold:focus {
  outline: none;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.45);
}

.btn-gold:hover {
  background-color: #e8c547;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
  color: var(--primary-dark);
}

/* SECTIONS */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

/* ABOUT SECTION */
.about-section {
  background-color: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.highlight-box {
  background-color: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 8px;
}

.highlight-box p {
  color: var(--text-light);
}

.about-image img {
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* VISION & MISSION */
.vision-mission {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.vision-card,
.mission-card {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.vision-card .card-title,
.mission-card .card-title {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.vision-card .card-text,
.mission-card .card-text {
  color: var(--text-light);
  font-size: 1.05rem;
}

.vision-text,
.mission-text {
  color: var(--accent-purple);
  font-style: italic;
  margin-top: 1rem;
}

/* SERVICES SECTION */
.services-section {
  background-color: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
}

.service-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
  border-bottom: none;
}

.service-title {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.features-list {
  list-style: none;
  padding-left: 0;
}

.features-list li {
  color: var(--text-light);
  margin-bottom: 0.8rem;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.service-item img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
  transition: transform 0.3s ease;
}

.service-item img:hover {
  transform: scale(1.05);
}

/* WHY CHOOSE US */
.why-choose-us {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-card {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CORE VALUES */
.core-values {
  background-color: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
}

.value-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid var(--border-color);
  padding: 1.8rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.value-card h4 {
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FOUNDATION SECTION */
.foundation-section {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.foundation-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.foundation-list {
  list-style: none;
  padding-left: 0;
}

.foundation-list li {
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-left: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.foundation-highlight {
  background-color: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--accent-purple);
  padding: 1.2rem;
  border-radius: 8px;
  color: var(--accent-gold);
  font-weight: 500;
}

.foundation-image img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

/* CREATIVITY SECTION */
.creativity-section {
  background-color: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
}

/* .approach-card {
  background-color: var(--primary-dark);
  border: 2px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
} */

.approach-card {
  background-color: var(--primary-dark);
  border: 2px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;              /* NEW */
  flex-direction: column;     /* NEW */
  justify-content: space-between; /* NEW */
  height: 100%;               /* works with .h-100 on parent column */
}


.approach-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.approach-number {
  font-size: 3rem;
  color: var(--accent-purple);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.approach-card h4 {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.approach-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* CONTACT SECTION */
.contact-section {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-color);
}

.contact-info {
  background-color: var(--secondary-dark);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.contact-info h4 {
  color: var(--accent-gold);
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-info p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.social-link:hover {
  color: var(--accent-purple);
  border-bottom-color: var(--accent-purple);
}

.contact-form .form-control {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  background-color: var(--secondary-dark);
  border-color: var(--accent-gold);
  color: var(--text-light);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.contact-form .form-control::placeholder {
  color: var(--text-muted);
}

/* FOOTER */
/* .footer {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
}

.footer p {
  margin: 0;
} */

/* FOOTER */
.footer {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: #ffffff; /* or a lighter custom variable */
}

.footer p {
  margin: 0;
  color: #ffffff !important; /* ensure footer <p> text is visible */
}

/* Optional: slightly dim the tagline only */
.footer p.text-muted {
  color: #b0b0b0;
}


/* ANIMATIONS */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Updated animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* RESPONSIVE - Hero visual adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

  /* Show hero visual on tablets with smaller size */
  .animated-element {
    display: block !important;
  }

  .element-1 {
    width: 200px;
    height: 200px;
    top: 5%;
    right: 5%;
  }

  .element-2 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    right: 10%;
  }

  .element-3 {
    width: 100px;
    height: 100px;
    top: 45%;
    right: 2%;
  }

  .film-reel {
    width: 150px;
    height: 150px;
    border-width: 2px;
  }

  .floating-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Mobile layout - hero visual appears below content vertically */
  .hero-visual-mobile-container {
    height: 280px;
  }

  .animated-element {
    display: block !important;
  }

  .element-1 {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 15%;
    left: auto;
  }

  .element-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: auto;
    left: 5%;
  }

  .element-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: auto;
    left: auto;
  }

  .film-reel {
    width: 120px;
    height: 120px;
    border-width: 2px;
  }

  .floating-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }
}

/* Responsive adjustments to position new showcase card on tablets & mobile */
@media (max-width: 991.98px) {
  /* Ensure the showcase card stays visible and fits in half-width columns */
  .showcase-card {
    display: flex;
    width: 46vw; /* roughly half page width with small margin */
    max-width: 260px;
    height: auto;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    box-shadow: 0 12px 30px rgba(7, 10, 29, 0.5);
    justify-content: center;
    align-items: center;
  }

  .showcase-card:hover {
    transform: none;
    box-shadow: 0 18px 40px rgba(7, 10, 29, 0.6);
  }

  .card-img { right: -18px; bottom: -28px; width: 120px; }
}

@media (max-width: 576px) {
  /* Keep title smaller to fit two-column layout on small screens */
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.05;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    max-width: 100%;
    margin-bottom: 0.75rem;
  }

  /* Extra small mobile adjustments */
  .hero-visual-mobile-container {
    height: 250px;
  }

  .animated-element {
    display: block !important;
  }

  .element-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 10%;
  }

  .element-2 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 10%;
  }

  .element-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    left: auto;
    right: 5%;
  }

  .film-reel {
    width: 100px;
    height: 100px;
    border-width: 2px;
  }

  .floating-text {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }
  /* Make the showcase card smaller and fit in half-width */
  .showcase-card {
    width: 100%;
    height: auto;
    padding: 10px;
    border-radius: 14px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 12px 30px rgba(7, 10, 29, 0.5);
  }

  .card-title {
    font-size: 0.95rem;
  }

  .card-sub {
    font-size: 0.8rem;
  }

  .card-img {
    position: absolute;
    width: 90px;
    right: 6px;
    bottom: 6px;
    transform: rotate(0deg);
    max-width: 44%;
  }

  .card-reel {
    width: 48px;
    height: 48px;
    left: 8px;
    bottom: 12px;
  }
  .hero-content { padding: 0.75rem; }
  /* Keep columns side-by-side using a compact responsive grid on tiny devices */
  .hero-section .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
  }
  .hero-section .col-6 { padding-left: 0.25rem; padding-right: 0.25rem; }
}

/* Force hero content to stack vertically on extra-small mobile */
@media (max-width: 576px) {
  .hero-section .row {
    display: block;           /* stop using grid/flex so children stack */
  }

  .hero-section .col-6 {
    width: 100%;              /* each column takes full width */
    max-width: 100%;
    display: block;
  }
}

        .service-title {
  font-size: 3rem;
  line-height: 1.1;
}
@media (max-width: 992px) {
  .service-title {
    font-size: 2.4rem;
    line-height: 1.15;
  }
}