.hero-section {
  height: 75vh;             /* Full viewport height */
  background-color: #32312E;
  overflow: hidden;          /* Hide any overflow from the image */
}

@media (min-width: 968px) {
  .hero-section {
    height: 80vh; 
  }
}

.hero-text {
  padding-left: 8svw !important;
}

.hero-title {
  font-size: clamp(1.5rem, 2.5vw, 6rem);
  font-weight: bold;
  color: #FFF;
  margin-bottom: 0;
  width: 100%;
}

.highlight {
  background-color: #ffcb1d;
  color: black;
  padding: 0 0.25rem; 
}

.hero-subtitle {
  font-size: clamp(1rem, 1vw, 1.25rem);
  color: #D9D9D9;
  max-width: 500px;
}

.hero-buttons .btn {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1em;
  padding: 0.75rem 1.5vw;
  border-radius: 9px;
  border: none;
  transition: 0.2s ease-in;
  margin-bottom: 1rem;
}

.hero-image {
  height: 100%;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 10%;
  height: 100%;
  background: linear-gradient(to right, #32312E 0%, rgba(50,49,46,0) 100%);
  pointer-events: none;
}

.btn-primary {
  background-color: #ffcb1d;
  color: black;
  margin-right: 1rem;
}
.btn-primary:hover {
  background-color: #ffe077;
  color: black;
}
.btn-outline-primary {
  border: 1px solid black;
  outline-style: solid;
  outline-color: #e1e1e1 !important;
  color: #fff !important;
}
.btn-outline-primary:hover {
  background-color: #e1e1e1 !important;
  color: black !important;
}

.logo-carousel {
  overflow: hidden;
  width: 100%;
  margin: 2rem auto;
  position: relative;
  padding-bottom: 2rem;
  border-bottom: 1.5px solid #EAEAEA;
}

.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px; /* how wide the fade is on each side */
  pointer-events: none; /* let clicks pass through */
  z-index: 1;
}
.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #F5F5F5 20%, rgba(245, 245, 245, 0) 100%);
}
.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #F5F5F5 20%, rgba(245, 245, 245, 0) 100%);
}


.logo-track {
  display: inline-flex;
  white-space: nowrap;
  transform: translateX(0);
  /* animation: scroll-left 30s linear infinite; */
}

.logoimg {
  height: 60px;       /* or 80px, etc. */
  width: auto;        /* maintain aspect ratio */
  object-fit: contain;/* or cover, if you prefer */
  margin-right: 2rem; /* spacing between logos */
}

.copresentor {
  width: 100%;
  margin: 3em auto 1em;
}

.copresentor h2 {
  font-size: clamp(1rem, 1vw, 2rem);
  text-align: center;
  margin: auto;
}

.copresentor.horzlist {
  width: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: auto;
}

#img1 {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 1em auto; 
  display: block; 
}

.copresentor #img2 {
  margin: 1em;
  height: 6.125vw;
  width: auto;
}

.welcome {
  text-align: center;
  padding: 0 10%;
}

.welcome h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 2%;
}

@media (max-width: 768px) {
  .welcome h1 {
    font-size: 1.8rem; /* Smaller on mobile */
  }
  .welcome p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .cardcategory {
    width: 90% !important;
    margin: 0.5rem auto;
    padding: 1rem;
    font-size: 12px;
  }
  .cardcategory .cardcontainer .card {
    flex: 0 0 calc(50% - 0.5rem); /* two columns, adjusted for gap */
    max-width: calc(50% - 0.5rem);
  }
  .namelogo {
    padding: 20px !important;
  }
}

@media (min-width: 1200px) {
  .welcome h1 {
    font-size: 3rem; /* Larger on big screens */
  }
}

.welcome p {
  color: #636363;
  width: 100%;
}

.vertcontainer {
  display: flex;
  flex-direction: column;
}

.cardcategory {
  width: 70%;
  /* max-width: 1200px; */
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgb(255, 255, 255, 0.63);
  border-radius: 12px !important;
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.cardcategory h2 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  margin-right: 1rem;
  font-weight: 700;
}

