/* Add your existing CSS here */
html,
body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

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


*,
*::before,
*::after {
  max-width: 100% !important;
}

/* GLOBAL FIX: Remove unwanted top gap on all devices */
.mobile-header {
  display: none;
  position: fixed;
  top: 0 !important;
  left: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
  width: 100%;
  z-index: 999999 !important;
  background-color: #000 !important;
  /* solid black */
  backdrop-filter: none;
  border-bottom: none;
}


body {
  background: #000;
  color: #fff;
  margin-top: 0 !important;
  padding-top: 80px !important;
  /* Space for fixed header */
}





/* Header Styling */
header {
  position: fixed;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 99999;
  /* Ensure it stays on top */
  transition: background-color 0.3s ease-in-out;
  /* Smooth transition */
  box-shadow: none !important;
  /* No shadow */
}

header.nav-menu-wrapper {
  position: fixed;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  border-bottom: 1px solid transparent;
}


/* Scrolled state: Apple-like Frosted Glass Effect */
header.nav-menu-wrapper.scrolled,
.mobile-header.scrolled {
  background-color: rgba(10, 10, 10, 0.72) !important;
  /* Dark tinted glass */
  backdrop-filter: blur(40px) saturate(180%) !important;
  /* Apple-style blur */
  -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  /* Subtle separator */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure default state is clean */
header.nav-menu-wrapper,
.mobile-header {
  background-color: #161613 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
}


/* Default state: transparent background */
header.nav-menu-wrapper::before {
  content: none !important;
  display: none !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  box-shadow: none !important;
  /* No shadow */
}


/* Scrolled state: solid background */
header.nav-menu-wrapper.scrolled::before {
  background-color: transparent !important;
  /* adjust opacity for glass darkness */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  /* No shadow */
}


header.nav-menu-wrapper::after {
  content: none !important;
  display: none !important;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


/* Default transparent background */
header.nav-menu-wrapper.bg-transparent {
  background-color: transparent !important;
  /* Transparent */
  transition: background-color 0.3s ease-in-out;
  box-shadow: none;
  /* No shadow */
  background-color: transparent !important;
  /* Default is transparent */
}

/* Solid black background when scrolled */
header.nav-menu-wrapper.bg-dark {
  background-color: #161613;
  /* Solid black */
  height: 100px;
  /* Adjust height of the background */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Ensure it spans the full width */
  z-index: 9999;
  transition: background-color 0.3s ease-in-out;
  box-shadow: none;
  /* No shadow */
}



/* --- Specific Component Styles for About Page (Owled Replica) --- */

/* Circular Masks & Borders */
.about-circle-mask {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 243, 226, 0.2);
  /* light/20 */
  position: absolute;
  /* Centering logic handled by Tailwind classes in HTML, but ensuring shape here */
}

/* Icon Circles */
.icon-circle-wrapper {
  position: relative;
  width: 30vw;
  height: 30vw;
  max-width: 150px;
  max-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #FFF3E2;
  /* primary */
  border-radius: 50%;
}

/* Pulse Rings for Icons */
.icon-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #FFF3E2;
}

/* Text Styling */
.about-text-content {
  color: #FFF3E2;
  text-align: center;
  font-family: 'Satoshi', sans-serif;
}

/* Mobile Swiper Overrides */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

/* Ensure noise background is fixed and covers everything */
.noise-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  object-fit: cover;
}

/* Navigation Menu Wrapper Styles */
.nav-menu-wrapper {
  background-color: none !important;
  top: 0 !important;
  /* Forces the background to start at the top */
  transition: background-color 0.3s ease;
  overflow-x: hidden !important;
  overflow: visible;
  max-height: none !important;
}

.nav-menu-wrapper.scrolled {
  background-color: rgba(0, 0, 0, 0) !important;
  box-shadow: none;
}


/* Navigation Menu Wrapper */
.nav-menu-wrapper {
  position: fixed;
  /* Adjust to work within header */
  top: 0 !important;
  /* Fix to the top */
  left: 0;
  z-index: 99999;
  /* High stacking context */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none !important;
  /* No shadow */
  background-color: transparent;
  /* Transparent initially */
  overflow: visible !important;
  max-height: none !important;
  pointer-events: none !important;
  /* Allow clicks to pass through */
}



/* Navigation Menu Container */
.nav-menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  top: 0 !important;
  margin: 0 auto;
  padding: 1em 300px;
  /* Align with footer text */
  overflow-x: hidden !important;
  overflow: visible !important;
  max-height: none !important;
  box-shadow: none !important;
  /* No shadow */
  flex-wrap: wrap !important;
}


/* prevent nav from becoming scrollable */
.nav-menu-wrapper::-webkit-scrollbar,
.nav-menu-container::-webkit-scrollbar {
  display: none !important;
}


/* Logo Section */
.navbar-logo img {
  position: static !important;
  left: auto !important;
  /* Adjust this value if needed */
  top: 50%;
  /* Center it vertically */
  transform: none !important;
  /* Keep it centered */
  width: 50px;
  height: auto;
  pointer-events: auto !important;
  /* Re-enable clicks on logo */
}



/* Menu Items */
.menu-items {
  display: flex;
  position: relative;
  z-index: 10;
  /* Ensure other menu items are above the dropdown */
  list-style: none;
  gap: 2em;
  margin: 0;
  padding: 0;
  flex-wrap: wrap !important;
  pointer-events: auto !important;
  /* Re-enable clicks on menu items */
}

.menu-items a {
  text-decoration: none;
  color: #f7cdcd;
  font-size: 0.85em;
  transition: color 0.3s ease;
}

.menu-items a:hover {
  color: #f20707;
}



.menu-items li a {
  text-decoration: none;
  color: #f7cdcd;
  font-size: 0.95em;
  font-family: 'Satoshi', sans-serif !important;
  /* Enforce Satoshi font */
  font-weight: 500 !important;
  /* Match Owled Media weight */
  transition: color 0.3s ease;
}

.menu-items li a.active,
.dropdown-parent.active {
  color: #f20707 !important;
  /* Highlight active menu item */
}

.menu-items li a:hover {
  color: #f20707 !important;
}

.menu-toggle {
  display: none;
  /* hidden on desktop */
  pointer-events: auto !important;
  /* Re-enable clicks on toggle */
}


/* Dropdown Parent (Work Text and Arrow Alignment) */
.dropdown-parent {
  display: flex;
  align-items: center;
  /* Align text and arrow vertically */
  font-size: 0.95em;
  font-weight: 300 !important;
  transform: translateY(1px);
  /* Moves the "Work" text slightly down */
  color: #f7cdcd;
  gap: 6px;
  /* Space between text and arrow */
  cursor: pointer;
  /* Show pointer cursor */
  z-index: 100;
  /* Ensure it has a higher z-index */
  position: relative;
  /* Required for stacking */
}

.dropdown-parent:hover {
  color: #f20707 !important;
  /* Highlight text on hover */
}

/* Arrow Icon for Dropdown Parent */
.dropdown-parent .arrow-icon {
  width: 12px;
  /* Adjust arrow size */
  height: 12px;
  stroke: #f7cdcd;
  /* Match menu items color */
  display: inline-block;
  /* Ensures it is displayed */
  transform: translateY(2px);
  /* Slightly adjust position */
  transition: transform 0.3s ease-in-out;
}

.dropdown-parent:hover .arrow-icon {
  stroke: #f20707 !important;
  /* Highlight arrow color */
  transform: translateY(1px) rotate(-135deg);
  /* Rotate arrow on hover */
}

/* Active state for dropdown arrow */
.dropdown-parent.active .arrow-icon {
  stroke: #f20707 !important;
  /* Highlight arrow color when active */
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
  text-align: center;
  z-index: 999999;
  /* Ensure dropdown remains on top */
}

