@media only screen and (min-width: 1281px) {
  .container {
    width: 1100px;
  }
}
:root {
  --bg: #f4f8fb;
  --bg-primary: #004679;
  --panel: #ffffff;
  --ink: #616161;
  --muted: #6b7b8c;
  --brand: #004679;
  /* left titles + active border */
  --left-bg: #fff;
  /* left column background */
  --left-border: #d7e3ef;
  /* separators on left */
  --shadow: 0 12px 30px rgba(20, 40, 80, 0.1);
  --radius: 10px;
}
.default-shadow {
  box-shadow: var(--shadow);
}
.default-padding-medium {
  padding: 60px 0;
}

body {
  background: #fff !important;
}

.mb-3 {
  margin-bottom: 20px;
}
header.iok {
  padding: 10px 0;
}
header.iok .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header.iok .logo {
  display: flex;
}
header.iok .logo img {
  width: 100px;
}

nav.iok-nav ul.main-menu {
  display: flex;
  list-style: none;
}

.default-padding {
  padding: 80px 0;
}
.default-bg {
  background: #f3f4f8;
}
.grey-bg {
  background: #f3f4f8;
}
.bg-gray {
  background: #f3f4f8;
}
ul.default-list li {
  font-size: 16px;
  margin-bottom: 20px;
  color: rgb(43, 54, 64);
  line-height: 29px;
}

ul.default-list li i {
  font-style: italic;
}
/* Menu */
nav.iok-nav .main-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav.iok-nav .main-menu > li {
  position: relative;
}

nav.iok-nav .main-menu > li > a {
  display: block;
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  font-size: 15px;
  text-transform: uppercase;
}

nav.iok-nav .main-menu > li > a:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 5px;
  background-color: #ffbd59; /* Color of the border */
  transition: width 0.3s ease;
}

nav.iok-nav .main-menu > li > a:hover:after {
  width: 100%; /* Expands the border from left to right */
}

/* Sub Menu Styles */
nav.iok-nav .sub-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%; /* Positioning the submenu just below the parent item */
  left: 0;
  background-color: #333;
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  min-width: 200px;
  z-index: 99;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

nav.iok-nav .sub-menu li {
  position: relative;
}