.cardcategory hr {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
  border-color: black;
  margin: 2rem 0;
}

.cardcategory p {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  margin: 1vw 0 1.5vw;
  padding-right: 2rem;
}

.cardcategory a {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  justify-self: end;
  margin: 1vw 0 1.5vw;
}

.cardcategory .container {
  grid-column: 1 / 4;
}

.cardcategory .cardcontainer {
  margin-top: 1rem;
  grid-column: 1 / 4;
  grid-row: 3 / 4;
  display: flex;
  gap: 1rem;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.card.opp {
  display: flex;
  flex-direction: column;   /* stack items vertically (image, then text) */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically */
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px !important;
  border: none;
  text-align: center;
  flex-basis: 30%;
  flex-grow: 0;
  flex-shrink: 0;
  transition: 0.2s ease-in;
}

.card.opp img, .card.namelogo img {
  /* padding: 20px; */
  margin: 0 auto;
  object-fit: contain;
  width: 100%;
  max-width: 80%;
  height: auto;
  justify-self: center;
  align-self: center;
}

.card.opp h7,
.card.opp h4,
.card.namelogo h4 {
  font-size: 1rem;  /* or clamp(0.9rem, 1.5vw, 1.25rem) */
}


.card.opp h7 {
  font-weight: 900;
  text-decoration: underline 3px #ffcb1d;
  text-underline-offset: 5px;
}

.card.opp h4 {
  margin: 2.5% 5% 5%;
  font-weight: 700;
  opacity: 0;
}

.cardcontainer .card.opp:hover h4 {
  visibility: visible;
  opacity: 0.5;
  transition: 0.3s ease-in;
}

.card.namelogo {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px !important;
  border: none;
  text-align: center;
  flex-basis: 30%;
  flex-grow: 0;
  flex-shrink: 0;
  transition: 0.2s ease-in;
  position: relative;
  align-items: center;     /* center horizontally */
  justify-content: space-between;
}

.card.namelogo a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.card:hover {
  transform: translate3d(0px, -5px, 0px);
  transition: 0.2s ease-in;
}

.card.namelogo h4 {
  margin: 2.5% 5% 5%;
  font-weight: 700;
}

#partners .cardcontainer .card.namelogo h4 {
  visibility: hidden;
  color: rgb(0, 0, 0, 0);
  transition: 0.3s ease-in;
}

#partners .cardcontainer .card.namelogo:hover h4 {
  visibility: visible;
  color: rgb(0, 0, 0, 1);
  transition: 0.5s ease-in;
}

.bottombg {
  background: linear-gradient(
    3deg,
    #ffcb1d 15%,
    #ffe077 15%,
    #ffe077 17.5%,
    #ffeeb5 17.5%,
    #ffeeb5 20%,
    #f3f3f3 20%
  );
  background-repeat: no-repeat;
  padding: 0 0 7.5em;
  margin: 0;
}

/* Job Fair 2025 Elements */
.company-title {
  color: {{event.event.banner_color}}; 
  font-weight: 700 !important; 
  font-size: 16px;
}

@media (max-width: 990px) {
  .hero-section {
    height: 100%;
    width: 100%;
  }

  .col-lg-5, .col-lg-7 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-title, .hero-subtitle {
    text-align: center;
    align-items: center;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    padding-left: 0 !important;
    justify-content: center;
    display: flex;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, #32312E 0%, rgba(50,49,46,0) 100%);
    pointer-events: none;
  }
}

.row {
  margin-left: -7.5px;
  margin-right: -7.5px;
}

.custom-col {
  padding-left: 7.5px;
  padding-right: 7.5px;
  margin-bottom: 15px; /* vertical gap between rows */
}

@media (min-width: 1200px) {
  .custom-col-3 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
  .custom-col-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.card-equal {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100px;
  border-radius: 8px;
  padding: 4px;
}

.logostitle {
  color: #333;
  font-weight: 700;
  /* font-size: 15px; */
  text-align: center;
}