.has-dropdown .dropdown {
  position: absolute;
  left: 0;
  transform: none;
  top: 180%;
  margin-top: 0;
  display: none;
  background: #2a2826 !important;
  padding: 0.5em 1em;
  list-style: none;
  max-width: none !important;
  width: 200px !important;
  pointer-events: auto;
  border-radius: 5px;
  z-index: 5;
  overflow: visible !important;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.has-dropdown>a {
  position: relative;
  display: flex;
  align-items: center;
  color: #f7cdcd !important;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
}

.has-dropdown>a::after {
  content: none !important;
  /* Remove CSS arrow */
}

/* Invisible area to bridge the gap */
.dropdown::before {
  content: "";
  position: absolute;
  top: -80%;
  /* Adjust this to match your gap */
  left: 0;
  width: 100%;
  height: 80%;
  /* Adjust to fill the gap */
  background: transparent;
  /* Invisible */
}

.has-dropdown>a:hover {
  color: #f20707 !important;
  /* Highlight text on hover */
}

.has-dropdown>a:hover::after {
  border-color: #f20707 !important;
  transform: translateY(1px) rotate(-135deg) !important;
}

.has-dropdown:hover .dropdown {
  display: block;
  /* Show on hover */
  visibility: visible;
  /* Ensure it's visible */
  opacity: 1;
  /* Ensure it's opaque */
  pointer-events: auto;
  /* Keep dropdown interactive */
  color: #f20707 !important;
}

.dropdown {
  display: none;
  position: absolute;
  top: 180% !important;
  /* Position below the parent */
  left: -22px !important;
  /* Align to the horizontal center of the parent */
  transform: translateX(0%);
  /* Center horizontally */
  max-width: none !important;
  width: 200px !important;
  background: #2a2826;
  padding: 0.5em 1em !important;
  pointer-events: auto;
  /* Keep dropdown interactive */
  list-style: none;
  border-radius: 5px;
  z-index: 9999;
  /* Ensure dropdown remains on top */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

/* Dropdown Items */
.dropdown li a {
  color: #f7cdcd;
  font-size: 0.9em;
  padding: 0.5em 1em;
  display: block;
  transition: color 0.3s ease;
  text-align: left;
}

.dropdown li a:hover {
  color: #f20707 !important;
}

/* Ensure the dropdown remains visible when hovering */
.dropdown:hover {
  display: block;
}

.has-dropdown .dropdown:hover {
  display: block;
  visibility: visible;
  /* Ensure it's visible */
  opacity: 1;
  /* Ensure it's opaque */
}

/* Ensure Consistency Across Dropdown */
.has-dropdown:hover>a,
.has-dropdown:hover>.dropdown-parent {
  color: #f20707 !important;
  /* Ensure Work text highlights on hover */
}

.has-dropdown:hover .dropdown-parent:hover {
  color: #f20707 !important;
  /* Ensure arrow and text highlight together */
}

.has-dropdown:hover .dropdown-parent .arrow-icon {
  stroke: #f20707 !important;
  /* Ensure arrow stays highlighted */
}

/* CTA Button */
.cta-button {
  position: static !important;
  right: auto !important;
  /* Adjust if needed */
  top: 50%;
  transform: none !important;
  padding: 0.5em 1em;
  background: transparent;
  border: 2px solid #f20707 !important;
  color: #f7cdcd !important;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 400 !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: #f20707 !important;
  color: #f7cdcd !important;
}




.navbar-button {
  pointer-events: auto !important;
  /* Re-enable clicks on CTA button */
}


/* ---------- HEADER ALIGNMENT WITH FOOTER ---------- */
.nav-menu-container {
  padding: 1em 300px !important;
}

@media (max-width: 1024px) {
  .nav-menu-container {
    padding: 1em 100px !important;
  }
}

@media (max-width: 768px) {
  .nav-menu-container {
    padding: 0.8em 20px !important;
  }
}

/* ---------- MOBILE HEADER FIX ---------- */

@media (max-width: 767px) {

  #wpadminbar {
    position: fixed !important;
    top: 0 !important;
  }

  /* Hide desktop header and show mobile version on small screens */
  header.nav-menu-wrapper:not(.mobile-header) {
    display: none !important;
  }


  .mobile-header {
    display: block !important;
    flex-direction: column;
    background-color: #161613 !important;
    /* Charcoal Black */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    transition: background-color 0.3s ease;
  }

  .mobile-header.active {
    background-color: transparent !important;
    pointer-events: none;
    /* Let clicks pass through to the menu behind */
  }

  .mobile-header.active .navbar-button {
    pointer-events: auto;
    /* Keep the CTA button clickable */
  }

  header.nav-menu-wrapper {
    background: #000;
    display: none !important;
    padding: 0.8em 1.2em;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  header.nav-menu-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  header.nav-menu-wrapper .navbar-logo {
    order: 1 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  header.nav-menu-wrapper .navbar-menu,
  header.nav-menu-wrapper .navbar-button {
    order: 2 !important;
    margin-left: auto !important;
  }

  /* Prevent Elementor's flex-column override */
  .e-con.e-flex {
    flex-direction: row !important;
  }

  .nav-menu-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.8em 1.2em !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    /* space between button and hamburger */
  }

  /* Logo on the left */
  .navbar-logo {
    order: 1 !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .navbar-logo img {
    height: auto;
    width: 42px;
    position: static !important;
  }


  .navbar-button {
    position: relative;
    margin-left: auto;
    margin-right: 0.8em;
  }

  .cta-button {
    position: static !important;
    padding: 0.45em 1em;
    font-size: 0.8em;
    border: 2px solid #f20707;
    background: transparent;
    color: #f7cdcd !important;
    border-radius: 999px;
  }


  .navbar-menu {
    display: none;
  }


  /* Position CTA & hamburger */
  .navbar-button {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-left: auto !important;
  }

  .navbar-button a {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }


  /* Close button (X) */
  .menu-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: white;
    cursor: pointer;
  }


  .menu-toggle {
    position: relative;
    width: 26px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    margin-left: 8px;
    background: none;
    border: none;
    z-index: 10 !important;
    margin-left: 10px;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
  }

  /* top and bottom bars = full width */
  .menu-toggle span:nth-child(1),
  .menu-toggle span:nth-child(2) {
    width: 100%;
  }

  /* middle bar = shorter, dynamic */
  .menu-toggle span:nth-child(3) {
    width: 70%;
    align-self: flex-end;
  }

  /* hover expands middle bar */
  .menu-toggle:hover span:nth-child(3) {
    width: 100%;
  }

  /* Default state: Transparent background */
  header.nav-menu-wrapper::before {
    content: none !important;
    display: none !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    position: absolute;
    top: 0;
    /* Adjust as needed */
    left: 0;
    width: 100%;
    height: 100px;
    /* Adjust background height */
    z-index: -1;
    /* Place behind content */
    transition: all 0.3s ease-in-out;
    /* Smooth transition */
  }

  header.nav-menu-wrapper::after {
    content: none !important;
    display: none !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Remove any pseudo-elements that create glass effect */
  .mobile-header::before,
  .mobile-header::after {
    content: none !important;
    display: none !important;
  }


  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* When scrolled, frosted glass takes over (handled by .scrolled class elsewhere) */

  .mobile-header .nav-menu-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.8em 1.25em !important;
    background: transparent;
    z-index: 10 !important;
  }

  .mobile-header .navbar-logo {
    order: 1 !important;
    position: static !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    margin: 0 !important;
    z-index: 10 !important;
  }

  .mobile-header .navbar-right {
    margin-left: auto !important;
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    /* Force row */
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 15px;
    z-index: 10 !important;
    transform: none !important;
  }

  .mobile-header .navbar-right .navbar-button {
    order: 1 !important;
    /* Button first */
  }

  .mobile-header .navbar-right .menu-toggle {
    order: 2 !important;
    /* Hamburger second */
    margin-left: 0 !important;
    /* Remove any margin causing shift */
  }

  .mobile-header .navbar-logo img {
    position: static !important;
    width: auto !important;
    height: 25px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    display: block !important;
    padding: 0 !important;
    transform: translateY(2px);
  }

  .mobile-header .cta-button {
    transform: none !important;
    /* Remove shift to align properly */
    padding: 8px 16px;
    background: transparent !important;
    border: 2px solid #F20707 !important;
    /* Red Border */
    border-radius: 50px;
    color: #fff !important;
    font-size: 0.85rem !important;
    text-transform: none !important;
    white-space: nowrap !important;
    font-family: 'Satoshi', sans-serif !important;
    font-weight: 400 !important;
    transition: all 0.3s ease;
    z-index: 10 !important;
    display: inline-block !important;
    /* Ensure it shows */
  }

  .mobile-header .navbar-logo a {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .menu-footer {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #aaa;
    font-size: 0.85em;
  }

  header::before,
  header::after,
  .nav-menu-wrapper::before,
  .nav-menu-wrapper::after {
    content: none !important;
    display: none !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* =============================
   MOBILE WORK DROPDOWN MENU
   ============================= */
  .mobile-has-dropdown {
    position: relative;
    text-align: center;
    width: 100%;
    flex-direction: column;
    align-items: center;

  }


  /* ✅ Neutralize shift compression when dropdown opens */
  .mobile-has-dropdown.active {
    transform: translateY(-8px);
    /* pushes WORK block slightly down to visually rebalance */
  }


  /* ✅ invisible buffer layer to neutralize transform compression */
  .mobile-has-dropdown.active::after {
    content: "";
    display: block;
    height: 8px;
    /* creates invisible breathing room */
  }

  .mobile-dropdown-toggle {
    all: unset;
    /* Reset default button styles */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    cursor: pointer;
    /* Match text style with other menu links */
    font-family: inherit;
    color: #fff !important;
    /* base color */
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.3s ease;
    margin: 0;
    /* Align baseline with others */
    background: none;
    border: none;
  }

  /* WORK link styling */
  .mobile-dropdown-toggle .work-link {
    color: #fff !important;
    font-size: 1.25rem !important;
    font-weight: 300 !important;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  /* WORK text hover - turns red */
  .mobile-dropdown-toggle .work-link:hover,
  .mobile-dropdown-toggle .work-link:active {
    color: #f20707 !important;
  }

  /* Keep arrow aligned next to text */
  .mobile-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    stroke-width: 2.4;
    transform: translateY(1px) rotate(-90deg);
    /* Right arrow initially */
    transition: transform 0.3s ease;
    transform-origin: center;
    flex-shrink: 0;
  }

  /* Hover + active same as others */
  .mobile-dropdown-toggle:hover,
  .mobile-dropdown-toggle:focus {
    color: #f7cdcd !important;
  }

  /* When dropdown open - only keep WORK text white */
  .mobile-has-dropdown.active .mobile-dropdown-toggle .work-link {
    color: #fff;
    /* Keep WORK text white */
  }

  /* When dropdown opens → rotate downward */
  .mobile-has-dropdown.active .mobile-dropdown-toggle svg {
    transform: translateY(1px) rotate(0deg);
    /* Down arrow when open */
    stroke: #f7cdcd;
  }



  .mobile-dropdown-arrow {
    transition: transform 0.3s ease;
  }

  /* Submenu list */
  .mobile-header .mobile-dropdown {
    list-style: none;
    margin: 0;
    width: 100%;
    padding-top: 18px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 18px !important;
    /* consistent spacing between all items */
    display: none;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    animation: dropdownFade 0.3s ease;
    position: relative;
    transform: translateX(0) !important;
    /* reset any inherited shift */
  }

  .mobile-header .mobile-dropdown li {
    width: 100% !important;
    margin: 0 !important;
    /* remove all margins */
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    /* centers each item */
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }


  .mobile-header .mobile-dropdown li a {
    color: #f7cdcd;
    width: auto;
    /* prevents stretching */
    font-size: 0.95rem !important;
    /* smaller than main links */
    font-weight: 300;
    text-decoration: none;
    text-transform: none;
    text-align: center !important;
    display: inline-block;
    transition: color 0.3s ease;
    letter-spacing: 0.03em;
    line-height: 1.2;
    /* ensures consistent vertical rhythm */
    padding: 0;
    /* uniform vertical padding */
    margin: 0;
  }

  .mobile-header .mobile-dropdown li a:hover {
    color: #f20707 !important;
  }

  /* Active (expanded) state */
  .mobile-has-dropdown.active .mobile-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 10px;
    animation: dropdownFade 0.3s ease;
  }



  .mobile-has-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
  }

  @keyframes dropdownFade {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }

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

  /* ✅ FIX: Only arrow turns red when dropdown is active */
  .mobile-has-dropdown.active .mobile-dropdown-toggle {
    color: #fff !important;
    /* prevent whole link from turning red */
  }

  .mobile-has-dropdown:not(.active) .mobile-dropdown-toggle {
    color: #fff !important;
  }

  .mobile-has-dropdown.active .mobile-dropdown-toggle .work-link {
    color: #fff !important;
    /* keep WORK text white */
  }

  .mobile-has-dropdown:not(.active) .mobile-dropdown-toggle .work-link {
    color: #fff !important;
  }

  .mobile-has-dropdown.active .mobile-dropdown-toggle svg {
    stroke: #f7cdcd !important;
    /* make only the arrow red */
  }

  /* Arrow stays white when closed */
  .mobile-has-dropdown:not(.active) .mobile-dropdown-toggle svg {
    stroke: #fff !important;
  }

}


/* Outer Container CSS */
.hero-bg {
  --mask-x: 50%;
  --mask-y: 50%;
  --mask-opacity: 1;
  position: relative;
  /* Ensure stacking context */
  width: 100%;
  height: 100vh;
  /* Full viewport height for consistency */
  padding: 0 !important;
  overflow: visible !important;
  /* Allow the Swiper Section to appear */
  z-index: 1;
  /* Lower than the navigation menu */
  display: flex;
  align-items: center;
  pointer-events: auto !important;
  /* Ensure interactions work */
  justify-content: center;
  background: #0a0a0a;
  /* Background color */
}

.hero-image {
  position: relative;
  z-index: 6 !important;
  color: #f7cdcd;
  /* Even lighter and calmer pastel red */
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 15vw;
  /* Scaled down for better desktop balance */
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  pointer-events: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  /* Ensures lines don't wrap unexpectedly */
}

#stars-bg {
  position: absolute;
  /* instead of fixed */
  bottom: 0;
  /* anchor to bottom of hero section */
  left: 0;
  width: 100%;
  height: 100%;
  /* fills the hero section only */
  pointer-events: none !important;
  background: transparent;
  z-index: -2;
  /* behind blob and content */
  overflow: hidden;
}

.star {
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0.8;
  animation: riseStar 30s linear infinite;
}

@keyframes riseStar {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(-120vh);
    opacity: 0;
  }
}