nav.iok-nav .sub-menu > li > a {
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

nav.iok-nav .sub-menu > li > a:hover {
  background-color: #555;
}

/* Second-level Sub Menu */
nav.iok-nav .sub-menu .sub-menu {
  left: 100%;
  top: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

nav.iok-nav .sub-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* Show Sub Menu on Hover */
nav.iok-nav .main-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

/* End Menu */

section.banner {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.banner:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}
section.banner.summer:after {
  width: 100%;
  height: 400px;
  background: url("../images/iok/banner-summer.png");
  background-size: cover;
  background-repeat: no-repeat;
}
section.banner.winter:after {
  width: 100%;
  height: 400px;
  background: url("../images/iok/banner-winter.png");
  background-size: cover;
  background-repeat: no-repeat;
}
section.banner.online:after {
  width: 100%;
  height: 400px;
  background: url("../images/iok/banner-online.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

section.banner.online p {
  z-index: 999;
  position: relative;
  color: #fff;
  text-align: center;
  margin-top: 20px;
}

.big-heading {
  position: relative;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  z-index: 9;
  margin: 0 auto;
}
.big-heading span {
  color: #fff;
  margin-bottom: 20px;
  display: block;
  font-size: 30px;
}
.heading {
  color: #003366 !important;
  font-size: 24px;
  font-weight: 600;
}

.btn {
  padding: 10px 20px;
  background-color: rgb(2, 30, 58);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 30px 40px 0 rgba(3, 24, 128, 0.2);
}

.btn:hover {
  background-color: #021e3a;
  transform: scale(1.05);
}

.registration h4 {
  font-weight: 600;
  margin-bottom: 40px;
}
.registration h4:first-child {
  font-weight: 600;
}
.registration h4.reg-summer {
  margin-bottom: 40px;
}
.registration h3 {
  font-weight: 600;
  margin-bottom: 20px;
  color: #003366;
}
.registration .registration-button {
  background: #0f243e;
  width: fit-content;
  margin: 0px auto;
  padding: 40px 80px;
  border-radius: 20px;
  box-shadow: 0px 6px 30px 0px #573bff4d;
}
.registration .registration-button h4,
.registration .registration-button p {
  color: #fff;
}
.registration .registration-button h4 {
  margin: 20px 0 10px 0;
}
.photo-gallery .head {
  text-align: center;
}

.photo-gallery h5 {
  color: #222222 !important;
  font-weight: 500;
}

.photo-gallery h5 a {
  color: #222222;
}

.photo-gallery h6 {
  font-weight: 500;
  margin-bottom: 40px;
  text-decoration: underline;
}

.photo-gallery ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
.photo-gallery ul figure {
  height: 285px;
  overflow: hidden;
}
.photo-gallery ul figure img {
  max-width: 100%;
  width: 100%;
  height: 285px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.photo-gallery ul li:hover img {
  transform: scale(1.1); /* Slight zoom on hover */
}
.alumni .heading {
  margin-bottom: 40px;
  text-align: center;
}
.alumni-slider {
  width: 80%;
  margin: 0 auto;
}
.alumni figure {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 1px 4px 20px -2px rgb(0 0 0 / 10%);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.alumni figure img {
  object-fit: cover;
  height: 270px;
  margin-bottom: 10px;
}

.alumni p {
  font-size: 16px;
  font-weight: bold;
}
.alumni span {
  font-weight: bold;
  color: #003366;
}
.alumni-content-wrapper {
  display: grid;
  grid-template-columns: 25% 75%;
  padding: 0 20px;
}
.alumni-content-wrapper.no-image {
  display: unset;
}
/* Accordion Container */
.faq.default-padding {
  padding-top: 0;
}
#faq-accordion {
  width: 80%;
  margin: 30px auto;
}

/* Accordion Headers (Questions) */
#faq-accordion h3 {
  background: transparent !important;
  color: #333;
  padding: 15px;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
  border: none !important;
  border-bottom: 1px solid #dedede !important;
  border-radius: 0 !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding-right: 40px;
  /* Space for the icon */
}

/* Hover and Active Effects */
#faq-accordion h3:hover {
  background-color: #e3e3e3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ui-accordion-header-active {
  background-color: #3498db;
  color: white;
}

/* Accordion Content (Answers) */
#faq-accordion .ui-accordion-content {
  padding: 15px;
  font-size: 16px;
  color: #666;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
  background-color: #f3f3f3;
}

/* Right Aligned Icons */
.ui-accordion-header .ui-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Registration */

section.contact {
  padding-bottom: 60px;
}

.contact-container {
  display: flex;
  justify-content: center;
}

.bg-contact {
  position: relative;
}

.bg-contact:before {
  content: "";
  position: absolute;

  height: 100%;
  width: 400px;
  top: 0;
  left: -100px;
}
.bg-contact.summer:before {
  background: url("../images/iok/bg-pattern-1.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.bg-contact.winter:before {
  background: url("../images/iok/bg-pattern-2.png");
  background-size: cover;
  background-repeat: no-repeat;
}
article.survey-page {
  background-color: rgba(255, 255, 255, 0.91);
  height: 100%;
}
/* .reg-form.default-padding {
  padding-bottom: 0;
} */
.reg-form .heading {
  margin-bottom: 40px;
}
.reg-form iframe {
  overflow: hidden;
  border: none;
  width: 100%;
  height: 1100px;
}
.reg-form .smcx-embed {
  height: 100%;
}
.reg-form .smcx-embed > .smcx-iframe-container {
  width: 100%;
  height: 100%;
}
.reg-form.winter {
  padding-bottom: 0;
}
/* Style the bullet container */
.slick-dots {
  bottom: -40px !important;
}

/* Style each bullet (dot) */
.slick-dots li button {
  background-color: #ccc; /* Default bullet color */
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%; /* Make the bullets circular */
  transition: background-color 0.3s ease; /* Smooth color transition */
}

/* Change the color of the active bullet */
.slick-dots li.slick-active button {
  background-color: #ffbd59; /* Active bullet color */
}

/* Change bullet size on hover */
.slick-dots li button:hover {
  background-color: #ffbd59; /* Change color on hover */
  transform: scale(1.2); /* Enlarge on hover */
}

/* Style the bullet container */
.slick-dots {
  bottom: 20px; /* Position from the bottom */
}

/* Style each bullet (dot) */
.slick-dots li button {
  background-color: #dbe0e4 !important; /* Default bullet color */
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%; /* Make the bullets circular */
  transition: background-color 0.3s ease; /* Smooth color transition */
}

/* Change the color of the active bullet */
.slick-dots li.slick-active button {
  background-color: #003366 !important; /* Active bullet color */
}

/* Change bullet size on hover */
.slick-dots li button::before {
  content: "" !important;
}
button.close-button {
  margin: 0;
  display: none;
}

.hamburger-menu {
  display: none;
}
@media screen and (max-width: 965px) {
  .iok-menu-container .menu-iok-summer-container {
    display: none;
  }
  .iok-menu-container .menu-iok-winter-container {
    display: none;
  }
  .menu-iok-winter-container.open {
    position: absolute;
    left: 0;
    right: 0;
    background: #1b1725;
    top: 0;
    z-index: 9;
    height: 100vh;
  }
  .menu-iok-summer-container.open {
    position: absolute;
    left: 0;
    right: 0;
    background: #1b1725;
    top: 0;
    z-index: 9;
    height: 100vh;
  }

  .menu-iok-menu-container.open .main-menu {
    justify-content: center;
  }

  .main-menu li.current-menu-item a:after {
    width: 100px;
  }

  /* Hide the menu container when the screen width is less than 720px */
  .iok-menu-container .menu-iok-summer-container {
    display: none;
  }

  .iok-menu-container .menu-iok-summer-container.open {
    display: block;
    z-index: 99;
    padding: 20px;
  }
  .iok-menu-container .menu-iok-summer-container.open ul li {
    text-align: center;
  }
  .iok-menu-container .menu-iok-summer-container.open ul li a {
    color: #fff;
  }

  .iok-menu-container .menu-iok-winter-container.open {
    display: block;
    z-index: 99;
    padding: 20px;
  }
  .iok-menu-container .menu-iok-winter-container.open ul li {
    text-align: center;
  }
  .iok-menu-container .menu-iok-winter-container.open ul li a {
    color: #fff;
  }

  .main-menu {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .main-menu li:after {
    content: unset;
  }

  .main-menu li ul {
    position: relative;
    margin: 20px auto 0 auto;
    visibility: visible;
    opacity: 1;
  }

  .main-menu li ul li {
    text-align: center;
  }

  /* Show the hamburger menu icon */
  .hamburger-menu {
    display: block;
  }

  /* Style for the hamburger button */
  .hamburger-button {
    background: none;
    border: none;
    padding: 15px;
    margin: 0;
    cursor: pointer;
  }

  /* Hamburger icon styles */
  .hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #003366;
    position: relative;
  }

  /* Top and bottom lines of the hamburger icon */
  .hamburger-icon:before,
  .hamburger-icon:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #003366;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
    /* Add transition for smooth animation */
  }

  /* Position the lines of the hamburger icon */
  .hamburger-icon:before {
    top: -8px;
  }

  .hamburger-icon:after {
    bottom: -8px;
  }

  /* Rotate the lines to form an X shape when the menu is open */
  .hamburger-menu.open .hamburger-icon:before {
    transform: rotate(45deg);
    top: 0;
  }

  .hamburger-menu.open .hamburger-icon:after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  button.close-button.open {
    display: block;
    z-index: 999;
    background: #ddd;
  }

  span.close-icon {
    color: #003366;
  }

  .hidden {
    display: none;
  }
}

@media (max-width: 600px) {
  .alumni-content-wrapper {
    grid-template-columns: none;
    justify-items: center;
  }

  .alumni-slider {
    width: 100%;
  }

  .alumni-slider p {
    text-align: justify;
  }

  .alumni figure {
    margin-bottom: 20px;
  }

  #faq-accordion {
    width: 100%;
  }
  .photo-gallery ul li {
    flex: 1 1 100%;
  }
  .photo-gallery ul {
    flex-wrap: wrap;
  }
}

@media (min-width: 600px) and (max-width: 1200px) {
  .alumni-content-wrapper {
    gap: 20px;
    grid-template-columns: 35% 65%;
  }
  .alumni-slider {
    width: 100%;
  }
}

/* New IOK Templates */
section.banner.iok {
  height: 550px;
}
section.banner.iok:after {
  width: 100%;
  height: 550px;
  background: url("../images/iok/banner-iok-new.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.content.iok h6.learn-more {
  font-weight: 600;
  color: var(--brand) !important;
}

/* Cards Section */
.cards {
  display: grid;
  justify-content: center;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 30px 0px 60px;
}

.cards .card-wrapper h6 {
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
}

.cards .card-wrapper h6.coming-soon {
  color: #616161 !important;
}

.card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 15px;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 22px rgba(10, 30, 60, 0.12);
  will-change: transform;
}
.content.default-padding.iok .card:hover {
  transform: translateY(-6px); /* <- adjust to -4px for subtler lift */
  box-shadow: 0 16px 34px rgba(10, 30, 60, 0.18);
}
.card .content {
  display: flex;
  align-items: center;
}

.card img {
  width: 150px;
  border-radius: 4px;
}

.card h3 {
  font-size: 16px;
  margin: 5px 0 5px -40px;
  color: var(--brand) !important;
  font-weight: 600;
}

.card h3.coming-soon {
  color: #666 !important;
}

.card p {
  font-size: 14px;
  color: #666;
}

/* Vertical Tab */
.vertical-tab {
  background: #f4f7f8;
}
.vtab {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

/* Left: tablist */
.vtab-left {
  background: var(--left-bg);
  border: 1px solid var(--left-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vtab-left button.tab:hover {
  background: var(--muted) !important;
  color: #fff !important;
}

.tablist {
  display: grid;
}

.tab {
  text-align: left;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
  border-bottom: 1px solid var(--left-border);
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  width: 100%;
  margin: 0;
  line-height: 1.6;
}

.tab:last-child {
  border-bottom: 0;
}

.tab[aria-selected="true"] {
  background: #fff;
  border-left-color: var(--brand);
}

/* .tab:focus {
  outline: 2px solid color-mix(in oklab, var(--brand) 40%, white);
  outline-offset: -2px;
} */

/* Right: panel */
.vtab-panel {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #eef3f7;
}

.panel-inner {
  padding: 22px 26px;
}

.panel-inner h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.panel-inner p {
  color: var(--ink);
}
.panel-inner ul li {
  color: var(--ink) !important;
  font-size: 16px;
}
.panel-inner .muted {
  color: var(--muted);
  font-style: italic;
}

.divider {
  height: 26px;
  background: linear-gradient(to bottom, #fff 0, #f5f8fb 100%);
  border-top: 1px solid #eef3f7;
}

.competency-wrapper{
  display: flex;
  gap: 10px;
}

/* Responsive: collapse to stacked accordion-like tabs on small screens */
@media (max-width: 760px) {
  .vtab {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vtab-left {
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  .tab {
    background: #fff;
    border: 1px solid var(--left-border);
    border-left: 4px solid transparent;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .tab[aria-selected="true"] {
    border-left-color: var(--brand);
  }
}

/* End Vertical Tab */

/* Learning Outcomes */

.iok-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.iok-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.iok-img img {
  width: 100%;
  height: auto;
  display: block;
}

.iok-copy h3 {
  margin: 0 0 10px;
  color: var(--ink);
}

.iok-copy p {
  margin: 0 0 10px;
  color: rgb(97, 97, 97);
}

.iok-copy ul {
  margin: 10px 0 0 20px;
  color: var(--ink);
}

.iok-copy li {
  margin: 8px 0;
  font-size: 16px;
  list-style: outside;
  color: rgb(97, 97, 97);
}

/* CTA band */
.iok-band {
  background: var(--band);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin: 38px 0 0;
  box-shadow: var(--shadow);
  text-align: center;
  color: var(--ink);
}

.iok-band p {
  margin: 0 0 18px;
}

.btn-pill {
  display: inline-block;
  padding: 12px 26px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 32px;
  box-shadow: 0 6px 14px rgba(10, 94, 168, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(10, 94, 168, 0.28);
}

.btn-pill:active {
  transform: translateY(0);
  opacity: 0.95;
}

/* Responsive */
@media (max-width: 900px) {
  .iok-grid {
    grid-template-columns: 1fr;
  }
}
/* End Learning Outcomes */

/* Schedule */
.schedule {
  background: #f4f7f8;
  text-align: center;
  font-weight: 600;
}
/* End Schedule */

/* Certificate */
/* Shell (keep yours if already added) */
.iok-cert-band {
  background: #0f243e;
  padding: 22px 0 26px;
}
.iok-cert-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.iok-cert {
  position: relative;
  background: #0f243e; /* navy */
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 40px 0; /* room for the badge */
  overflow: visible;
}

/* Half-circle badge that overlaps the band */
.iok-badge {
  --navy: #0f243e; /* inner color (same as band) */
  --ring: #ecf3f6; /* light ring behind the badge */

  position: absolute;
  left: 50%;
  top: -50px;
  transform: translate(-50%, -50%); /* sit on the top edge */
  width: 180px;
  height: 90px; /* half of width = height */
  background: var(--navy);
  border-top-left-radius: 180px; /* perfect semicircle */
  border-top-right-radius: 180px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: grid;
  place-items: center; /* center the image */
  overflow: hidden; /* keep image inside */
}

/* Soft outer ring behind the half circle */
.iok-badge::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -100%);
  width: calc(100% + 28px);
  height: calc(100% + 14px);
  background: #0f243e;
  border-top-left-radius: calc(100% + 28px);
  border-top-right-radius: calc(100% + 28px);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  z-index: -1;
}

/* Your image inside the badge */
.iok-badge img {
  width: 80px; /* tweak size as needed */
  height: auto;
  display: block;
  /* optional polish */
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.25));
}

.iok-cert h3 {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
}
.iok-cert p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  color: #fff;
}

@media (max-width: 680px) {
  .iok-badge {
    width: 150px;
    height: 75px;
  }
  .iok-badge img {
    width: 48px;
  }
}

/* End of Certificate */

/* IOK Summer */
.reg-info {
  background: var(--bg-primary);
}
/* End of IOK Summer */

/* IOK Hover Cards */

.iok-hover-cards {
  --brand: #0a5ea8;
  --ink: #1e2b36;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(20, 40, 80, 0.18);
  --border: rgba(255, 255, 255, 0.6);
}

.iok-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.iok-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  /* keeps overlay effects inside */
  background: #f2f6f9;
  cursor: pointer;
}

.iok-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
  /* same feel as screenshot */
}
section.online .iok-card img {
   aspect-ratio: 16/20;
}
/* subtle inner border like in screenshot */
.iok-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius) - 8px);
  border: 2px solid var(--border);
  pointer-events: none;
}

