* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Montserrat";
}

.contact-html,
.contact-body {
  height: 100%;
}

.contact-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url("../assets/images/contact-us-bck.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact-body main {
  flex: 1;
}

.text-27 {
  font-size: 1.6875rem;
}

.text-24 {
  font-size: 1.5rem;
}

.text-21 {
  font-size: 1.3125rem;
}

.text-18 {
  font-size: 1.125rem;
}

.text-17 {
  font-size: 1.0625rem;
}

.text-16 {
  font-size: 1rem;
}

.text-15 {
  font-size: 0.9375rem;
}

.text-12 {
  font-size: 0.75rem;
}

.text-11 {
  font-size: 0.6875rem;
}

.text-13 {
  font-size: 0.8125rem;
}

.text-14 {
  font-size: 0.875rem;
}

.text-uppercase {
  text-transform: uppercase;
}

.fw-700 {
  font-weight: 700;
}

.fw-600 {
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}

.fw-400 {
  font-weight: 400;
}

.fw-300 {
  font-weight: 300;
}

.w-full {
  width: 100%;
}

.w-fit {
  width: fit-content;
}

.d-flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.self-center {
  justify-self: center;
}

.self-end {
  justify-self: end;
}

.align-self-center {
  align-self: center;
}

.text-center {
  text-align: center;
}

.text-d-none {
  text-decoration: none;
}

.text-black {
  color: black;
}

.relative {
  position: relative;
}