/* ADD THIS NEW CLASS */
.reveal-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://houseoffloyds.com/wp-content/uploads/2025/11/ChatGPT-Image-Nov-7-2025-11_05_19-PM.png') no-repeat center center;
  background-size: cover;
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
  /* ✅ USE MASK INSTEAD OF CLIP-PATH for soft edges */
  mask-image: radial-gradient(circle 420px at 50% 50%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 0.75) 40%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.1) 90%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: radial-gradient(circle 420px at 50% 50%,
      rgba(0, 0, 0, 1) 10%,
      rgba(0, 0, 0, 0.75) 40%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.1) 90%,
      rgba(0, 0, 0, 0) 100%);

  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}


.oval-blur-img {
  position: absolute;
  width: 12em;
  /* Adjust the size of the blob */
  height: 12em;
  /* Adjust the size of the blob */
  filter: blur(25px);
  /* Adjust blur intensity */
  opacity: 0.85;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  pointer-events: none !important;
  /* Ensure interactions work */
  transform: translate(-50%, -50%);
  animation: rotate 6s linear infinite;
  transition: left 0.5s ease, top 0.5s ease, opacity 0.3s ease;
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


/* Scroll Arrows */
.scroll-arrows {
  position: absolute !important;
  /* Confined to the hero section */
  bottom: 100px;
  /* Position at the bottom of the hero section */
  left: 50%;
  /* Center horizontally */
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  /* Space between arrows */
  z-index: 999999 !important;
  pointer-events: auto !important;
}

/* Individual Arrows */
.arrow {
  width: 25px;
  height: 25px;
  border-right: 2px solid #f20707;
  border-bottom: 2px solid #f20707;
  border-color: #f20707 !important;
  transform: rotate(45deg);
  animation: arrow-fade 1.5s infinite;
  opacity: 0;
}

/* Arrow Animation */
.arrow:nth-child(1) {
  animation-delay: 0s;
}

.arrow:nth-child(2) {
  animation-delay: 0.3s;
}

.arrow:nth-child(3) {
  animation-delay: 0.6s;
}

/* Fade-in animation for arrows */
@keyframes arrow-fade {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(10px) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: translateY(20px) rotate(45deg);
  }
}

/* Ensure Elementor Widget Container Doesn't Interfere */
.elementor-widget-container {
  position: static !important;
  /* Override to static */
}


/* ========================================
   MOBILE PORTRAIT (up to 767px)
======================================== */
@media screen and (max-width: 767px) {

  /* Hide the blob on mobile */
  .oval-blur-img {
    display: none !important;
  }

  /* ADD THIS NEW CLASS */
  .reveal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://houseoffloyds.com/wp-content/uploads/2025/11/ChatGPT-Image-Nov-7-2025-11_05_19-PM.png') no-repeat center center;
    background-size: cover;
    opacity: 0.85;
    z-index: -1;
    pointer-events: none;
    /* ✅ USE MASK INSTEAD OF CLIP-PATH for soft edges */
    mask-image: none;
    -webkit-mask-image: none;
    mask-size: none;
    -webkit-mask-size: none;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
  }

  /* Make hero image fully visible and clear */
  .hero-image {
    position: relative;
    z-index: 6 !important;
    font-size: 22vw;
    /* Scaled down to fit on 2 lines */
    line-height: 0.85;
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: auto;
    text-align: center;
    white-space: nowrap;
  }

  /* Adjust hero section for mobile */
  .hero-bg {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    overflow: hidden;
  }

  /* Stars remain visible and working */
  #stars-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    background: transparent;
    z-index: -2;
    overflow: hidden;
  }

  .star {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 1;
    animation: riseStar 30s linear infinite;
  }

  @keyframes riseStar {
    0% {
      transform: translateY(0);
      opacity: 1;
    }

    100% {
      transform: translateY(-120vh);
      opacity: 1;
    }
  }

  /* Adjust scroll arrows for mobile */
  .scroll-arrows {
    bottom: 200px;
    gap: 0.2px !important;
    /* Space between arrows */
  }

  .arrow {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   SHOWREEL SECTION
======================================== */

/* FIX WHITE GAP BETWEEN OUR WORK & SHOWREEL */
.elementor-element-206eddb.e-con-full {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  bottom: 0 !important;
}

/* ========================================
   SHOWREEL SECTION
   Consolidated & Cleaned Up
======================================== */

.showreel-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: auto;
  background-color: rgb(22, 22, 19);
  color: white;
  overflow: hidden;
  padding: 160px 0 !important;
  /* Visual symmetry & space for marquees */
  margin: 0 !important;
  z-index: 10;
}

/* MARQUEE GENERAL */
.top-marquee,
.bottom-marquee {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  z-index: 20 !important;
  display: flex;
  align-items: center;
}

.top-marquee {
  top: 30px;
}

.bottom-marquee {
  bottom: 30px;
}

.logo-row {
  display: flex;
  gap: 120px;
  align-items: center;
  height: 100%;
}

.logo-row img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* Default: if no class is provided, it stays in original brand colors but muted */
}

/* LOOK 1: Pure White (Inverted logic for black/white compatibility) */
.logo-row img.pure-white {
  filter: brightness(0) invert(1);
}

.logo-row img.pure-white-invert {
  filter: invert(1) brightness(100);
}

/* LOOK 2: House of Floyds Salmon Pink (#F7CDCD) */
.logo-row img.floyd-pink {
  filter: grayscale(1) sepia(1) hue-rotate(-50deg) saturate(2.5) brightness(1.1);
}

/* LOOK 3: House of Floyds Salmon Pink (For Black/Dark logos) */
.logo-row img.floyd-pink-invert {
  filter: invert(1) grayscale(1) sepia(1) hue-rotate(-50deg) saturate(2.5) brightness(1.1);
}

.logo-row img:hover {
  filter: none !important;
  opacity: 1;
}

/* TOP MARQUEE ANIMATION */
.top-marquee .logo-row {
  animation: scroll-top 40s linear infinite;
}

