/* =============================================
   IAQG Authentication — Design Tokens
   ============================================= */

:root {
  --navy: #12245a;
  --dark-blue: #0c3183;
  --light-blue: #65b7dc;
  --orange: #faa21b;
  --white: #ffffff;
  --black: #000000;
  --gray-bg: #d9d9d9;
  --key-dates-bg : #f8f9fb;

  --font-main: 'Carlito', 'Calibri', Arial, sans-serif;
  --font-system: 'Carlito','Calibri', Arial, sans-serif;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  min-width: 960px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ul {
  list-style: none;
} */

/* =============================================
   Navigation Bar
   ============================================= */
.navbar {
  background-color: var(--navy);
  height: 48px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding: 0 24px;
  gap: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: 32px;
}

.nav-link {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s;
}

.nav-link:hover {
  opacity: 0.85;
  text-decoration: none;
}

.nav-link .fa-circle-question {
  font-size: 16px;
}

.nav-links .mobile-only-link {
  display: none;
}

.dashboard-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--orange);
  color: var(--navy);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  padding: 0 20px;
  height: 48px;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.dashboard-btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.dashboard-btn .fa-gauge-high {
  font-size: 22px;
}

/* =============================================
   Announcement Banner
   ============================================= */

.announcement-banner {
  position: fixed;
  margin: auto;
  left: 0;
  right: 0;
  top: 48px;
  overflow: hidden;
  background-color: var(--light-blue);
  clip-path: polygon(
    36px 0%, 
    calc(100% - 36px) 0%, 
    100% 00px, 
    100% calc(100% - 36px), 
    calc(100% - 36px) 100%, 
    36px 100%, 
    0% calc(100% - 36px), 
    0% 0px
  );
  height: 36px;
  z-index: 3;
  width: max-content;
  padding: 0 6em;
}

.announcement-content {
  justify-self: center;
  line-height: 36px;
}

.announcement-banner svg {
  height: 18px;
  vertical-align: sub;
  margin-right: 3px;
}

.announcement-banner span {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

/* =============================================
   Brand / Logo Bar
   ============================================= */
.brand-bar {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding: 16px 40px 0;
  min-height: 130px;
  margin-bottom: 30px;
  position: relative;
  margin-top: 10px;
}

.brand-logo img{
  height: 113px;
  width: auto;
}

/* .brand-logo{
  background: white url("assets/iaqg-auth-with-border.svg") no-repeat;
  width: 500px;
  height: 113px;
} */

.brand-news-label {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 44px;
  color: var(--navy);
  text-transform: uppercase;
  text-align: right;
  letter-spacing: 0.01em;
  align-self: end;
  flex: 1;
  position: relative;
}

.brand-divider {
  border: none;
  height: 1.5px;
  /* background: linear-gradient(90deg,rgb(255, 255, 255) 30%, rgba(167, 173, 193, 1) 100%); */
  /* margin: 0px 40px 30px; */
  position: absolute;
  width: 100%;
  z-index: -1;
  bottom: 0px;
  background-color: var(--navy);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: 344px;
  overflow: hidden;
  margin-top: 8px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* max-height: 500px; */
  overflow: hidden;
  margin: 0 40px;
  border: 1px solid rgba(167, 173, 193, 1);
}

.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover; 
  object-position: center bottom;
}

.hero-content {
  margin: 0 40px;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* padding: 0 40px; */
  /* max-width: 1200px; */
}

.hero-title-block {
  /* background: rgba(255, 255, 255, 0.75); */
  background: linear-gradient(to right,rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0) 100%);
  display: inline-block;
  padding: 10px 20px 10px 60px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 64px;
  color: var(--navy);
  line-height: 1.15;
  text-transform: none;
}

.hero-title-sub {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 40px;
  color: var(--navy);
  line-height: 1.15;
  text-transform: none;
}

.hero-subtitle {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 32px;
  color: var(--navy);
  text-transform: uppercase;
  position: absolute;
  bottom: 0.25em;
  right: 0.5em;
  text-align: right;
}

/* =============================================
   Main Content Area
   ============================================= */
.main-content {
  padding: 40px 40px 0;
}

.content-layout {
  display: flex;
  gap: 75px;
  /* display: grid;
  grid-template-columns: 1fr 580px;
  align-items: start; */

}

/* =============================================
   Article Column (Left)
   ============================================= */
.article-column {
  min-width: 0;
  flex: 0.75;
}