.header {
  background-image: url("../assets/images/Group 3.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.institute-content {
  background-image: url("../assets/images/research-bck.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.bck1 {
  background-image: url("../assets/images/backgrournd2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.bck2 {
  background-image: url("../assets/images/bck2.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.header-content {
  width: 100%;
  max-width: 1250px;
  margin-inline: auto;
  padding: 0 16px;
}

.content {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 16px;
}

.video-content-wrapper {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding: 0 16px;
}

.contact-content {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding: 0 16px;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mt-36 {
  margin-top: 9rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12rem;
  padding-bottom: 6rem;
}

.oif-logo {
  width: 406px;
}

.ucf-header-logo {
  max-width: 600px;
}

.oif-header-logo {
  width: 167px;
  height: 71px;
}

.p-t-1 {
  padding-top: 1rem;
}

.p-t-1-5 {
  padding-top: 1.5rem;
}

.p-in-13 {
  padding-inline: 13rem;
}

.p-in-11 {
  padding-inline: 11rem;
}

.header-nav a {
  color: black;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.empower {
  max-width: 984px;
  padding-inline: 16px;
}

.button-oif {
  text-decoration: none;
  text-transform: uppercase;
  padding: 18px 18px;
  border-radius: 8px;
  background: #3d98aa;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.button-oif:hover {
  background: white;
  color: #3d98aa;
  border: 2px solid #3d98aa;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(61, 152, 170, 0.35);
}

.button-oif:active {
  transform: translateY(-1px);
}

.mission-change-container {
  background-image: url("../assets/images/bck-black-shapes.png");
  background-color: black;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-block: 5rem;
}

.mission-change {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  color: white;
}

.mission-change-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-button-container button {
  border: none;
  padding: 1rem 0;
  width: 175px;
  border-radius: 8px;
  color: white;
  background-color: #af206d;
  font-variant: all-small-caps;
  cursor: pointer;
  display: flex;
  justify-content: center;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.mission-button-container button:hover {
  border: 2px solid #af206d;
  background-color: white;
  color: #af206d;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(175, 32, 109, 0.35);
}

.mission-button-container button:active {
  transform: translateY(-1px);
}

.students-working {
  width: 100%;
}

.oif-staff-quotes {
  padding-block: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
}

.key-research {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.key-research:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.list-research {
  margin-top: 1rem;
  margin-left: 30px;
  text-align: left;
}

.list-research-page,
.study-list ul {
  margin-left: 30px;
}

.list-research ul,
.study-list ul {
  list-style: none;
}

.list-research li,
.study-list li {
  position: relative;
}

.list-research li::before,
.study-list li::before {
  content: "";
  width: 2px;
  height: 2px;
  background-color: currentColor;
  border-radius: 50%;
  position: absolute;
  left: -15px;
  top: 0.6em;
}

.melissa-clark {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

.michele-gill {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
}

.opportunity-gap {
  display: grid;
  grid-template-columns: 2fr 4fr;
  gap: 2rem;
}

.opportunity-partnership {
  display: grid;
  grid-template-columns: 4fr 2fr;
  gap: 2rem;
}

.instructor-training {
  display: grid;
  grid-template-columns: 2fr 4fr;
  gap: 2rem;
}

.gary-container {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
}

.gary-conroy {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
}

.tiered-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.tiered-content {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease, background 0.4s ease;
}

.tiered-content:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tiered-content svg {
  align-self: center;
  justify-self: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
}

.video-play-btn svg {
  width: 36px;
  height: 36px;
}

.news-room-card {
  padding: 2rem;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(60px);
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
}

.news-room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-text {
  color: #6b7280;
}

.read-more {
  margin-bottom: 0.12rem;
}

.news-room-card a {
  text-decoration: none;
  color: black;
}

.contact-container {
  display: grid;
  grid-template-columns: 4fr 3fr;
}

/* Input Style */
.input-container-modal {
  border-radius: 8px;
  border: none;
  padding: 1rem 0.625rem 0.625rem;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

.input-style {
  display: block;
  width: 100%;
  appearance: none;
  font-size: 0.875rem;
  color: #111827;
  transition: border-color 0.3s;
  background: transparent;
  border: none;
}

.input-style:focus {
  outline: none;
}

.label-style {
  position: absolute;
  cursor: text;
  left: 0.625rem;
  top: 0.75rem;
  z-index: 10;
  transform-origin: 0;
  transform: translateY(0);
  font-size: 0.875rem;
  color: #9297a1;
  transition: transform 0.3s, font-size 0.3s, color 0.3s;
}

.input-style:focus + .label-style,
.input-style:not(:placeholder-shown) + .label-style,
.input-style:valid + .label-style {
  transform: translateY(-0.75rem) scale(0.75);
}

.input-style:placeholder-shown + .label-style {
  transform: translateY(0);
  font-size: 1rem;
}

.input-style:focus + .label-style {
  transform: translateY(-0.75rem) scale(0.75);
}

.news-room-carousel {
  display: grid;
  gap: 2rem;
}

[dir="rtl"] .input-style:focus + .label-style {
  left: auto;
  transform: translateX(25%);
}

.send-btn {
  border: none;
  background-color: #3d98aa;
  padding: 12px 0;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.send-btn:hover {
  background-color: #2d7a8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(61, 152, 170, 0.3);
}

.send-btn:active {
  transform: translateY(0);
}

.field-error {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.toast-notification:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.textarea-style textarea {
  font-family: "Montserrat";
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background-color: #231f20;
  padding: 0.5rem 2rem;
  color: #ffff;
}

footer a {
  text-decoration: none;
  color: #ffff;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

footer a img,
footer a svg {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

footer a:hover img,
footer a:hover svg {
  transform: scale(1.15);
}

@media (min-width: 1024px) {
  .header-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3d98aa;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .header-nav a:hover::after {
    width: 100%;
  }
  
  .header-nav a:hover {
    color: #3d98aa;
  }

 }

/* ========== TABLET ========== */
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }

  .mission-change,
  .opportunity-gap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .opportunity-partnership,
  .instructor-training {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .item-partner {
    grid-row: 1;
  }

  .mission-change-content {
    align-items: center;
  }

  .oif-staff-quotes {
    padding-inline: 4rem;
    grid-template-columns: 1fr;
  }

  .melissa-clark,
  .michele-gill {
    grid-template-columns: 1fr;
    text-align: center;
    grid-column: span1;
  }

  .michele-gill .michele-gill-image,
  .gary-conroy .gary-conroy-img {
    order: 1;
  }

  .michele-gill > p,
  .gary-conroy > p {
    order: 2;
  }

  .gary-container {
    padding-inline: 4rem;
    grid-template-columns: 1fr;
  }

  .gary-conroy {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .news-room-content {
    grid-template-columns: 1fr 1fr;
    padding-inline: 0rem;
  }

  .image-250 {
    max-width: 250px;
  }

  .image-250 {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .image-250:hover {
    transform: scale(1.03);
  }

  .md-mx-auto {
    margin-inline: auto;
  }

  .students-working {
    grid-row: 1;
  }

  .self-center-md {
    justify-self: center;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  footer div {
    justify-content: center;
  }
}

/* ========== PHONE ========== */
@media (max-width: 767px) {
  html {
    font-size: 12px;
  }

  .hamburger {
    display: block;
    color: black;
  }

  .header-nav {
    display: none;
    width: calc(100% - 32px);
    position: fixed;
    top: 73px;
    left: 16px;
    right: 16px;
    background: #fff;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .header-nav.mobile-open {
    display: flex;
  }

  .col-center-sm {
    flex-direction: column;
    justify-content: center;
  }

  header {
    text-align: center;
  }

  .oif-logo {
    display: none;
  }

  .header-logo {
    padding-top: 6rem;
  }

  .mission-change,
  .opportunity-gap {
    gap: 1.5rem;
  }

  .oif-staff-quotes {
    padding-inline: 1.5rem;
  }

  .melissa-clark p,
  .michele-gill p,
  .gary-conroy p {
    text-align: center;
  }

  .tiered-container {
    grid-template-columns: 1fr;
  }

  .news-room-content {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-us-footer {
    margin-top: 1rem;
  }

  .contact-location-icon {
    width: 20px;
    height: 20px;
  }

  .contact-phone-icon,
  .contact-email-icon {
    width: 16px;
    height: 16px;
  }

  footer {
    padding: 1rem;
  }

  footer img {
    width: 24px;
    height: 24px;
  }
}
