html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Helvetica, sans-serif;
  overflow-x: hidden;
  background-image: url(images/red-social-bg.jpg);
  background-position: top;
  background-size: 100vw;
  background-repeat: no-repeat;
}

.social-media {
  color: white;
  height: 400px; /* keep this as is */
  display: flex;
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  text-align: center;
  background-color: none;
}

.social-media h2 {
  margin: 0 auto 10px !important; /* override any generic h2 rules */
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 900; 
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  color: white;
}

/* Default: show desktop version, hide mobile */
.desktop-title {
  display: inline;
}
.mobile-title {
  display: none;
}

.social-media p {
  margin-left:100px;
  margin-right:100px;
  font-size: 1.4rem;
  line-height: 140%;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0px;
  margin-top:0;
}

  .emphasize {
    font-size:1.45rem;
    font-weight: 900;
  }

.content {
  max-width: 1200px;
  padding: 2rem;
  border-radius: 16px;
  transition: opacity 1s ease, transform 1s ease;
  color: white;

  /* Optional: remove transform if using fade-in with translateY */
  transform: none;
}

/* For section 2, text is black so override color */
.social-media .content {
  /* color: #000;
  background: rgba(255, 255, 255, 0.7); */
  background: none;
  color:white;
}

/* Fade in animation */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.social-links {
  font-size: 1.2rem;
  color: rgb(201, 40, 45);
  z-index: 2; /* Higher than mascot (which is z-index: 1) */
}

.social-icons {
  display: flex;
  gap: 26px;
  font-size: 4rem;
  color: rgb(201, 40, 45);
  position: relative;
  z-index: 2; /* Higher than mascot (which is z-index: 1) */
}

/* Base social link style */
.social-links a {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  transition: color 0.3s ease;
  margin-right: 2rem; /* Adjust as needed */
}

/* Remove the right margin from the last link */
.social-links a:last-child {
  margin-right: 0;
}

.social-links a span {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

/* Arrow is an icon, no underline */
.social-links a i {
  font-size: 1.4rem;
}

/* Animated underline only under text */
.social-links a span {
  position: relative;
  display: inline-block;
}

.social-links a span::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 2px;
  width: 100%;
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Hover behavior */
.social-links a:hover {
  color: white;
}

.social-links a:hover span::after {
  transform: scaleX(1);
}


.extra-link {
  margin-top: 2rem;
}

.extra-link .cta-link {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  position: relative;
}

.extra-link .link-text {
  position: relative;
}

.extra-link .link-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.extra-link .cta-link:hover .link-text::after {
  transform: scaleX(1);
}

.extra-link .cta-link .arrow i {
  transition: transform 0.3s ease;
}

.extra-link .cta-link:hover .arrow i {
  transform: translateX(5px);
}


@media (max-width: 768px) {

}

/* Medium devices: tablets */
@media (min-width: 600px) and (max-width: 899px) {


}


/* Small devices: mobile phones */
@media (max-width: 599px) {

  html, body {
  height: 100%;
  background-size: cover;
  background-position: center;
}

.social-media {
  height: 100vh; /* fill the full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden; /* prevents content from overflowing past 400px */
  padding: 2rem 1rem; /* Optional: control spacing inside */
  box-sizing: border-box; /* ensures padding doesn't exceed height */
}
.social-media h2 {
  margin:0 auto;
  /* margin-bottom: 0px; */
  font-size: 3rem;
}

  .social-links a span {
    display: none;
  }

  .desktop-title {
    display: none;
  }
  .mobile-title {
    display: inline;
    font-size: 3.2rem;
    line-height: 3.2rem;
  }

.social-media p {
  margin-left:10px;
  margin-right:10px;
  font-size: 20px;
  line-height: 140%;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}

.social-links a {
  font-size: 2.5rem; /* Bigger icons */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.social-links a span {
  display: none; /* Hide text labels on mobile */
}

}