.article-heading {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 48px;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-subheading {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;

}

.article-icon {
  height: 40px;
  align-self: baseline;
  margin-top: 10px;
  flex: none;
}

.article-body .article-block {
  margin-bottom: 40px;
}

.article-body p, .article-body li {
  font-family: var(--font-main);
  font-size: 22px;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 15px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body li {
  margin-left: 30px;
  margin-bottom: 0;
}

.article-body li:last-child {
  margin-bottom: 15px;
}

.article-announcement-url {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark-blue);
  margin-left: 40px;
  text-decoration: underline;
}

/* =============================================
   Sidebar Column (Right)
   ============================================= */
.sidebar-column {
  min-width: 375px;
  flex: 0.33;
}

/* =============================================
   Key Dates Card
   ============================================= */
.key-dates-card {
  background-color: var(--key-dates-bg);
  margin-bottom: 0;
  border: 2px solid #12245A66;
}

.key-dates-photo {
  position: relative;
  height: 212px;
  overflow: hidden;
  border-bottom: 2px solid #12245A66;
}

.key-dates-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.key-dates-label {
  position: absolute;
  bottom: 0;
  right: 0;
  top: 0;
  color: var(--white);
  padding: 12px 24px;

}

.key-dates-label {
  display: flex;
  align-self: center;
  background: linear-gradient(to right,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.30) 65%, rgba(0, 0, 0, 0.30) 100%);
}

.key-dates-icon {
  font-size: 44px;
  color: var(--white);
}

.key-dates-label span,
.key-dates-label {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 54px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.key-dates-list {
  padding: 24px 28px 28px;
}

.key-date-item {
  padding: 6px 0;
}

.key-date-value {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 30px;
  color: var(--dark-blue);
}

.key-date-desc {
  font-family: var(--font-main);
  font-size: 22px;
  color: var(--black);
  /* line-height: 1.5; */
  margin-left: 20px;
}

.key-date-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* =============================================
   Article Column (Left) FAQ Sections
   ============================================= */
.article-column .faq-section {
  /* border-bottom: 1px solid #ddd; */
  /* margin-top: 24px; */
  padding-bottom: 22px;
  padding-left: 5px;
}

.article-column .faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  /* padding: 22px 0 0px 0; */
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 22px;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: bold;
  /* display: flex;
  align-items: center;
  justify-content: space-between; */
  gap: 12px;
  transition: color 0.15s;
}

.article-column .faq-question-icon {
  width: 15px;
  color: var(--navy);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-right: 4px;
}

.article-column .faq-question-icon path {
  fill: var(--navy);
}

.article-column .faq-question[aria-expanded="true"] .faq-question-icon {
  transform: rotate(180deg);
}

.article-column .faq-question:hover {
  color: var(--dark-blue);
}

.article-column .faq-answer {
  display: none;
  padding: 0 0 0 20px;
  font-family: var(--font-main);
  font-size: 22px;
  color: var(--black);
  line-height: 1;
}

.article-column .faq-answer.open {
  display: block;
}
/* =============================================
   Sidebar Column (Right) FAQ Sections
   ============================================= */
.sidebar-column .faq-section {
  border-bottom: 1px solid #ddd;
  margin-top: 24px;
}

.sidebar-column .faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 32px;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.15s;
}