/* title label (top-left) */
.iok-card .label {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 2;
  color: #143a57;
  font-weight: 800;
  font-size: 15px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

/* overlay with info */
.iok-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(
    to bottom,
    rgba(6, 20, 35, 0.05) 0%,
    rgba(6, 20, 35, 0.85) 90%
  );
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1;
}

.iok-card .overlay .inner {
  max-width: 100%;
}

.iok-card .overlay .inner h3{
  color: #fff;
}


.iok-card .overlay h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.iok-card .overlay ul {
  margin: 8px 0 0 20px;
}

.iok-card .overlay li {
  margin: 6px 0;
}

.iok-card .overlay p{
  color:#fff;
  font-size: 14px;
}

/* show on hover / keyboard focus / programmatic open */
.iok-card:hover .overlay,
.iok-card:focus-within .overlay,
.iok-card.is-open .overlay {
  opacity: 1;
  transform: none;
}

/* accessibility & mobile tweaks */
.iok-card .toggle {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (max-width: 820px) {
  .iok-grid {
    grid-template-columns: 1fr;
  }

  .iok-card img {
    aspect-ratio: 16/10;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iok-card .overlay {
    transition: none;
  }
}

/* End IOK Hover Cards */

/* Table Styling */
.table-custom {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.table-custom th,
.table-custom td {
  padding: 12px 15px;
  vertical-align: middle;
  text-align: left;
}

.table-custom thead th {
  background-color: #e4e4e4;
  font-weight: 600;
  border-bottom: 2px solid #dee2e6;
}

.table-custom tbody tr {
  border-bottom: 1px solid #dee2e6;
  transition: background-color 0.15s ease-in-out;
}

.table-custom tbody tr:last-child {
  border-bottom: none;
}

.table-custom tbody tr:hover {
  background-color: #f1f1f1;
}

.table-custom .success {
  background-color: #d4edda;
  color: #155724;
}

.table-custom .error {
  background-color: #f8d7da;
  color: #721c24;
}

.table-custom .warning {
  background-color: #fff3cd;
  color: #856404;
}

.btn-schedule {
  margin-top: 30px;
  background: #004679;
  border: transparent;
  border-radius: 40px;
  padding: 15px 30px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Responsive Table */
@media (max-width: 767.98px) {
  .table-custom thead {
    display: none;
  }

  .table-custom tr {
    display: block;
    margin-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
  }

  .table-custom td {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    font-size: 0.875rem;
    text-align: right;
    border-right: none;
  }

  .table-custom td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: uppercase;
    color: #495057;
  }
}

/* Details CSS */
/* Register-only mode */
/* Hide register section only on the IOK Winter template */
section.register {
  display: none !important;
}

/* When we programmatically reveal it */
section.register.is-visible {
  display: block !important;
}

main.site-main h2 {
  font-weight: 700;
}
main.site-main h4 {
  font-weight: 600;
}
.banner-info {
  margin: 120px auto auto;
  max-width: 1140px;
  text-align: center;
}
.banner-info h2,
.banner-info h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

.banner-info h4 {
  margin-top: 20px;
  color: #ffbd59;
  font-weight: 700;
}

.banner-info h6.text-white {
  color: #fff;
  font-weight: 700;
}
/* End Detail CSS */

/* Responsive  */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: auto;
  }
}
/* End Responsive */
