body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  margin: 0;
  background: url(../images/home-pattern.gif) repeat;
  color: #333;
}
.containerMain {
  display: grid;
  grid-template-columns: 240px 1fr 300px;
  max-width: 1400px;
  margin: auto;
  padding: 20px;
  gap: 20px;
}
nav {
  position: sticky;
  top: 20px;
  align-self: start;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
nav h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
nav ul {
  list-style: none;
  padding: 0;
}
nav li {
  margin: 5px 0;
}
nav a {
  text-decoration: none;
  color: #0077cc;
}
article {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1;
  margin-top: -16em;
}
h1, h2, h3 {
  line-height: 1.3;
  margin-top: 1.0em;
}
p {
  margin: 1em 0;
}
.callout {
  background: #eaf6ff;
  border-left: 4px solid #0077cc;
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
}
details {
  background: #f9f9f9;
  border-left: 4px solid #17399B;
  padding: 1em;
  margin: 1em 0;
  border-radius: 6px;
}

details[open] {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

summary {
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

details p {
  margin-top: 0.5em;
  line-height: 1.6;
}

.sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  align-self: start;
}

.sidebar .form_sec {
  margin-bottom: 20px;
}

.sidebar input[type="text"] {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.sidebar input[type="image"] {
  margin-top: 10px;
}

.sidebar .bluebox {
  background: #2a59b2;
  padding: 15px;
  margin-top: 20px;
  border-radius: 6px;
  color: #fff;
}

img {
  border-radius: 10px;
  margin-left: 10px;
}

.icon-text {
  display: flex;
  align-items: center; 
  gap: 10px;
}

.icon-text img {
  width: 32px;
  height: auto;
}

.icon-text h3 {
  margin: 0;
  font-size: 2.2rem;
}
.row.align-items-center {
  margin: 0 !important;
  padding: 0 !important;
}

.induction {
  display: flex;
  gap: 20px;
}

.induction-text {
  flex: 1 1 300px;
}

.induction-video iframe {
  width: 450px;
  height: 400px;
  max-width: 100%;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.5em;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: green;
  font-weight: bold;
}
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.feature img {
  display: block;
  margin: 0 auto 8px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  max-width: 300px;
  width: 250px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  font-size: 1.1rem;
  margin: 12px 0 8px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 12px 12px;
}

img {
  max-width: 100%;
  height: auto;
}

.cards-container .card img {
  width: 100%;
  height: 150px;
}

article img,
.sidebar img {
  max-width: 100% !important;
  height: auto;
}

nav {
  background: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
}

.toc-toggle {
  display: none;
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

header .logo img {
  max-width: 180px;
  height: auto;
}

.menu-toggle { display: none; }

header .row.align-items-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header ul.nav {
  display: flex;
  gap: 10px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

header .col-md-2 form {
  display: flex;
  align-items: center;
  gap: 5px;
}

header ul.nav li a {
  text-decoration: none;
  padding: 8px 12px;
  color: #333;
}

header form input[type="text"] {
  width: 100%;
  padding: 5px;
  font-size: 14px;
}
table { width: 100%; }
td { display: block; width: 100%; }

.col-md-4.col-sm-6.col-xs-12 img {
  height: 50px;
}

.form-section-wrapper .form-section {
  background: #010b3a;
  width: 100%;
  float: left;
  padding: 5% 8%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.form-section-wrapper .form-section,
.form-section-wrapper .form-section input,
.form-section-wrapper .form-section .form-disclaimer {
  color: #fff;
}

.form-section-wrapper .form-section input[type="text"],
.form-section-wrapper .form-section input[type="email"] {
  background: #fff;
  color: #333;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.form-section-wrapper .form-section a {
  color: #aad4ff;
  text-decoration: underline;
}

.templates-section {
  margin-top: 20px;
}

.templates-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  text-align: left;
}

.link-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-grid li {
  margin-bottom: 8px;
  padding-left: 20px;
  background: url('arrow.gif') no-repeat left center;
  background-size: 12px 12px;
}

.link-grid a {
  color: #337ab7;
  text-decoration: none;
}

.link-grid a:hover {
  text-decoration: underline;
}

/*slideshow cards*/
.slick-carousel .card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 15px;
  margin: 10px;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slick-carousel .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.slick-carousel .card .card-info h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.slick-carousel .card .card-info p {
  font-size: 0.875rem;
  color: #555;
}

.slick-slide {
  padding: 0 10px;
  box-sizing: border-box;
}

.slick-slide:focus {
  outline: none;
}
/*smaller device css*/
@media (max-width: 768px) {
  .induction {
    flex-direction: column;
  }

  .induction-video iframe {
    width: 100%;
    height: 300px;
  }
}
@media (min-width: 768px) {
  .features {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }

  .feature {
    max-width: 180px;
  }
}

@media (min-width: 768px) {
  .cards-container {
    justify-content: space-around;
  }
}


@media (max-width: 1024px) {
  .containerMain {
    flex-direction: column;
    grid-template-columns: 200px 1fr;
  }
  nav, article, aside {
    flex: 1 1 100%;
    order: initial;
}
}

@media (max-width: 768px) {
  .containerMain {
    grid-template-columns: 1fr;
  }

  nav {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

  .sidebar {
    order: 3;
    margin-top: 20px;
  }

  article {
    order: 2;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.8;
    padding: 0 10px;
  }

  nav h2 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .toc-toggle {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .toc-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .toc-content.open {
    display: block;
    max-height: 700px;
    opacity: 1;
  }
  .toc-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    margin-left: auto;
  }

  header ul.nav {
    flex-direction: column;
    gap: 8px;
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    padding: 10px;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  header ul.nav.open {
    max-height: 500px;
  }

  header .col-md-2 form { margin-top: 10px; }
}

@media (max-width: 768px) {
  .containerMain {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 0;
  }
}

header ul.nav li a { padding: 10px 12px; display: block; }