﻿/* Global Styles */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
}

body > footer {
  margin-top: auto;
}

/* Header Styles */

header {
  background-color: #001f4d; /* Blue Banner Background*/
  color: white;
  padding-top: 0.7rem;
  padding-bottom: 0.3rem;
}

header h1 {
  font-size: 3rem;
  margin-top: 1rem;
}

header p {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.9rem;
}


/* Navbar Customizations */

.custom-nav {
  background-color: #1A355F; /* Replace #FFFFFF with your custom color for navigation menu */
  margin-bottom: 0rem;
}

.navbar-toggler {
  color: white; /* Toggler text color */
  border: none; /* Toggler border color */
  outline: none;
}

.navbar-toggler:focus {
  outline: none; /* Removes the focus outline */
  box-shadow: none; /* Ensures no glow or shadow appears */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); /* White bars for toggler */
}

.navbar-nav .nav-link {
  color: white !important; /* White text for nav items */
  font-size: 1.2rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: white !important; /* Gold color for hover/active state */
}

.navbar-nav .nav-item {
  margin: 0 1.5rem;
}



/* Intro Section */

		img {
    max-width: 100%;
    height: auto;
}

.div2 {
		max-width: 100%;
		display: flex;
		align-items: stretch;
		flex-wrap: wrap;
		gap: 20px;
		margin-top: 20px;
		margin-bottom: 20px;
}

.div3 {
		flex: 1;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 2%;
		max-width: 40%;
		width: 680px;
		margin: 0;
		box-sizing: border-box;
}

.div4 {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		max-width: 60%;
		box-sizing: border-box;
		padding: 1%;
}

.div5, .div6 {
		display: block;
}

.div7, .div8, .div9, .div10 {
		display: inline-block;
		padding: 2% 2% 0% 0%;
		max-width:24%;
}

.div11, .div12, .div13, .div14 {
		display: inline-block;
		padding: 2% 2% 2% 0%;
		max-width:24%;
}

/* Layout container */
.badge-layout {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 30px 0px;
  flex-wrap: wrap;
}

.box {
  width: 623px;
  height: 304px;
  background-color: #ffffff;
  border-radius: 0px;
  overflow: hidden;
}

.speaker-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.speaker-link img.box-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.box1 {
  width: auto;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.box1 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.box2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  padding: 0px;
  box-sizing: border-box;
  margin-top: 20px;
}

.inner-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.inner-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ------------ certification dashboard section css elements ----------------- */

.div15{
		background-color: #001f4d;
}

.div15 h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 40px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding:30px;
}

@media (max-width: 992px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .card-container {
    grid-template-columns: 1fr;
  }
}

.card {
  border: 2px solid #0a2146;
  border-radius: 8px;
  padding: 10px;
  background-color: #fff;
  max-width: 400px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
}

.card-grid {
  display: grid;
  grid-template-columns: 60px auto;
  align-items: center;
  gap: 15px;
}

.card-image img {
  width: 60px;
  height: auto;
}

.card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #0a2146;
}

.card-text .title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 2px;
}

.card-text .subtitle {
  font-size: 15px;
}

.dashboard-card {
  width: 250px;
  height: 250px;
  background-color: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.dashboard-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 123, 255, 0.25);
}

.icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.dashboard-icon {
  width: 120px;
  height: auto;
}

.box-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a2146;
}

.custom-btn {
  background-color: #003380; /* 2 color bands lighter from default color of website picked from w3schools */
  color: white;
  font-weight: 600;
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 0.95rem;
  border: none;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.custom-btn:hover {
  background-color: #003d99;
  color: white;
}

/* ------------ end of certification dashboard section ----------------- */


/* Services Offered section on homepage custom css elements --> */

.div16 {
  text-align: center;
  padding: 40px 20px 50px 20px;
  background-color: #001f4d;
}

.div16 h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 40px;
}

/* ------end of Services Offered section------------------------  */



.roadmap-section {
  background-color: #001f4d;
}

.roadmap-row {
  gap: 60px 120px;
  margin-bottom: 20px;
}

.roadmap-box {
  width: 320px;
  height: 95px;
  border: 2px solid #0a2146;
  border-radius: 8px;
  padding: 10px;
  background-color: #fff;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.roadmap-icon {
  height: 60px;
  width: auto;
}

.certificate-section {
  text-align: center;
  background-color: #f8f9fa;
}

.certificate-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0px;
}

.certificate-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #fff;
  padding: 5px;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.certificate-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
}

.certificate-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .certificate-container {
    grid-template-columns: 1fr;
  }
}

.certificate-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.certificate-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
}

.certificate-close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.certificate-close:hover {
  color: #ffcccc;
}

.btn-outline-primary {
  --bs-btn-color: #001f4d;
  --bs-btn-border-color: #001f4d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #001f4d;
  --bs-btn-hover-border-color: #001f4d;
  --bs-btn-focus-shadow-rgb: 0, 31, 77;
}

.pdf-image-viewer {
  max-width: 900px;
  margin: 0 auto;
  overflow-y: auto;
  padding: 10px;
}

.pdf-image-viewer img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border: 0px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1px;
}

.badge-box img {
  max-height: 150px;
  object-fit: contain;
}

.badge-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.onenote-embed-container {
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.tag-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.tag-filter-group label {
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}





footer {
  background-color: #343a40;
  color: #f8f9fa;
}
