* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

.navbar {
  height: 10vh;
  width: 100%;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  font-family: 'Raleway', sans-serif;
}

.logo {
  height: 180%;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 1000;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #dd4e69;
}

.pushable {
  position: relative;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  outline-offset: 4px;
  outline-color: #dd4e69;
  transition: filter 250ms;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.shadow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #a23a4f;
  border-radius: 8px;
  filter: blur(2px);
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.edge {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(to right, #b84057 0%, #dd4e69 8%, #b84057 92%, #9c3044 100%);
}

.front {
  display: block;
  position: relative;
  border-radius: 8px;
  background: #dd4e69;
  padding: 16px 32px;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.pushable:hover {
  filter: brightness(110%);
}

.pushable:hover .front {
  transform: translateY(-6px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.pushable:hover .shadow {
  transform: translateY(4px);
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 15px;
}

.team-hero {
  background-color: #000000;
  color: #ffffff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5vw;
}

.team-overlay {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-header {
  text-align: center;
  margin-bottom: 80px;
}

.team-header h1 {
  font-size: 3rem;
  font-weight: 800;
}

.team-header p a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.team-header p a:hover {
  color: #dd4e69;
}

.team-content {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
}

.team-left,
.team-right {
  flex: 1;
}

.team-left h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.team-right p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.team-image-section {
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image-section img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  margin-bottom: 200px;
}

.team-marquee {
  background-color: #000;
  overflow: hidden;
  height: 15vh;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: scroll-left 20s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
}

.marquee-item.hollow {
  color: transparent;
  -webkit-text-stroke: 1px #ffffff;
  text-stroke: 1px #ffffff;
}

.marquee-arrow {
  width: 7rem;
  height: auto;
  display: inline-block;
  filter: brightness(1.1);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.team-showcase {
  width: 100%;
  padding: 80px 20px;
  background-color: #000;
  display: flex;
  justify-content: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
  max-width: 1000px;
  width: 100%;
  justify-items: center;
}

.team-member {
  text-align: center;
  color: white;
  transition: transform 0.3s ease;
}

.team-member img {
  width: 280px;
  height: auto;
  border-radius: 8px;
}

.team-member h3 {
  margin-top: 15px;
  font-size: 2rem;
  transition: color 0.3s;
}

.team-member p {
  font-size: 0.9rem;
  color: #aaa;
}

.team-member:hover h3 {
  color: #dd4e69;
}

.footer {
  background-color: #0e0e0e;
  color: #ffffff;
  padding: 60px 30px 30px;
  font-size: 1.2rem;
  width: 100%;
}

.footer-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  text-align: left;
}

.footer-logo img {
  width: 13rem;
}

.footer-column h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 2rem;
}

.footer-column a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #dd4e69;
}

.footer-column p {
  margin: 8px 0;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.footer-social a {
  font-size: 1.6rem;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px #dd4e69;
  color: #dd4e69;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 1rem;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #ccc;
  margin: 0 15px;
  text-decoration: none;
  font-size: 1rem;
}

.footer-links a:hover {
  color: #dd4e69;
}

.small-text {
  font-size: 1rem;
  color: #aaa;
  margin-top: 10px;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 30px;
  }
}

/* --- Media Query for Mobile Screens (max-width: 48rem / 768px) --- */
@media (max-width: 48rem) {
  /* Navbar adjustments - Assuming it's using the same Tailwind classes as other pages or similar custom CSS */
  /* If the navbar is still too large, adjust the min-height on `nav` or font-sizes for links */
  nav {
    height: auto; /* Allow navbar to expand/contract based on content */
    padding: 1rem 1rem; /* Adjust padding for smaller screens */
  }

  /* Team Hero Section */
  .team-hero {
    height: auto; /* Allow height to adjust based on content */
    padding: 60px 20px; /* Adjust padding */
    flex-direction: column; /* Stack content vertically */
    text-align: center; /* Center align content */
  }

  .team-overlay {
    max-width: 100%; /* Use full width */
  }

  .team-header {
    margin-bottom: 40px; /* Reduce margin */
  }

  .team-header h1 {
    font-size: 2.5rem; /* Smaller "Our Team" title */
  }

  .team-header p {
    font-size: 0.9rem; /* Smaller breadcrumb text */
  }

  .team-content {
    flex-direction: column; /* Stack left and right content */
    gap: 30px; /* Reduce gap */
    text-align: center; /* Center text within content box */
  }

  .team-left,
  .team-right {
    flex: none; /* Remove flex sizing */
    width: 100%; /* Take full width */
  }

  .team-left .section-label {
    font-size: 0.8rem; /* Smaller "OUR BENEFITS" */
    margin-bottom: 10px;
  }

  .team-left h2 {
    font-size: 1.8rem; /* Smaller "Our Team of Dedicated..." title */
    margin-bottom: 20px;
    line-height: 1.3;
  }

  .team-right p {
    font-size: 0.9rem; /* Smaller paragraph text */
    line-height: 1.6;
    margin-bottom: 15px; /* Adjust spacing between paragraphs */
  }

  /* Team Image Section */
  .team-image-section img {
    max-width: 95%; /* Make image take more width */
    margin-bottom: 80px; /* Reduce margin below image */
    height: auto; /* Allow height to scale naturally */
  }

  /* Team Marquee Section */
  .team-marquee {
    height: 10vh; /* Reduce marquee height */
  }

  .marquee-track {
    gap: 2rem; /* Reduce gap between marquee items */
    animation-duration: 15s; /* Speed up animation for less content */
  }

  .marquee-item {
    font-size: 2.5rem; /* Smaller marquee text */
  }

  .marquee-arrow {
    width: 4rem; /* Smaller arrows */
  }

  /* Team Showcase (Grid of Members) */
  .team-showcase {
    padding: 60px 15px; /* Adjust padding */
  }

  .team-grid {
    grid-template-columns: 1fr; /* Single column layout for team members */
    gap: 40px; /* Adjust gap between members */
  }

  .team-member img {
    width: 200px; /* Smaller image size */
  }

  .team-member h3 {
    font-size: 1.5rem; /* Smaller team member names */
  }

  .team-member p {
    font-size: 0.85rem; /* Smaller team member descriptions */
    padding: 0 10px; /* Add slight horizontal padding for text */
  }

  /* Footer Adjustments (reusing rules if applicable from marketing.css, but tailored for this footer) */
  .footer {
    padding: 40px 20px 20px; /* Adjust footer padding */
    font-size: 1rem; /* Base footer font size */
  }

  .footer-row {
    flex-direction: column; /* Stack footer columns */
    align-items: center; /* Center items in columns */
    text-align: center; /* Center text */
    gap: 30px; /* Reduce gap between columns */
  }

  .footer-logo img {
    width: 10rem; /* Smaller logo */
  }

  .footer-column h3 {
    font-size: 1.3rem; /* Smaller footer headings */
    margin-bottom: 15px;
  }

  .footer-column ul li {
    margin-bottom: 1rem; /* Reduce list item spacing */
  }

  .footer-column p {
    font-size: 0.9rem; /* Smaller paragraph text in footer */
  }

  .small-text {
    font-size: 0.85rem; /* Smaller text for subscribe description */
  }

  .footer-social a {
    font-size: 1.3rem; /* Smaller social icons */
  }

  .footer-bottom {
    font-size: 0.85rem; /* Smaller copyright text */
    margin-top: 30px;
  }

  /* Adjust pushable button for smaller screens if needed */
  .pushable .front {
    padding: 12px 24px; /* Smaller padding for button text */
    font-size: 0.9rem; /* Smaller button font size */
  }
}