:root {
  --uf-blue: #0021A5;
  --uf-blue-dark: #002657;
  --uf-blue-light: #3B5BA9;
  --section-gray: #F5F9FA;
  --uf-beige: #faf8f3;
  --max-w: 72rem;
  --card-border: #222;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap');

body {
  background: var(--uf-beige);
  position: relative; 
  padding-top: 0; 
  margin: 0;   /*not in demo_audio_deception & demo_video_deception */
  font-family: Arial, sans-serif; /*not in demo_audio_deception & demo_video_deception */
}

/* Accessibility helpers */
.visuallyhidden {
  position: absolute !important;
  height: 1px; width: 1px;
  /* overflow: hidden; */
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.focusable:active,
.focusable:focus {
  position: static !important;
  height: auto; width: auto;
  overflow: visible;
  clip: auto; 
  white-space: normal;
  background: #ff0; 
  color: #000;
  z-index: 10000;
  padding: 0.5em 1em;
  border-radius: 4px;
  outline: 2px solid var(--uf-blue);
}

/* Quiz container */
.quiz-container {
  background: rgba(255,255,255,0.92);
  border: 4px solid #fff;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  max-width: 75%;
  margin: 3rem auto 2rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mt-5 {
  margin-top: 5rem !important;
}

.quiz-container h1 {
  margin-bottom: 1rem;
}

.quiz-question,
.quiz-result {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons row */
.quiz-buttons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.quiz-bg-container {
  background: rgba(255,255,255,0.92);
  border: 4px solid #fff;
  border-radius: 18px;
  padding: 2.5rem 2rem 2.5rem 2rem;
  max-width: 75%;
  margin: auto;
  /* margin-top: 3rem; */
  margin-bottom: 2rem;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quiz-bg-container h1, .quiz-bg-container h2, .quiz-bg-container p, .quiz-bg-container button, .quiz-bg-container label {
  text-align: center;
}
#quiz-result {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#score-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.btn-answer,
.btn-next,
.btn-back {
  background: #00529B;
  color: var(--uf-beige);
  border: none;
  border-radius: 4px;
  padding: 1rem 1.75rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}



.btn-answer:hover,
.btn-next:hover,
.btn-back:hover {
  background: var(--uf-blue);
}

/* Next button hidden until needed */
.btn-next {
  display: none;
}

.btn-next.show {
  display: block;
}

/* Feedback text */
.quiz-feedback {
  font-size: 2rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* Result screen */
.quiz-result {
  display: none;
  margin-top: 2rem;
  align-items: center;
}

.demo-nav {
  width: 100%;
  background: rgba(255,255,255,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 1.2rem 0 1.2rem 0;
  font-size: 1.08rem;
  letter-spacing: .02em;
  font-weight: 500;
  border-bottom: 1px solid #e0e4e8;
  margin-bottom: 0;
}

.demo-nav a {
  color: #222;
  text-decoration: none;
  transition: color .2s;
}

.demo-nav a:hover {
  color: var(--uf-blue);
}

.hero-demo {
  background: url('https://fics.institute.ufl.edu/wp-content/uploads/sites/466/2025/05/ai-version.jpg') center/cover no-repeat;
  color: #fff;
  padding: 4rem 1rem 3rem 1rem;
  text-align: center;
  position: relative;
  margin-bottom: 0;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-demo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 33, 65, 0.7);
  z-index: 1;
}

.hero-demo-content {
  max-width: 55%;
  margin: 0 auto;
  z-index: 2;
  position: relative;
  text-align: left;
  border: 5px solid #fff;
  padding: 3rem;
  margin-left: 14.3333333333%;
  background: rgba(255,255,255,0.85);
  color: #00529b;
  margin-top: 3rem;
}

.hero-demo-content h1,
.hero-demo-content em,
.hero-demo-content p,
.hero-demo-content div {
  color: #00529b !important;
}

.hero-demo h1 {
  margin-top: 10px;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: .5rem;
  line-height: 1.1;
}

.hero-demo em {
  display: block;
  font-size: 1.3rem;
  margin-bottom: .5rem;
  font-style: italic;
  color: #c7d6f7;
}

.hero-demo p {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: #e3eaf7;
}

.hero-demo-content h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.hero-demo-content em {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: #00529b;
  display: block;
}

.hero-demo-content .deepfake-title {
  font-family: 'TT Commons Pro', 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  color: #00529b;
}

.hero-demo-content .hero-desc {
  font-family: 'Canva Sans', 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  color: #00529b;
  margin-bottom: 0rem;
}

.cards-demo {
  color: var(--uf-beige);
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 2.5rem auto 3rem;
}

.card-demo {
  background: #fff;
  border: 5px solid var(--uf-blue-dark);
  border-radius: 0;
  flex: 0 1 30%;
  text-align: center;
  box-shadow: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  /* padding: 1.5rem; */
  /* margin: 20px; */
}

.card-demo img {
  width: 180px;
  height: 180px;
  margin-bottom: 0;
  margin-right: 2.25rem;
}

.card-demo h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  text-align: center;
  color: var(--uf-beige);
}

.card-text {
  text-align: left;
  margin-right: 1.25rem;
  color: var(--uf-blue-dark);
}

.card-text .btn-demo{
  display:block;
  width:max-content;
  margin: 0 auto;
}

.card-demo strong {
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.card-demo p {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 1.25rem;
}

.btn-demo {
  background:var(--uf-blue-dark); /* MP in demo_audio_deception.html & demo_video_deception.html #00529B*/
  color: var(--uf-beige);
  font-weight: 600;
  border-radius: 4px;
  padding: .85rem 1.75rem; /* MP in demo_audio_deception.html & demo_video_deception.html padding: 1rem 1.75rem;*/
  border: 0;
  font-size: 1.5rem; /* MP in demo_audio_deception.html & demo_video_deception.html font-size: 2rem;*/
  margin:0.5rem ; /* MP in demo_audio_deception.html & demo_video_deception.html margin:0.5rem;*/
  display: inline-block;
  text-align: center;
  transition: background .2s;
}

.btn-demo:hover {
  background: var(--uf-blue-light);
  color: var(--uf-beige);
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer-bar {
  width: 100vw;
  background: #002657;
  color: white;
  text-align: center;
  font-size: .9rem;
  padding-block: 2rem;
  margin-top: auto;
  position: relative;
  left: 0;
  bottom: 0;
  z-index: 10;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-content p {
  margin-bottom: 1.5rem;
}

.footer-logos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.footer-col-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 0;
}

@media (max-width: 600px) {
  .footer-logos {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Responsive styles for mobile and tablet */
@media (max-width: 900px) {
  .hero-demo-content {
    max-width: 90%;
    margin-left: 0;
    padding: 2rem 1rem;
    margin-top: 2rem;
  }
  .hero-demo {
    min-height: 600px;
  }
  .cards-demo {
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem auto 2rem;
  }
  .card-demo {
    flex-direction: column;
    max-width: 95vw;
    margin: 0 auto 2rem auto;
    padding: 1.5rem 1rem;
  }
  .card-demo img {
    margin: 0 0 1rem 0;
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 600px) {
  .hero-demo-content {
    padding: 1rem 0.5rem;
    font-size: 1rem;
  }
  .hero-demo h1,
  .hero-demo-content h1 {
    font-size: 1.3rem;
  }
  .card-demo h2,
  .card-text h3 {
    font-size: 1.3rem !important;
  }
  .card-demo strong {
    font-size: 1rem !important;
  }
  .card-demo p {
    font-size: 1rem !important;
  }
  .btn-demo {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* Navbar/Menu Styles for header.html */
.header.unit {
  background: #002657;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  padding: 0.5rem 1rem;
  flex-wrap: wrap;
  min-height: 60px;
}

/* Logo container for side-by-side logos */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 200px;
  flex-shrink: 0;
  height: 100%;
}

/* White line divider between logos */
.logo-divider {
  width: 2px;
  height: 40px;
  background-color: #fff;
  margin: 0 0.25rem;
  flex-shrink: 0;
  align-self: center;
}

/* FICS logo link styling */
.logo-fics-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-fics-link:hover {
  opacity: 0.8;
}

/* UF logo styling */
.logo.icon-svg {
  flex-shrink: 0;
  max-width: 80px;
  display: flex;
  align-items: center;
}

.logo.icon-svg svg {
  max-width: 80px;
  height: auto;
  display: block;
}

/* FICS logo styling */
.logo-fics {
  max-width: 80px;
  height: auto;
  display: block;
}

/* FICS logo unit wrapper */
.logo-unit {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Override Bootstrap column classes for proper layout */
.col-logo {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.audience-nav-col {
  flex: 1 !important;
  width: auto !important;
  max-width: none !important;
}

/* Ensure main menu wrap uses proper flex layout */
.main-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
  min-height: 60px;
}

/* Mobile logo - hidden on desktop */
.logo.mobile {
  display: none;
}

/* Desktop menu - hidden on mobile */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Mobile navigation - hidden on desktop */
.mobile-nav {
  display: none;
  align-items: center;
  gap: 1rem;
  position: relative;
  flex-direction: row;
}

.menu-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-menu-wrap {
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  display: flex;
  align-items: center;
}

.main-menu-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.main-menu-link:hover {
  background: #00529B;
  color: #fff;
}

.aux-menu-wrap {
  margin-left: 2rem;
}

.aux-menu a {
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}

.aux-menu a:hover {
  text-decoration: underline;
}

/* Hidden checkbox for CSS-only toggle */
.mobile-menu-checkbox {
  display: none;
}

/* Hamburger menu button */
.btn-menu {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-menu .icon-close {
  display: none;
}

/* Show close icon when checkbox is checked */
.mobile-menu-checkbox:checked + .btn-menu .icon-menu {
  display: none;
}

.mobile-menu-checkbox:checked + .btn-menu .icon-close {
  display: block;
}

/* Mobile dropdown menu */
.mobile-dropdown-wrap {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #002657;
  border-top: 1px solid #00529B;
  z-index: 99;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Mobile navigation menu items container */
.mobile-nav > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
}

/* Show dropdown when checkbox is checked */
.mobile-menu-checkbox:checked ~ .mobile-dropdown-wrap {
  display: block;
}

.mobile-menu {
  flex-direction: column;
  gap: 0;
  padding: 1rem 0;
}

.mobile-menu .menu-item {
  width: 100%;
}

.mobile-menu .main-menu-link {
  display: block;
  padding: 1rem 2rem;
  border-radius: 0;
  border-bottom: 1px solid #00529B;
}

.mobile-menu .main-menu-link:hover {
  background: #00529B;
}

/* Search forms */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-wrap input[type="text"] {
  padding: 0.5rem;
  border: 1px solid #00529B;
  border-radius: 4px;
  background: #fff;
  color: #333;
}

.btn-search {
  background: #00529B;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
  cursor: pointer;
}

.btn-search:hover {
  background: #003d7a;
}

/* Responsive: Show mobile navigation on small screens */
@media (max-width: 900px) {
  .desktop-menu {
    display: none;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .logo.mobile {
    display: block;
  }
  
  .header.unit {
    padding: 0.5rem 1rem;
  }
}

/* Additional responsive adjustments */
@media (max-width: 600px) {
  .mobile-nav {
    gap: 0.5rem;
  }
  
  .search-wrap.mobile {
    display: none; /* Hide mobile search on very small screens */
  }
  
  .btn-menu {
    font-size: 1.25rem;
  }
}