.sidebar-column .faq-question-icon {
  width: 24px;
  color: var(--navy);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.sidebar-column .faq-question-icon path {
  fill: var(--navy);
}

.sidebar-column .faq-question[aria-expanded="true"] .faq-question-icon {
  transform: rotate(180deg);
}

.sidebar-column .faq-question:hover {
  color: var(--dark-blue);
}

.sidebar-column .faq-answer {
  display: none;
  padding: 0 0 20px;
  font-family: var(--font-main);
  font-size: 22px;
  color: var(--black);
  line-height: 1.55;
}

.sidebar-column .faq-answer.open {
  display: block;
}

.sidebar-column .faq-answer ul, .sidebar-column .faq-answer ol {
  padding-left: 28px;
}

.sidebar-column .faq-answer p + p {
  margin-top: 16px;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background-color: var(--navy);
  margin-top: 60px;
  padding: 28px 40px 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 28px;
}

.footer-col-header {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 28px;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-col-header i {
  font-size: 24px;
}

.footer-links {
  padding-left: 0;
  margin-left: 4em;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a,
.footer-links li {
  font-family: var(--font-main);
  font-size: 17px;
  color: var(--white);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  /* border-top: 1px solid rgba(255,255,255,0.2); */
  padding: 12px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-copyright {
  font-family: var(--font-system);
  font-size: 14px;
  color: var(--white);
}

/* =============================================
   Hamburger Button (hidden on desktop)
   ============================================= */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: 12px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   Responsive Styles
   ============================================= */

@media (max-width: 1800px) {
  .brand-bar {
    padding: 17px 40px 0;
    /* margin-top: 45px; */
  }
}   

@media (max-width: 1080px) {
  .article-heading {
    font-size: 38px;
  }
  .article-icon {
    height: 30px;
    margin-top: 8px;
  }
}

/* ---- Tablet: ≤ 960px ---- */
@media (max-width: 960px) {
  body {
    min-width: 0;
  }

  .nav-links {
    gap: 16px;
    margin-right: 12px;
  }

  .nav-link {
    font-size: 14px;
  }

  .dashboard-btn {
    font-size: 16px;
    padding: 0 14px;
  }

  .brand-news-label {
    font-size: 32px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-title-sub {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .content-layout {
    flex-direction: column;
    gap: 0px;
  }

  .article-heading {
    font-size: 36px;
  }

  .sidebar-column {
    min-width: 0;
    flex: 0.25;
  }

  .sidebar-column .faq-question {
    font-size: 24px;
  }
}

@media (max-width: 850px) {

  .brand-bar {
    padding: 10px 16px 0;
    flex-direction: column;
    /* align-items: flex-start; */
    gap: 30px;
  }

  .brand-news-label {
    font-size: 24px;
    align-self: center;
  }
}

/* ---- Small tablet: ≤ 768px ---- */
@media (max-width: 768px) {

  .hero {
    height: 240px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-title-sub {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-bg,
  .hero-content {
    margin: 0 16px;
  }

  .main-content {
    padding: 24px 16px 0;
  }

  .article-heading {
    font-size: 28px;
  }

  .article-icon {
    height: 25px;
    margin-top: 5px;
  }

  .article-body p,
  .article-body li,
  .article-column .faq-question {
    font-size: 18px;
  }

  .sidebar-column .faq-question {
    font-size: 20px;
  }

  .sidebar-column .faq-answer {
    font-size: 18px;
  }

  .key-dates-label span,
  .key-dates-label {
    font-size: 36px;
  }

  .key-date-value {
    font-size: 24px;
  }

  .key-date-desc {
    font-size: 18px;
  }

  .announcement-banner {
    width: 100%;
    clip-path: none;
    padding: 0 1em;
  }

  .footer {
    padding: 24px 16px 0;
    margin-top: 40px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    margin-left: 2em;
  }
}

/* ---- Hamburger nav: ≤ 750px ---- */
@media (max-width: 750px) {
  .nav-hamburger {
    display: flex;
    margin-right: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 24px 16px;
    gap: 0;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  .desktop-only-link {
    display: none;
  }

  .nav-links .mobile-only-link {
    display: block;
    background-color: var(--orange);
    color: var(--navy);
    margin: 0 -24px;
    width: calc(100% + 48px);
    padding: 12px 24px;
  }

  .nav-links .mobile-only-link svg {
    height: 18px;
    width: 18px;
    vertical-align: bottom;
    margin-right: 2px;
  }

  .nav-links .mobile-only-link svg path {
    fill: var(--navy);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

/* =============================================
   Marquee Animation
   ============================================= */
@keyframes marquee-left {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ---- Mobile: ≤ 560px ---- */
@media (max-width: 560px) {
  .brand-bar {
    min-height: auto;
    /* padding-bottom: 12px; */
  }

  /* .brand-logo{
    background: white url("assets/iaqg-auth-vert-with-border.svg") no-repeat;
    width: 225px;
    height: 150px;
  } */

  /* .brand-logo {
    max-height: 75px;
  } */

  .brand-news-label {

  }

  .hero {
    height: 180px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-title-sub {
    font-size: 18px;
  }

  .hero-title-block {
    padding: 8px 12px 8px 20px;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 13px;
    right: 0.25em;
  }

  .article-heading {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .article-icon {
    height: 22px;
    margin-top: 2px;
  }

  .sidebar-column .faq-question {
    font-size: 16px;
    padding: 12px 0;
  }

  .key-dates-label span,
  .key-dates-label {
    font-size: 28px;
  }

  .key-dates-list {
    padding: 16px 16px 20px;
  }

  .key-date-value {
    font-size: 20px;
  }

  .key-date-desc {
    font-size: 16px;
    margin-left: 12px;
  }

  .footer-col-header {
    font-size: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }

  .announcement-content {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    white-space: nowrap;
    animation: marquee-left 16s linear infinite;
  }

}
