.top-left {
  position: absolute;   /* keep it anchored in the hero */
  top: 0;
  left: 0;
  display: flex;        /* flex row */
  align-items: center;  /* vertical alignment vs logo */
  gap: 0.5rem;             /* space between logo and text */
  padding: 0.75rem;        /* inset from top/left edges */
}


.header {
    text-align: center;
}

.Title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.75rem);     /* 2rem at 320px, 5vw at 1280px, 3.75rem at 1920px */
}

.container {
    text-align: center;
}

.content {
    display: grid;
    row-gap: 20px;
}

h1 {
    margin: 16px 0 8px;
}

h2 {
    margin: 0px 0 8px;
}

.footer {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #ccc;
}

.Hero_image {           /* anchor overlay to the hero container */
  position: relative;
  margin-bottom: 40px;  /* keeps the gap before Announcements */
  border-radius: 16px;
  overflow: hidden;
}

.Hero_image img {       /* ensure the image sets the container height */
  width: 100%;
  height: auto;
  display: block;
}

.hero_overlay {
  position: absolute;
  inset: 0;
  padding: 20% 24px 24px;
  text-align: center;
  color: #fff;
  /* gradient only if you're keeping the <img> element */
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.45));
}

.hero_overlay h1,
.hero_overlay h2 {
  margin: 0;                /* remove default large margins */
  line-height: 1.2;         /* tighter text */
}

.slide-up {
    animation: slide-up 0.5s ease-in-out;
}

@keyframes slide-up {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.top-left img {
  width: clamp(40px, 8vw, 90px);
  height: clamp(40px, 8vw, 90px);
  object-fit: contain;  /* keep proportions */
  /* remove any padding-left here */
}

.top-left-text {
  position: static;       /* remove absolute */
  text-align: center;
  display: flex;
  flex-direction: column; /* stack FHS / Coding Club */
  line-height: 1.1;       /* tighten line spacing */
  font-size: clamp(1rem, 3vw, 1.5rem);
}

.top-left-text p {
  margin: 0;              /* remove default paragraph margins */
}

#announcementCarousel .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background-color: white;
  color: black;
  min-height: 175px;
  min-width: auto;
}

#announcementCarousel .card-title {
  font-weight: bold;
}

#announcementCarousel .card-text {
  font-size: 2.5rem;
}

#announcementCarousel .card-title {
    font-size: 3.0rem;
}