@keyframes scroll-top {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* BOTTOM MARQUEE ANIMATION */
.bottom-marquee .logo-row {
  animation: scroll-bottom 40s linear infinite;
}

@keyframes scroll-bottom {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* VIDEO CONTAINER */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15;
  margin: 0 auto;
}

.video-container iframe {
  width: 797px;
  height: 448px;
  max-width: 95%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* RESPONSIVE OVERRIDES */
@media (max-width: 1024px) {
  .showreel-section {
    padding: 120px 0 !important;
  }

  .logo-row img {
    height: 45px;
    gap: 80px;
  }
}

@media (max-width: 767px) {
  .showreel-section {
    padding: 100px 0 !important;
  }

  .top-marquee,
  .bottom-marquee {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    padding: 20px 0;
  }

  .top-marquee {
    margin-bottom: 20px;
  }

  .bottom-marquee {
    margin-top: 20px;
  }

  .logo-row img {
    height: 35px;
    gap: 60px;
  }

  .video-container iframe {
    width: 90% !important;
    height: auto;
  }
}

/* END OF SHOWREEL SECTION */




/* ========================================
   SERVICES CONTAINER SECTION
======================================== */

.services-container {
  width: 100%;
  background-color: #000;
  overflow: hidden;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: default;
}

.services-row {
  display: flex;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  margin-top: -8px;
  /* Pulling rows even closer */
}

.services-row:first-child {
  margin-top: 0;
  /* Keep first row in place */
}

.services-row span {
  font-size: 5vw;
  line-height: 0.95;
  font-weight: 600;
  /* Medium-Bold is much cleaner for outlined paths */
  font-family: 'Satoshi', sans-serif;
  text-transform: uppercase;
  color: #000;
  /* Matches background to mask internal path lines */
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
  /* Thicker stroke... */
  paint-order: stroke fill;
  /* ...partially masked by the fill to create a crisp 1px effect */
  margin-right: 140px;
  /* Increased separation for better visual rhythm */
  letter-spacing: 0.12em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
  flex-shrink: 0;
  will-change: transform;
  backface-visibility: hidden;
  /* Prevents the rendering 'snap' glitch */
  transform: translateZ(0);
  /* Forces GPU rendering for sharper edges */
}

.services-row {
  animation: none !important;
}

/* Interactive States */
.services-container:hover .services-row span {
  -webkit-text-stroke: 1.5px rgba(247, 205, 205, 0.5);
}

.services-row span:hover {
  color: #f7cdcd !important;
  -webkit-text-stroke: 1.5px #f7cdcd !important;
  transform: scale(1.08) skewX(-5deg);
}

/* Add responsive styling */
@media (max-width: 768px) {
  .services-row span {
    font-size: 18vw;
  }
}

/* PHILOSOPHY Marquee Section (Mirrors Services) */
.philosophy-container {
  width: 100%;
  background-color: #000;
  overflow: hidden;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: default;
}

.philosophy-row {
  display: flex;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  margin-top: -8px;
  animation: none !important;
  /* Disabled for GSAP */
}

.philosophy-row:first-child {
  margin-top: 0;
}

.philosophy-row span {
  font-size: 5vw;
  line-height: 0.95;
  font-weight: 600;
  font-family: 'Satoshi', sans-serif;
  text-transform: uppercase;
  color: #000;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
  paint-order: stroke fill;
  margin-right: 140px;
  letter-spacing: 0.12em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
  flex-shrink: 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.philosophy-container:hover .philosophy-row span {
  -webkit-text-stroke: 1.5px rgba(247, 205, 205, 0.5);
}

.philosophy-row span:hover {
  color: #f7cdcd !important;
  -webkit-text-stroke: 1.5px #f7cdcd !important;
  transform: scale(1.08) skewX(-5deg);
}


/* Sync mobile sizes with services */
@media (max-width: 768px) {
  .philosophy-row span {
    font-size: 18vw;
  }
}

/* ========================================
   SERVICES DESCRIBED SECTION
======================================== */

.services-described {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  width: 100%;
  height: 600px;
  background-color: #000;
  overflow: hidden;
  gap: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  z-index: 10;
}

.services-left,
.services-right {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
  transition: flex-grow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  /* Add this */
}

.services-left {
  background-image: url('hof-media-bg.png');
}

.services-right {
  background-image: url('hof-social-bg.png');
}

.services-left:hover,
.services-right:hover {
  flex-grow: 1.5;
}

.blur-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  z-index: 1;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.6s ease;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-left:hover .blur-box,
.services-right:hover .blur-box {
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.services-number {
  position: absolute;
  left: 40px;
  bottom: 140px;
  font-size: 14px;
  color: #fff;
  z-index: 10;
  font-family: 'Satoshi', sans-serif;
  transition: transform 0.6s ease, bottom 0.6s ease;
}

.title {
  position: absolute;
  left: 40px;
  bottom: 85px;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  z-index: 10;
  font-family: 'Satoshi', sans-serif;
  transition: transform 0.6s ease, bottom 0.6s ease;
}

.description {
  position: absolute;
  left: 40px;
  bottom: 100px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  z-index: 10;
  max-width: 80%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.6s ease;
  font-family: 'Satoshi', sans-serif;
  pointer-events: none;
}

.icon,
.icon-hover {
  position: absolute;
  left: 40px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  z-index: 10;
  transition: all 0.4s ease;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-left .icon img,
.services-right .icon img {
  transform: rotate(90deg);
  filter: brightness(0) saturate(100%) invert(16%) sepia(98%) saturate(6342%) hue-rotate(357deg) brightness(98%) contrast(115%);
}

.icon-hover {
  position: absolute;
  left: 40px;
  bottom: 40px;
  width: 80px;
  /* matched to solid-rect width */
  height: 40px;
  /* matched to solid-rect height */
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.icon-hover svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Hover Transformations */
.services-left:hover .services-number,
.services-right:hover .services-number {
  bottom: 180px;
}

.services-left:hover .title,
.services-right:hover .title {
  bottom: 135px;
}

.services-left:hover .description,
.services-right:hover .description {
  opacity: 1;
  transform: translateY(0);
  bottom: 100px;
}

.services-left:hover .icon,
.services-right:hover .icon {
  opacity: 0;
  transform: scale(0.8);
}

.services-left:hover .icon-hover,
.services-right:hover .icon-hover {
  opacity: 1;
  bottom: 30px;
  /* Positioned exactly over the solid-rect */
}

.solid-rect {
  position: absolute;
  left: 40px;
  bottom: 30px;
  width: 80px;
  height: 40px;
  background-color: #fff;
  z-index: 10;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: all 0.4s ease;
}

.services-left:hover .solid-rect,
.services-right:hover .solid-rect {
  opacity: 1;
  transform: scaleY(1);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .services-described {
    flex-direction: column;
    height: auto;
  }

  .services-left,
  .services-right {
    height: 400px;
    width: 100%;
  }

  .blur-box {
    height: 50%;
    background: rgba(0, 0, 0, 0.3);
  }

  .services-number {
    bottom: 120px;
    left: 20px;
  }

  .title {
    bottom: 70px;
    left: 20px;
    font-size: 24px;
  }

  .icon,
  .icon-hover {
    bottom: 20px;
    left: 20px;
  }

  .services-left:hover,
  .services-right:hover {
    flex-grow: 1;
  }
}




/* --- SERVICES LEFT CSS --- */













/* Specific position for services-left */
















/* ========================================
   VISION SECTION
======================================== */

/* Vision Section: Enable Horizontal Scrolling */
.pin-spacer {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #F5F3EF;
  z-index: 100;
}

.vision-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 200vw !important;
  height: 100vh;
  position: absolute !important;
  top: 0;
  left: 0;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.vision-wrapper.shifted {
  transform: translateX(-100vw) !important;
}

.sub-section-1,
.sub-section-2 {
  width: 100vw !important;
  height: 100vh !important;
  flex: 0 0 100vw !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 5% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.sub-section-1 {
  background: radial-gradient(circle at 75% 50%, #1a0505 0%, #0d0d0d 100%) !important;
}

.sub-section-2 {
  background-color: #F5F3EF !important;
  z-index: 20 !important;
}

.sub-section-2 .left-column-2 {
  flex: 0 0 45% !important;
  max-width: 45% !important;
  text-align: left !important;
  color: #111111 !important;
  z-index: 30 !important;
}

.sub-section-2 .left-column-2 h2 {
  font-size: clamp(32px, 4vw, 56px) !important;
  font-weight: 900 !important;
  margin-bottom: 20px !important;
  font-family: 'Satoshi', sans-serif !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  letter-spacing: -0.04em !important;
}

.sub-section-2 .left-column-2 p {
  font-size: clamp(16px, 1.2vw, 20px) !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
  font-family: 'Satoshi', sans-serif !important;
  color: #111111 !important;
}


.sub-section-2 .right-column-2 {
  flex: 0 0 60%;
  max-width: 60%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 30 !important;
}

#machine-container {
  width: 100%;
  height: 80vh;
  position: relative;
  cursor: grab;
  z-index: 40 !important;
}

#machine-container:active {
  cursor: grabbing;
}

/* Sub-section 1: General Styling */
/* Consolidated Column Styles for Vision */
.sub-section-1 .left-column {
  flex: 0 0 45% !important;
  max-width: 45% !important;
  text-align: left !important;
  color: #ffffff !important;
  z-index: 30 !important;
}

.sub-section-1 .left-column h2 {
  font-size: clamp(32px, 4vw, 56px) !important;
  font-weight: 900 !important;
  margin-bottom: 20px !important;
  text-transform: uppercase !important;
  font-family: 'Satoshi', sans-serif !important;
  letter-spacing: -0.04em !important;
}

.sub-section-1 .left-column p {
  font-size: clamp(16px, 1.2vw, 20px) !important;
  line-height: 1.6 !important;
  opacity: 0.8 !important;
}

.sub-section-1 .right-column {
  flex: 0 0 55% !important;
  max-width: 55% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 30 !important;
}

/* ✅ Glass Title (Hidden by Default) */
.glass-title {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease-in-out;
  z-index: 10;
}

/* ✅ Glass Titles */
.glass:nth-child(1) .glass-title {
  color: #ff4d4d;
  /* Red */
}

.glass:nth-child(2) .glass-title {
  color: #4d79ff;
  /* Blue */
}

.glass:nth-child(3) .glass-title {
  color: #ffaa33;
  /* Orange */
}

.glass:nth-child(4) .glass-title {
  color: #33cc33;
  /* Green */
}

/* ✅ Show Title When Hovering Over Glass OR Liquid */
.glass:hover .glass-title {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* ✅ Glasses Container */
.glasses-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  gap: 30px;
}

/* ✅ Individual Glass */
.glass {
  position: relative;
  width: 140px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  pointer-events: auto !important;
  margin-top: 50px;
}

/* Glass Stem */
.glass::before {
  content: '';
  position: absolute;
  top: 150px;
  width: 5px;
  height: 130px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 100%);
  z-index: 1;
}

/* Glass Base */
.glass::after {
  content: '';
  position: absolute;
  top: 270px;
  width: 80px;
  height: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

/* ✅ Wine Bowl Inner */
.glass .inner {
  position: relative;
  width: 100px;
  height: 150px;
  overflow: hidden;
  pointer-events: auto !important;
  border-bottom-left-radius: 50px 70px;
  border-bottom-right-radius: 50px 70px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Glass Rim Highlight */
.glass .inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
}

/* Glass Slant Reflection */
.glass .inner::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 15%;
  height: 80%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
}

.glass:nth-child(1) .liquid {
  background: linear-gradient(180deg, #f7cdcd 0%, #000000 100%);
}

.glass:nth-child(1) .liquid::before {
  background: rgba(255, 0, 0, 0.9);
  /* Change top color to red */
}

/* ✅ Glass 2 - Blue */
.glass:nth-child(2) .liquid {
  background: linear-gradient(180deg, rgba(0, 0, 255, 0.7) 0%, #000000 100%);
}

.glass:nth-child(2) .liquid::before {
  background: rgba(0, 0, 255, 0.9);
  /* Change top color to blue */
}

/* ✅ Glass 3 - Orange */
.glass:nth-child(3) .liquid {
  background: linear-gradient(180deg, rgba(255, 165, 0, 0.7) 0%, #000000 100%);
}

.glass:nth-child(3) .liquid::before {
  background: rgba(255, 165, 0, 0.9);
  /* Change top color to orange */
}

/* ✅ Glass 4 - Green */
.glass:nth-child(4) .liquid {
  background: linear-gradient(180deg, rgba(0, 255, 0, 0.7) 0%, #000000 100%);
}

.glass:nth-child(4) .liquid::before {
  background: rgba(0, 255, 0, 0.9);
  /* Change top color to green */
}

.glass:nth-child(1):hover .liquid {
  height: 80% !important;
}

.glass:nth-child(2):hover .liquid {
  height: 40% !important;
}

.glass:nth-child(3):hover .liquid {
  height: 70% !important;
}

.glass:nth-child(4):hover .liquid {
  height: 50% !important;
}

/* ✅ Glass Top Outline */
.glass .inner::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 15px;
  border-radius: 50%;
  box-shadow: 0 15px 0 rgba(255, 255, 255, 0.05);
}

.glass .inner::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 20%;
  width: 20%;
  height: 80%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0 0 0 60px;
  pointer-events: none;
}

/* ✅ Glowing Liquid */
.liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  border-bottom-left-radius: 50px 70px;
  border-bottom-right-radius: 50px 70px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
  transition: height 0.5s ease-in-out, filter 0.3s ease-in-out;
}

.liquid::before {
  content: '';
  position: absolute;
  top: -10px;
  width: 100%;
  height: 20px;
  border-radius: 50%;
}

/* Sub-section 2 Styles Consolidated Above */

/* Responsive Styling */
@media screen and (max-width: 768px) {
  .sub-section-1 {
    flex-direction: column;
    /* Stack columns vertically */
    height: auto;
    /* Allow height to adjust dynamically */
  }

  .sub-section-1 .left-column,
  .sub-section-1 .right-column {
    max-width: 100%;
    /* Full-width for mobile */
  }

  .sub-section-1 .left-column {
    text-align: center;
    /* Center-align text for mobile */
  }
}

@media screen and (max-width: 768px) {

  /* Stack the section vertically */
  .sub-section-1 {
    flex-direction: column !important;
    align-items: center !important;
    /* center horizontally */
    justify-content: flex-start !important;
    height: auto !important;
    padding: 10px 15px !important;
    /* reduce top/bottom padding */
  }

  /* Glasses container centered vertically with small gap below */
  .sub-section-1 .right-column {
    order: 0 !important;
    min-height: 0 !important;
    /* remove forced height */
    display: flex;
    flex-direction: column !important;
    /* stack glasses vertically if needed */
    justify-content: center !important;
    /* center vertically in column */
    align-items: center !important;
    /* center horizontally */
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Reduce gap inside glasses container */
  .sub-section-1 .glasses-container {
    gap: 5px !important;
    /* small gap between glasses */
    margin: 0 !important;
  }

  /* Text content immediately below glasses */
  .sub-section-1 .left-column {
    order: 1 !important;
    margin: 5px 0 0 0 !important;
    /* minimal space above text */
    text-align: center !important;
    max-width: 95%;
    padding: 0 !important;
  }

  /* Smaller title */
  .sub-section-1 .left-column h2 {
    font-size: 22px !important;
    margin-bottom: 2px !important;
  }

  /* Smaller paragraph */
  .sub-section-1 .left-column p {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
  }

  /* Compact glasses size */
  .sub-section-1 .right-column .glass {
    width: 60px !important;
    height: 90px !important;
    /* vertical rectangle */
    aspect-ratio: 2 / 3 !important;
  }
}

/* ✅ Mobile Responsive */
@media screen and (max-width: 768px) {
  .sub-section-2 {
    flex-direction: column;
    height: auto;
  }

  .sub-section-2 .left-column-2,
  .sub-section-2 .right-column-2 {
    max-width: 100%;
  }

  .sub-section-2 .left-column-2 {
    text-align: center;
  }

  .glass {
    width: 80px;
    height: 180px;
  }

  .glass .inner,
  .liquid {
    border-bottom-left-radius: 40px !important;
    border-bottom-right-radius: 40px !important;
  }

  .liquid {
    height: 40%;
  }
}

/* ---------- Mobile Responsive Text ---------- */
@media screen and (max-width: 768px) {

  /* Make the title smaller */
  .sub-section-1 .left-column h2 {
    font-size: 32px;
    /* smaller than original 40px */
    margin-bottom: 8px;
    /* space below title */
  }

  /* Make the paragraph below smaller */
  .sub-section-1 .left-column p {
    font-size: 30px;
    /* smaller than original 18px */
    line-height: 1.1;
  }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
  .sub-section-1 .left-column h2 {
    font-size: 14px;
    /* even smaller on tiny screens */
    margin-bottom: 6px;
  }

  .sub-section-1 .left-column p {
    font-size: 12px;
    line-height: 1.1;
  }
}

/* glasses*/
@media screen and (max-width: 768px) {
  .sub-section-1 .right-column .glass {
    width: 60px;
    /* narrower width */
    height: 90px;
    /* vertical rectangle */
    aspect-ratio: 2 / 3;
    /* maintain proportion */
    flex-shrink: 0;
    border-radius: 6px;
    /* optional rounding */
  }
}

/* For extra small screens (phones) */
@media screen and (max-width: 480px) {
  .sub-section-1 .right-column .glass {
    width: 45px;
    /* even smaller */
    height: 90px;
    /* vertical rectangle */
    aspect-ratio: 2 / 3;
    /* maintain proportion */
  }
}

@media screen and (max-width: 768px) {

  /* Reduce gap between glasses and paragraph */
  .sub-section-1 .glasses-container {
    margin-bottom: 5px !important;
    /* very small gap below glasses */
    gap: 15px !important;
    /* space between glasses themselves */
  }

  /* Make paragraph closer */
  .sub-section-1 .left-column {
    margin-top: 5px !important;
    /* almost no gap above text */
  }
}

/* ========================================
   LAST CONTAINER SECTION
======================================== */

.last-container {
  background: radial-gradient(circle at center, #2e0000 0%, #000000 100%);
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.last-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.footer-branding {
  position: relative;
  z-index: 5;
  color: white;
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 7.5vw;
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.footer-branding span {
  color: #f7cdcd;
}

@media screen and (max-width: 768px) {
  .footer-branding {
    font-size: 11vw;
  }
}

/* Centered Logo Image */
/* Removed .last-image as it is replaced by .footer-branding */

/* Bottom Text Styling */
.bottom-text {
  position: absolute;
  /* Position the text absolutely within the container */
  bottom: 40px;
  /* Distance from the bottom edge */
  width: 100%;
  /* Full width to position text on left and right */
  display: flex;
  /* Flexbox to align left and right */
  justify-content: space-between;
  /* Push text to the corners */
  padding: 0 300px;
  /* Add padding to the left and right */
  box-sizing: border-box;
  /* Ensure padding is included in the width */
  color: white;
  /* Text color */
  font-size: 14px;
  /* Adjust font size */
}

/* Individual Text Styling */
.bottom-text p {
  font-family: Satoshi, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji,
    Segoe UI Symbol, Noto Color Emoji;
  /* Apply the font-family */
  color: white;
  /* Keep the text color white */
  margin: 0;
  /* Remove default margin */
  font-size: 1.125rem;
  font-weight: 200;
  -webkit-font-smoothing: antialiased;
  /* Smoothing for WebKit browsers */
  -moz-osx-font-smoothing: grayscale;
  /* Smoothing for macOS (Firefox) */
  line-height: 1.75rem;
  /* Add spacing between lines */
}

.bottom-text p:first-child {
  margin: 0;
  /* ✅ Remove large margins */
  padding: 0 10px;
  /* ✅ Add small padding if needed */
}

.bottom-text p:last-child {
  margin: 0;
  /* ✅ Remove large margins */
  padding: 0 10px;
  /* ✅ Add small padding if needed */
}

.bottom-text p:last-child {
  cursor: pointer;
  /* Change cursor to hand pointer */
  color: white;
  /* Keep text color */
  text-decoration: none;
  /* Remove underline */
  transition: color 0.3s ease;
  /* Add smooth color transition */
}

.bottom-text p:last-child:hover {
  color: #ff9800;
  /* Change the text color on hover */
}

/*Responsive code*/
@media (max-width: 1024px) {
  .bottom-text {
    padding: 0 100px;
  }
}

@media (max-width: 768px) {
  .bottom-text {
    flex-direction: column;
    align-items: center;
    bottom: 20px;
    padding: 0 20px;
    text-align: center;
  }

  /* Move © text to bottom-left */
  .bottom-text p:first-child {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 0.9rem;
    color: white;
  }

  /* Email below logo in glass box */
  .bottom-text p:last-child {
    position: absolute;
    bottom: 100px;
    /* Position just below logo */
    background: rgba(255, 255, 255, 0.15);
    /* Light translucent overlay */
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    font-weight: 300;
    transition: all 0.3s ease;
  }

  .bottom-text p:last-child:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
  }

  /* Add mail icon */
  .bottom-text p:last-child::before {
    content: "🖂";
    font-size: 1rem;
    opacity: 0.9;
  }
}

@media (max-width: 480px) {
  .bottom-text p:last-child {
    bottom: 100px;
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .bottom-text p:first-child {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {

  /* Increase logo (House of Floyds) size */
  .last-image {
    scale: 0.5;
    /* Increased from 0.33 */
    max-width: 350px;
    /* Bigger logo */
    height: auto;
    /* Keep proportions */
  }
}

@media (max-width: 480px) {
  .last-image {
    scale: 0.55;
    /* Slightly larger for very small screens */
    max-width: 320px;
  }

  .bottom-text p:last-child {
    bottom: 70px;
    /* closer to logo */
  }
}

/* Make email box smaller and just below the logo */
@media (max-width: 768px) {
  .bottom-text p:last-child {
    bottom: 50px;
    /* moves it below the logo */
    font-size: 0.8rem;
    /* smaller text */
    padding: 6px 14px;
    /* smaller padding */
  }
}

@media (max-width: 480px) {
  .bottom-text p:last-child {
    bottom: 130px;
    /* closer to logo on mobile */
    font-size: 0.75rem;
    /* smaller text on mobile */
    padding: 5px 12px;
    /* smaller padding on mobile */
  }
}

/* ========================================
   WORK SCROLLING TEXT SECTION (Refined)
======================================== */
.wd-container {
  width: 100%;
  background-color: #000;
  overflow: hidden;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: default;
}

.wd-row {
  display: flex;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  margin-top: -8px;
  /* Pulling rows even closer */
}

.wd-row:first-child {
  margin-top: 0;
  /* Keep first row in place */
}

.wd-row span {
  font-size: 5vw;
  line-height: 0.95;
  font-weight: 600;
  /* Medium-Bold is much cleaner for outlined paths */
  font-family: 'Satoshi', sans-serif;
  text-transform: uppercase;
  color: #000;
  /* Matches background to mask internal path lines */
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.35);
  /* Thicker stroke... */
  paint-order: stroke fill;
  /* ...partially masked by the fill to create a crisp 1px effect */
  margin-right: 140px;
  /* Increased separation for better visual rhythm */
  letter-spacing: 0.12em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: inline-block;
  flex-shrink: 0;
  will-change: transform;
  backface-visibility: hidden;
  /* Prevents the rendering 'snap' glitch */
  transform: translateZ(0);
  /* Forces GPU rendering for sharper edges */
}

/* Both rows now share the same high-visibility style */

/* Individual Row Speeds - Disabled for GSAP */
.wd-row {
  animation: none !important;
}



/* Interactive States */
.wd-container:hover .wd-row span {
  -webkit-text-stroke: 1.5px rgba(247, 205, 205, 0.5);
}

.wd-row span:hover {
  color: #f7cdcd !important;
  -webkit-text-stroke: 1.5px #f7cdcd !important;
  transform: scale(1.08) skewX(-5deg);
}




/* ========================================
   FULL WIDTH VIDEO SLIDER
======================================== */
.swiper-section-container {
  width: 100%;
  height: 100vh;
  /* Full viewport height */
  position: relative;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.next-video-btn {
  right: 40px;
}

.prev-video-btn {
  left: 40px;
}

.nav-btn svg {
  transition: transform 0.3s ease;
}

.next-video-btn:hover svg {
  transform: translateX(4px);
}

.prev-video-btn:hover svg {
  transform: translateX(-4px);
}


/* ========================================
   OUR WORK SECTION
======================================== */
.our-work-section {
  position: relative;
  padding: 150px 5% 150px 5%;
  /* Balanced vertical padding for a premium, centrally aligned look */
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.our-work-content {
  max-width: 60%;
  z-index: 2;
}

.our-work-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 30px;
  font-weight: 700;
}

.our-work-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 800px;
}

.our-work-buttons {
  display: flex;
  gap: 20px;
}

.cta-button {
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button.schedule-call {
  background-color: transparent;
  border: 1px solid #f20707;
  color: #f7cdcd;
}

.cta-button.schedule-call:hover {
  background-color: #f20707;
  color: #f7cdcd;
}

.cta-button.our-work-button {
  background-color: #f20707;
  border: 1px solid #f20707;
  color: #f7cdcd;
}

.cta-button.our-work-button:hover {
  background-color: transparent;
  color: #f7cdcd;
}

/* Rocket Animation Styles */
.our-work-animation {
  position: absolute;
  right: 8%;
  top: 50%;
  /* Moved slightly down to avoid tip clipping */
  transform: translateY(-50%);
  width: 300px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.rocket {
  position: absolute;
  width: 80px;
  top: 25%;
  /* Lowered to prevent tip clipping */
  animation: rocket-movement 4s infinite ease-in-out;
}

.rocket-body {
  width: 80px;
  position: relative;
}

.rocket-body .body {
  background-color: #e0e0e0;
  height: 180px;
  width: 80px;
  border-radius: 50% 50% 20% 20% / 100% 100% 20% 20%;
  border-top: 4px solid #fff;
  position: relative;
}

.rocket-body:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Covers the entire rocket body from top to bottom */
  background: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, 0.08) 50%);
  /* Vertical shadow on the right half */
  border-radius: 50% 50% 20% 20% / 100% 100% 20% 20%;
  /* Matches the bullet shape exactly */
  z-index: 1;
  pointer-events: none;
}

.rocket-body .window {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  position: absolute;
  top: 40px;
  left: 23px;
  border: 4px solid #900;
  object-fit: cover;
  /* Image will fill the circle */
}

.rocket-branding {
  position: absolute;
  top: 130px;
  /* Moved to the bottom part of the white body */
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
  transform: translateY(-5px);
}

.rocket-branding span {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  /* Ultra bold matching the hero section */
  font-size: 14px;
  /* Increased size for better visibility */
  text-transform: uppercase;
  line-height: 0.85;
  /* Tight line-height matching hero */
  text-align: center;
  letter-spacing: -0.04em;
  /* Tight letter-spacing matching hero */
  margin: 1px 0;
}

.rocket-branding span:first-child {
  color: #f20707;
  /* Red */
}

.rocket-branding span:last-child {
  color: #333333;
  /* Charcoal Black */
}

.rocket-body .fin {
  width: 50px;
  height: 55px;
  background-color: #f20707;
  position: absolute;
  z-index: -1;
}

.rocket-body .fin-left {
  left: -30px;
  top: calc(100% - 55px);
  border-top-left-radius: 80%;
  border-bottom-left-radius: 20%;
}

.rocket-body .fin-right {
  right: -30px;
  top: calc(100% - 55px);
  border-top-right-radius: 80%;
  border-bottom-right-radius: 20%;
}

.exhaust-flame {
  position: absolute;
  top: 180px;
  /* Anchored precisely at rocket base */
  width: 28px;
  background: linear-gradient(to bottom, #f20707 0%, transparent 100%);
  height: 120px;
  left: calc(50% - 14px);
  animation: exhaust 0.2s infinite;
  opacity: 0.8;
}

.exhaust-fumes li {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  list-style: none;
  position: absolute;
  border-radius: 100%;
  filter: blur(20px);
}

.exhaust-fumes li:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 190px;
  left: -60px;
  animation: fume-rise 2s infinite 0.1s;
}

.exhaust-fumes li:nth-child(2) {
  width: 100px;
  height: 100px;
  top: 200px;
  left: -40px;
  animation: fume-rise 2.5s infinite 0.3s;
}

.exhaust-fumes li:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 210px;
  left: 0px;
  animation: fume-rise 1.8s infinite 0.5s;
}

.exhaust-fumes li:nth-child(4) {
  width: 90px;
  height: 90px;
  top: 200px;
  right: -30px;
  animation: fume-rise 2.2s infinite 0.2s;
}

.exhaust-fumes li:nth-child(5) {
  width: 110px;
  height: 110px;
  top: 195px;
  right: -50px;
  animation: fume-rise 2.8s infinite 0.4s;
}

@keyframes fume-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }

  100% {
    transform: translateY(120px) scale(1.8);
    opacity: 0;
  }
}

.exhaust-fumes li:nth-child(6) {
  width: 90px;
  height: 90px;
  top: 205px;
  left: -20px;
  animation: fume-rise 2.1s infinite 0.6s;
}

.exhaust-fumes li:nth-child(7) {
  width: 130px;
  height: 130px;
  top: 190px;
  right: -20px;
  animation: fume-rise 2.4s infinite 0.7s;
}

.exhaust-fumes li:nth-child(8) {
  width: 70px;
  height: 70px;
  top: 220px;
  left: 30px;
  animation: fume-rise 1.9s infinite 0.8s;
}

.exhaust-fumes li:nth-child(9) {
  width: 100px;
  height: 100px;
  top: 200px;
  right: 20px;
  animation: fume-rise 2.3s infinite 0.9s;
}

.star li {
  list-style: none;
  position: absolute;
  background-color: #fff;
  border-radius: 100%;
  z-index: -1;
  opacity: 0.5;
}

.star li:nth-child(1) {
  width: 12px;
  height: 12px;
  top: -100px;
  left: -100px;
  animation: twinkle 3s infinite;
}

.star li:nth-child(2) {
  width: 8px;
  height: 8px;
  top: 0;
  left: 200px;
  animation: twinkle 3s infinite 1s;
}

.star li:nth-child(3) {
  width: 15px;
  height: 15px;
  top: 200px;
  left: -150px;
  animation: twinkle 4s infinite 0.5s;
}

.star li:nth-child(4) {
  width: 6px;
  height: 6px;
  top: 250px;
  left: 250px;
  animation: twinkle 2s infinite 1.5s;
}

.star li:nth-child(5) {
  width: 10px;
  height: 10px;
  top: -50px;
  left: 150px;
  animation: twinkle 5s infinite;
}

.star li:nth-child(6) {
  width: 8px;
  height: 8px;
  top: 100px;
  left: -200px;
  animation: twinkle 3s infinite 2s;
}

.star li:nth-child(7) {
  width: 12px;
  height: 12px;
  top: 150px;
  left: 200px;
  animation: twinkle 4s infinite 1s;
}

@keyframes rocket-movement {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-20px);
  }

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

@keyframes exhaust {
  0% {
    background: linear-gradient(to bottom, #f20707 0%, transparent 90%);
  }

  50% {
    background: linear-gradient(to bottom, #f20707 0%, transparent 92%);
  }

  100% {
    background: linear-gradient(to bottom, #f20707 0%, transparent 90%);
  }
}

@keyframes twinkle {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .wd-row span {
    font-size: 18vw;
  }

  .our-work-section {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }

  .our-work-content {
    max-width: 100%;
  }

  .our-work-content h1 {
    font-size: 2.5rem;
  }

  .our-work-buttons {
    justify-content: center;
  }

  .our-work-animation {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 50px;
  }
}

/* ========================================
   WORK PAGE STYLES
======================================== */

.work-info-container {
  width: 100%;
  background-color: #161613;
  /* Match background color */
  color: #fffbea;
  /* Light text color */
  text-align: center;
  padding: 50px 20px;
  /* Adjust top and bottom padding */
  font-family: 'Satoshi', sans-serif;
  /* Use a clean font */
  margin-top: 25px;
}

.work-info-container h2 {
  font-size: 2.2rem;
  /* Adjust heading size */
  font-weight: 400;
  margin-bottom: 15px;
}

.work-info-container p {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto;
  /* Center align the paragraph */
  line-height: 4;
  opacity: 1;
}

.horizontal-line-1 {
  width: 70%;
  /* Adjust width as needed */
  height: 2px;
  /* Thickness of the line */
  background-color: #fffbea;
  /* Match the color */
  margin: 20px auto;
  /* Center it and add spacing */
  position: relative;
  top: 40px;
}

/* Wrapper to align the entire section */
.work-wrapper-1 {
  width: 70%;
  /* Match the width of the horizontal line */
  margin: 0 auto;
  /* Center the section */
}

/* Work Section Styling */
.work-section-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
  background-color: transparent;
  /* Background matching the reference */
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  margin-left: 20px;
  color: #fffbea;
}

/* Left Content */
.work-content-1 {
  flex: 1;
  max-width: 90%;
  text-align: left;
}

.section-number-1 {
  font-size: 1rem;
  color: #fffbea;
  text-align: left;
  margin-bottom: 10px;
  display: block;
}

.work-title-1 {
  font-size: 3rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}

.work-title-1 .bold {
  font-weight: 900;
}

.work-title-1 .italic {
  font-style: italic;
  color: #f7cdcd;
  /* Slight reddish tone */
}

.work-description-1 {
  font-size: 1rem !important;
  font-weight: 50 !important;
  text-align: left;
  line-height: 24px !important;
  margin-bottom: 15px;
  margin-left: -0.5px !important;
  width: 90%;
  padding-bottom: 25px
}

.work-list-1 {
  list-style-type: disc;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 10px;
  /* Increase space between dot and text */
}

.work-list-1 li {
  font-size: 0.9rem;
  font-weight: 50 !important;
  margin-bottom: 5px;
  padding-left: 10px;
  /* Increase space between dot and text */
}

.view-work-btn-1 {
  display: inline-block;
  padding: 5px 20px;
  border: 1px solid #f20707;
  color: #f7cdcd !important;
  align-items: left;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  margin-right: 500px;
  margin-top: 15px;
  border-radius: 30px;
  transition: 0.3s;
}

.view-work-btn-1:hover {
  background: #f20707;
  color: #f7cdcd !important;
  border: 1px solid #f20707;
  font-weight: 300;
}

/* Right-Side Video */
.work-video-1 {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
}

.work-video-1 video {
  width: 90%;
  height: auto;
  margin-right: 35px;
  object-fit: cover;
}

.horizontal-line-2 {
  width: 69% !important;
  /* Adjust width as needed */
  height: 4px;
  /* Thickness of the line */
  background-color: #fffbea;
  /* Match the color */
  margin: 2px auto;
  /* Center it and add spacing */
  margin-top: -20px;
  position: relative;
}

/* Wrapper to align the entire section */
.work-wrapper-2 {
  width: 70%;
  /* Match the width of the horizontal line */
  margin: 0 auto;
  /* Center the section */
}

/* Work Section Styling */
.work-section-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  background-color: transparent;
  /* Background matching the reference */
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  margin-left: 20px;
  color: #fffbea;
}

/* Left Content */
.work-content-2 {
  flex: 1;
  max-width: 90%;
  text-align: left;
}

.section-number-2 {
  font-size: 1rem;
  color: #fffbea;
  text-align: left;
  margin-bottom: 10px;
  display: block;
}

.work-title-2 {
  font-size: 3rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}

.work-title-2 .bold {
  font-weight: 900;
}

.work-title-2 .italic {
  font-style: italic;
  color: #f7cdcd;
  /* Slight reddish tone */
}

.work-description-2 {
  font-size: 1rem !important;
  font-weight: 50 !important;
  text-align: left;
  line-height: 24px !important;
  margin-bottom: 15px;
  margin-left: -0.5px !important;
  width: 90%;
  padding-bottom: 25px
}

.work-list-2 {
  list-style-type: disc;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 10px;
  /* Increase space between dot and text */
}

.work-list-2 li {
  font-size: 0.9rem;
  font-weight: 50 !important;
  margin-bottom: 5px;
  padding-left: 10px;
  /* Increase space between dot and text */
}

.view-work-btn-2 {
  display: inline-block;
  padding: 5px 20px;
  border: 1px solid #f20707;
  color: #f7cdcd !important;
  align-items: left;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  margin-right: 500px;
  margin-top: 15px;
  border-radius: 30px;
  transition: 0.3s;
}

.view-work-btn-2:hover {
  background: #f20707;
  color: #f7cdcd !important;
  border: 1px solid #f20707;
  font-weight: 300;
}

/* Right-Side Video */
.work-video-2 {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
}

.work-video-2 video {
  width: 90%;
  height: auto;
  margin-right: 35px;
  object-fit: cover;
}

.horizontal-line-3 {
  width: 69% !important;
  /* Adjust width as needed */
  height: 4px;
  /* Thickness of the line */
  background-color: #fffbea;
  /* Match the color */
  margin: 2px auto;
  /* Center it and add spacing */
  margin-top: 10px;
  position: relative;
}

/* Wrapper to align the entire section */
.work-wrapper-3 {
  width: 70%;
  /* Match the width of the horizontal line */
  margin: 0 auto;
  /* Center the section */
}

/* Work Section Styling */
.work-section-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  background-color: transparent;
  /* Background matching the reference */
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  margin-left: 20px;
  color: #fffbea;
}

/* Left Content */
.work-content-3 {
  flex: 1;
  max-width: 90%;
  text-align: left;
}

.section-number-3 {
  font-size: 1rem;
  color: #fffbea;
  text-align: left;
  margin-bottom: 10px;
  display: block;
}

.work-title-3 {
  font-size: 3rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}

.work-title-3 .bold {
  font-weight: 900;
}

.work-title-3 .italic {
  font-style: italic;
  color: #f7cdcd;
  /* Slight reddish tone */
}

.work-description-3 {
  font-size: 1rem !important;
  font-weight: 50 !important;
  text-align: left;
  line-height: 24px !important;
  margin-bottom: 15px;
  margin-left: -0.5px !important;
  width: 90%;
  padding-bottom: 25px
}

.work-list-3 {
  list-style-type: disc;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 10px;
  /* Increase space between dot and text */
}

.work-list-3 li {
  font-size: 0.9rem;
  font-weight: 50 !important;
  margin-bottom: 5px;
  padding-left: 10px;
  /* Increase space between dot and text */
}

.view-work-btn-3 {
  display: inline-block;
  padding: 5px 20px;
  border: 1px solid #f20707;
  color: #f7cdcd !important;
  align-items: left;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  margin-right: 500px;
  margin-top: 15px;
  border-radius: 30px;
  transition: 0.3s;
}

.view-work-btn-3:hover {
  background: #f20707;
  color: #f7cdcd !important;
  border: 1px solid #f20707;
  font-weight: 300;
}

/* Right-Side Video */
.work-video-3 {
  flex: 1;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
}

.work-video-3 video {
  width: 90%;
  height: auto;
  margin-right: 35px;
  object-fit: cover;
}

.horizontal-line-4 {
  width: 69% !important;
  /* Adjust width as needed */
  height: 2px;
  /* Thickness of the line */
  background-color: #fffbea;
  /* Match the color */
  margin: 2px auto;
  /* Center it and add spacing */
  margin-top: 10px;
  position: relative;
}

/* ========================================
   CAMPAIGNS & FILMS PAGE STYLES
======================================== */

/* --- CAMPAIGNS HERO CSS --- */

.campaigns-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 67vh;
  width: 100vw;
  padding: 0 80px;
  background: linear-gradient(to right,
      #141411 0%,
      #121211 25%,
      #141415 50%,
      #181624 75%,
      #1E1949 100%);
  color: #fff;
  box-sizing: border-box;
  /* Ensure padding doesn't overflow width */
}

/* LEFT SIDE (Image + Text) */
.campaigns-left {
  width: 50%;
  text-align: center !important;
}

/* Campaign Image */
.campaign-image {
  width: 80%;
  max-width: 500px;
  margin-bottom: 20px;
}

/* Campaign Text */
.campaign-description {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

/* RIGHT SIDE (Video) */
.campaigns-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Video Container */
/* Note: .video-container is already defined in style.css, but we can ensure it works here too */


/* --- NEW CAMPAIGNS FILTER (Segmented Control) --- */

.campaigns-filter-wrapper {
  padding: 60px 0 20px;
  display: flex;
  justify-content: center;
  background: #0b0b0b;
}

.segmented-control {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 5px;
  width: fit-content;
}

.filter-btn {
  padding: 12px 60px;
  border-radius: 40px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.filter-btn.active {
  background: #FFF3E2;
  color: #111;
}

.filter-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

/* --- NEW CAMPAIGNS BENTO GRID --- */

.campaigns-container {
  padding: 20px 80px 100px;
  background: #0b0b0b;
  max-width: 100vw;
}

.campaigns-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 25px;
  max-width: 1600px;
  margin: 0 auto;
}

.campaign-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.campaign-card .thumb-box {
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
  border-radius: 2px;
}

.campaign-card .thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.campaign-card:hover .thumb-box img {
  transform: scale(1.05);
}

.campaign-card .campaign-name {
  color: #f7cdcd;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding-top: 5px;
}

/* Bento Span Mapping */
.card-feature {
  grid-column: span 4;
  grid-row: span 2;
}

.card-sidebar {
  grid-column: span 2;
  grid-row: span 1;
}

.card-half {
  grid-column: span 3;
}

.card-feature .thumb-box {
  aspect-ratio: 16 / 10.2;
}

.card-sidebar .thumb-box {
  aspect-ratio: 16 / 9;
}

.card-half .thumb-box {
  aspect-ratio: 16 / 9;
}

/* --- INDIVIDUAL CAMPAIGN DETAIL PAGE STYLES --- */

.detail-hero-banner {
  width: 100%;
  height: 45vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.banner-overlay-text {
  position: absolute;
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  text-align: center;
  width: 80%;
}

.detail-info-grid {
  padding: 80px;
  max-width: 1400px;
  margin: 0 auto;
  background: #0b0b0b;
}

.detail-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
  display: block;
}

.detail-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
}

.detail-main-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 900px;
}

.detail-concept-section {
  padding: 40px 80px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.concept-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
}

.detail-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 50px 0;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.detail-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.concept-note-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 60px;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}

.gallery-row img.vertical {
  aspect-ratio: 9 / 16;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 80px;
  align-items: start;
}

.detail-footer {
  padding: 60px 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.detail-footer a {
  color: inherit;
  text-decoration: none;
}



/* --- Ensure body has no default horizontal margins/padding --- */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Prevents horizontal scrollbar from appearing on the body itself */
}

/* ========================================
   CONTACT PAGE STYLES
======================================== */

.get-a-quote {
  background: #fff;
  height: 100vh !important;
  width: 100% !important;
  padding-top: 80px;
  /* Add padding to account for fixed header if needed, or just spacing */
  box-sizing: border-box;
}

/* --- ABOUT PAGE REPLICATION --- */

/* Layout Utilities */
.w-screen {
  width: 100vw;
}

.h-screen {
  height: 100vh;
}

.min-h-screen {
  min-height: 100vh;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-1\/2 {
  width: 50%;
}

.h-1\/2 {
  height: 50%;
}

.h-1\/3 {
  height: 33.333333%;
}

.w-\[50vw\] {
  width: 50vw;
}

.h-\[50vw\] {
  height: 50vw;
}

.max-w-\[100vh\] {
  max-width: 100vh;
}

.max-h-\[100vh\] {
  max-height: 100vh;
}

.w-\[30vw\] {
  width: 30vw;
}

.h-\[30vw\] {
  height: 30vw;
}

.max-w-\[150px\] {
  max-width: 150px;
}

.max-h-\[150px\] {
  max-height: 150px;
}

.max-w-\[60vw\] {
  max-width: 60vw;
}

.w-\[70\%\] {
  width: 70%;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.top-1\/2 {
  top: 50%;
}

.left-1\/2 {
  left: 50%;
}

.left-\[5\%\] {
  left: 5%;
}

.right-\[5\%\] {
  right: 5%;
}

.bottom-\[15\%\] {
  bottom: 15%;
}

.top-\[15\%\] {
  top: 15%;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-\[50\] {
  z-index: 50;
}

.-z-10 {
  z-index: -10;
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.items-center {
  align-items: center;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-1 {
  gap: 0.25rem;
}

.flex-1 {
  flex: 1 1 0%;
}

/* Typography Utilities */
.text-center {
  text-align: center;
}

.text-light {
  color: #FFF3E2;
}

.text-mid {
  color: #A5A5A5;
}

.text-primary {
  color: #FFF3E2;
}

/* Assuming primary text is light for now */
.font-sans {
  font-family: 'Satoshi', sans-serif;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Styling Utilities */
.bg-dark {
  background-color: #161613;
}

.bg-\[\#161613\] {
  background-color: #161613;
}

.bg-\[\#431FD4\] {
  background-color: #431FD4;
}

.bg-\[\#f17371\] {
  background-color: #f17371;
}

.bg-\[\#fff3e2\] {
  background-color: #fff3e2;
}

.bg-white {
  background-color: white;
}

.bg-transparent {
  background-color: transparent;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-sm {
  border-radius: 0.125rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-\[3px\] {
  border-width: 3px;
}

.border-light\/20 {
  border-color: rgba(255, 243, 226, 0.2);
}

.border-light\/10 {
  border-color: rgba(255, 243, 226, 0.1);
}

.border-primary {
  border-color: #FFF3E2;
}

.border-\[\#f0726b\] {
  border-color: #f0726b;
}

.p-10 {
  padding: 2.5rem;
}

.p-4 {
  padding: 1rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.pb-\[50px\] {
  padding-bottom: 50px;
}

.pt-24 {
  padding-top: 6rem;
}

.pl-0 {
  padding-left: 0;
}

.pr-0 {
  padding-right: 0;
}

.my-16 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

.object-\[center_65\%\] {
  object-position: center 65%;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.select-none {
  user-select: none;
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-\[10vh\] {
  backdrop-filter: blur(10vh);
}

.blur-\[55vh\] {
  filter: blur(55vh);
}

/* Transforms */
.translate-x-full {
  transform: translateX(100%);
}

.-translate-x-full {
  transform: translateX(-100%);
}

.translate-y-full {
  transform: translateY(100%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.translate-x-\[-20\%\] {
  transform: translateX(-20%);
}

.scale-0\.8 {
  transform: scale(0.8);
}

.scale-0\.75 {
  transform: scale(0.75);
}

.origin-center {
  transform-origin: center;
}

/* Opacity */
.opacity-0 {
  opacity: 0;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-100 {
  opacity: 1;
}

/* Transitions */
.duration-200 {
  transition-duration: 200ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* Custom Animations classes (to be toggled by JS) */
.reveal-active {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) !important;
  transition: all 1s ease-out;
}

.image-reveal-active {
  transform: translateY(0) !important;
  transition: transform 1s ease-out;
}

/* Responsive */
@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }

  .md\:flex {
    display: flex;
  }

  .md\:flex-initial {
    flex: 0 1 auto;
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
  }

  .md\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:mr-0 {
    margin-right: 0;
  }

  .md\:max-w-\[35vw\] {
    max-width: 35vw;
  }
}

/* Specific Component Styles */

/* ========================================
   SOCIAL MEDIA MANAGEMENT GRID
======================================== */
.social-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
  padding: 40px 5%;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.social-media-grid .campaign-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: #111;
  transition: transform 0.3s ease;
}

.social-media-grid .campaign-item.square {
  aspect-ratio: 1 / 1;
}

.social-media-grid .campaign-item.horizontal {
  aspect-ratio: 16 / 9;
  grid-column: span 2;
}

.social-media-grid .campaign-item.portrait {
  aspect-ratio: 1080 / 1350;
  grid-row: span 2;
}

.social-media-grid .campaign-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover Effects - FORCEFULLY REMOVED */
.social-media-grid .campaign-item:hover {
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

.social-media-grid .campaign-item:hover img {
  transform: none !important;
  /* Overrides the global scale(1.05) !important */
  filter: none !important;
}

/* Ensure no overlay/glass effect appears */
.social-media-grid .campaign-item::after,
.social-media-grid .campaign-item::before {
  display: none !important;
  content: none !important;
}

/* Hide overlays for this specific grid if they exist in HTML, ensuring full graphic view */
.social-media-grid .campaign-overlay {
  display: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .social-media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .social-media-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .social-media-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SOCIAL MEDIA HERO SECTION
======================================== */
.social-hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  /* Full viewport height minus header roughly */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0d0d0d;
  /* Slightly lighter than pure black */
  padding-top: 100px;
  /* Space for fixed header */
}

/* Background Gradients */
.hero-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(200, 50, 50, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(200, 50, 50, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.social-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1600px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Typography */
.hero-text h1 {
  font-size: 5vw;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero-text .cursive-text {
  font-family: "Brush Script MT", "Cookie", cursive;
  /* Fallback cursive */
  text-transform: none;
  color: #FFA500;
  /* Gold/Orange accent like reference */
  font-weight: 400;
}

.hero-subtext {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.6;
  font-weight: 500;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background-color: #f20707;
  color: #f7cdcd !important;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s;
  border: 2px solid #f20707;
}

.btn-primary:hover {
  background-color: #d00606;
  color: #f7cdcd !important;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background-color: transparent;
  color: #f7cdcd !important;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Satoshi', sans-serif !important;
  font-weight: 600;
  border: 2px solid #f20707;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Card Stack Visuals */
.hero-visuals {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-stack {
  position: relative;
  width: 400px;
  height: 400px;
}

.card {
  position: absolute;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-1 {
  z-index: 1;
  transform: rotate(-10deg) translate(-40px, 20px) scale(0.9);
  opacity: 0.8;
  filter: blur(1px);
}

.card-2 {
  z-index: 2;
  transform: rotate(5deg) translate(20px, -20px) scale(0.95);
  opacity: 0.9;
}

.card-3 {
  z-index: 3;
  transform: rotate(-2deg) translate(0, 0) scale(1);
}

/* Hover effect on stack */
.card-stack:hover .card-1 {
  transform: rotate(-15deg) translate(-80px, 40px) scale(0.9);
}

.card-stack:hover .card-2 {
  transform: rotate(10deg) translate(60px, -40px) scale(0.95);
}

.card-stack:hover .card-3 {
  transform: rotate(0deg) scale(1.05);
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .social-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visuals {
    height: 400px;
  }

  .card-stack {
    width: 300px;
    height: 300px;
  }
}

/* ========================================
   GLOBAL MOBILE ALIGNMENT & SPACING FIXES
   ======================================== */

@media screen and (max-width: 767px) {

  /* 1. Global Container Spacing */
  body {
    padding-top: 60px !important;
    /* Smaller header spacing */
    overflow-x: hidden;
  }

  .nav-menu-container {
    padding: 0.8em 1.25em !important;
    /* Consistent horizontal padding */
    width: 100%;
    max-width: 100%;
  }

  /* 2. Typography Adjustments */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    hyphens: auto;
  }

  h1 {
    font-size: 2.5rem !important;
    /* Smaller H1 on mobile */
    line-height: 1.1;
  }

  p {
    font-size: 1rem !important;
    /* Readable body text */
    line-height: 1.5;
  }

  /* 3. Button Standardization */
  .cta-button,
  button,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    /* Full width buttons on mobile usually look better */
    max-width: 300px;
    /* But not too wide */
    margin: 10px auto;
    /* Center alignment */
    display: block;
    text-align: center;
    padding: 12px 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  /* 4. Home Page Specifics */
  .hero-image {
    font-size: 18vw !important;
    /* Adjust big text to fit screen */
    line-height: 0.9;
    margin-top: -10vh;
    /* Pull up slightly */
  }

  .wd-container {
    display: block !important;
    /* Show marquee on mobile */
    width: 100vw;
    overflow: hidden;
    margin-top: 20px;
  }

  .wd-row span {
    font-size: 3rem !important;
    /* Smaller text for mobile marquee */
  }

  .our-work-content {
    padding: 40px 20px;
    text-align: center;
    order: 2;
    /* Move text below on mobile */
  }

  .our-work-content h1 {
    font-size: 2rem !important;
    margin-bottom: 20px;
  }

  .our-work-buttons {
    justify-content: center;
    flex-direction: row !important;
    /* Keep side by side */
    gap: 10px !important;
    /* Reduce gap */
    flex-wrap: nowrap !important;
  }

  .our-work-buttons .cta-button {
    width: auto !important;
    /* Let content define width */
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    /* Smaller padding */
    font-size: 0.9rem !important;
    /* Smaller text */
    white-space: nowrap !important;
    /* Force single line */
    display: inline-block !important;
  }

  .our-work-section {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Rocket appearing first on mobile */
  .our-work-animation {
    order: 1 !important;
    /* Move rocket to top */
    position: relative !important;
    /* Reset absolute positioning */
    inset: auto !important;
    margin: 0 auto 30px auto !important;
    transform: none !important;
    height: 300px !important;
    /* Restrict height */
    width: 100% !important;
    overflow: visible !important;
  }

  .rocket {
    top: 10% !important;
    /* Adjust float position */
    left: 50% !important;
    /* Center horizontally */
    /* Transform handled by keyframe animation (translateX -50%) */
    transform: scale(0.8);
  }

  /* Ensure Services Section is Visible */
  .services-described {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
  }

  .services-left,
  .services-right {
    width: 100% !important;
    height: 80vw !important;
    /* Square-ish height relative to viewport width */
    min-height: 300px;
    flex: none !important;
    /* Disable flex scaling */
  }

  .blur-box {
    height: 40% !important;
    /* Ensure content area is visible */
    background: rgba(0, 0, 0, 0.6) !important;
    /* Darker background for legibility */
    backdrop-filter: blur(10px);
  }

  .description {
    opacity: 1 !important;
    /* Always show description on mobile */
    transform: none !important;
    bottom: 80px !important;
    width: 90%;
  }

  .icon {
    opacity: 0 !important;
    /* Hide big icon on mobile to save space if needed, or keep it */
  }

  .title {
    bottom: 120px !important;
  }

  .services-number {
    bottom: 160px !important;
  }

  /* 5. About Page Scroll Fixes */
  .about-scroller {
    height: auto !important;
    /* Disable strict height scrolling */
    min-height: 100vh;
  }

  .pinned-scene {
    position: relative !important;
    /* Unpin for natural scroll */
    height: auto !important;
    flex-direction: column;
    padding: 40px 0;
  }

  .visual-dynamic,
  .visual-stationary {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    padding: 20px;
  }

  .mask-wrapper {
    width: 80vw !important;
    height: 80vw !important;
    margin: 0 auto;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }

  .content-block {
    position: relative !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
  }

  /* 6. Footer Alignment */
  .last-container {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-branding {
    font-size: 3rem !important;
  }

  .bottom-text {
    flex-direction: column;
    gap: 10px;
  }

  /* 7. General Section Padding */
  section,
  .section-spacer {
    padding: 40px 20px;
  }

  /* 8. Fix Horizontal Overflows */
  * {
    max-width: 100vw;
  }
}

/* Close the mobile media query properly */

/* =========================================
   MOBILE SIDE MENU (Behind Header)
   ========================================= */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 9997;
  /* Below the menu container */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #161613;
  /* Charcoal Black */
  z-index: 9998;
  /* Above overlay, below header (9999) */
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 120px 20px 40px;
  /* Space for the 100px header */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Internal "X" Close Button */
.mobile-menu-close {
  position: absolute;
  top: 1.3em;
  /* Adjusted to align with Logo and Schedule Call button */
  right: 1.25em;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10001;
  pointer-events: auto;
}

.mobile-menu-close span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-menu-close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu-container.active {
  transform: translateX(0);
}

/* Links Styling */
.mobile-menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 35px;
  text-align: center;
  width: 100%;
}

.mobile-menu-items li a {
  font-family: 'Satoshi', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  /* Same as Schedule a Call button */
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.mobile-menu-items li a:hover,
.mobile-menu-items li a.active {
  color: #f20707 !important;
  opacity: 1 !important;
}

/* Ensure the Word "Work" and its arrow are perfectly centered together */
.mobile-menu-items li a.dropdown-parent {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px;
  width: auto;
  margin: 0 auto;
}

.mobile-menu-items li a.dropdown-parent .arrow-icon {
  width: 20px !important;
  height: 20px !important;
  transition: transform 0.3s ease;
}

.mobile-menu-items .has-dropdown.active .dropdown-parent .arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown Handling */
.mobile-menu-items .has-dropdown .dropdown {
  display: none !important;
  position: static !important;
  /* Push content down instead of overlaying */
  margin: 15px auto 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100% !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.mobile-menu-items .has-dropdown.active .dropdown {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  align-items: center !important;
}

.mobile-menu-items .dropdown li {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mobile-menu-items .dropdown li a {
  font-size: 1.3rem !important;
  font-weight: 400 !important;
  color: #fff !important;
  opacity: 0.6 !important;
  padding: 5px 0 !important;
  text-align: center !important;
  width: 100% !important;
  background: transparent !important;
}

.mobile-menu-items .dropdown li a:hover,
.mobile-menu-items .dropdown li a.active {
  opacity: 1 !important;
  color: #f20707 !important;
}

/* Remove desktop-only bridge */
.mobile-menu-items .dropdown::before {
  content: none !important;
}

/* --- HAMBURGER TO X ANIMATION --- */
.menu-toggle {
  position: relative;
  z-index: 10000;
}

.menu-toggle span {
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

/* Animation Removed - X is now part of the menu container */
.menu-toggle.active span {
  opacity: 0 !important;
  /* Hide hamburger lines only when menu is active */
}