.navbar-brand .company-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.navbar-brand .company-tagline {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .navbar-brand .company-name {
    font-size: 14px;
  }
  .navbar-brand .company-tagline {
    font-size: 12px;
  }
  .brand-text {
    margin-left: 15px;
  }
}

/* Custom CSS for ISO Management Systems Page */
.hero-section {
  background: linear-gradient(rgba(17, 27, 60, 0.8), rgba(17, 27, 60, 0.8)),
    url("../images/iso-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 120px 0;
}

.iso-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
}

.iso-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.iso-card .card-img-top {
  height: 180px;
  object-fit: cover;
}

.iso-card .card-body {
  padding: 1.5rem;
}

.certificate-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #1a4a8d, #0077b6);
  color: white;
  border-radius: 50%;
  margin: 0 auto 15px;
  font-size: 22px;
}

.section-heading {
  position: relative;
  margin-bottom: 50px;
}

.section-heading:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #1a4a8d, #0077b6);
}

.btn-primary-gradient {
  background: linear-gradient(45deg, #00b282, #008a65);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
  background: linear-gradient(45deg, #00b282, #008a65);
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
  transform: translateY(-3px);
}

.btn-outline-primary {
  border: 2px solid #0077b6;
  color: #0077b6;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #0077b6;
  color: white;
  transform: translateY(-3px);
}

.requirement-card {
  border-radius: 10px;
  background: white;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.requirement-icon {
  background: linear-gradient(45deg, #00b282, #008a65);
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 24px;
  margin-bottom: 20px;
}

.bg-light-blue {
  background-color: #f5f9fc;
}

.bg-dark-blue {
  background-color: #0b2447;
}

.certificate-badge {
  display: inline-block;
  background: linear-gradient(45deg, #00b282, #008a65);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 10px;
}

.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.floating-button.enquire {
  background: linear-gradient(45deg, #00b282, #008a65);
}

.floating-button.exam {
  background: linear-gradient(45deg, #00b282, #008a65);
}

.floating-button:hover {
  transform: scale(1.1);
  color: white;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.benefit-icon {
  background: linear-gradient(45deg, #00b282, #008a65);
  color: white;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 15px;
  font-size: 16px;
}

/* Additional Custom CSS */
.bg-primary-light {
  background-color: rgba(0, 119, 182, 0.1);
}

.text-primary {
  color: #0077b6 !important;
}

.iso-card,
.requirement-card,
.benefit-item {
  transition: all 0.4s ease-out;
  opacity: 0;
  transform: translateY(30px);
}

.iso-card.animate,
.requirement-card.animate,
.benefit-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.form-control,
.form-select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.25);
}

.hero-section {
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, #fff, transparent);
}

.benefit-item {
  transition-delay: calc(var(--i) * 0.1s);
}

.floating-buttons {
  transition: all 0.3s ease;
}

.hero-section {
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0;
  }

  .floating-buttons {
    bottom: 15px;
    right: 15px;
  }

  .floating-button {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
}

/* CTA Section Styling */
.bg-gradient-peacock-blue-crome-yellow {
  background: linear-gradient(45deg, #0353a4, #ff9e00);
  box-shadow: 0 10px 30px rgba(3, 83, 164, 0.2);
}

.btn-gradient-peacock-blue-crome-yellow {
  background: linear-gradient(45deg, #0353a4, #ff9e00);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-gradient-peacock-blue-crome-yellow:hover {
  background: linear-gradient(45deg, #ff9e00, #0353a4);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(3, 83, 164, 0.3);
}

.btn-slide-right-bg {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.5s ease;
  background: linear-gradient(45deg, #00b282, #008a65);
  border: none;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 178, 130, 0.2);
  transform-origin: center;
}

.btn-slide-right-bg:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(45deg, #008a65, #00b282);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn-slide-right-bg:hover {
  transform: translateY(-5px);
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(0, 178, 130, 0.3);
}

.btn-slide-right-bg:hover:before {
  width: 100%;
}

.btn-slide-right-bg i {
  transition: all 0.3s ease;
}

.btn-slide-right-bg:hover i {
  animation: bounce 0.5s ease infinite alternate;
  transform: translateY(2px);
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(4px);
  }
}

.tabs-style-01 {
  margin: 20px 0 50px;
}

.tabs-style-01 .nav-tabs {
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 10px;
}

.tabs-style-01 .nav-item {
  margin: 0 15px;
}

.tabs-style-01 .nav-link {
  color: #6f6f6f;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  border: none;
  background-color: transparent;
}

.tabs-style-01 .nav-link:hover {
  color: var(--base-color);
}

.tabs-style-01 .nav-link.active {
  color: var(--base-color);
  background-color: transparent;
}

.tabs-style-01 .nav-link.active:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 40px;
  height: 3px;
  background-color: var(--base-color);
  transform: translateX(-50%);
}

.tabs-style-01 .tab-content {
  margin-top: 40px;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
}

.tabs-style-01 .tab-pane {
  padding: 20px 10px;
}

.tabs-style-01 .iso-domains {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.tabs-style-01 .iso-domains li {
  border-radius: 10px;
  background: linear-gradient(45deg, #00b282, #008a65);
  box-shadow: 0 5px 15px rgba(0, 178, 130, 0.2);
  padding: 0;
  transition: all 0.3s ease;
  transform-origin: center;
  flex: 1 1 calc(50% - 15px);
  min-width: 250px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.tabs-style-01 .iso-domains li:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(45deg, #008a65, #00b282);
  transition: all 0.5s ease;
  z-index: -1;
}

.tabs-style-01 .iso-domains li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 178, 130, 0.3);
}

.tabs-style-01 .iso-domains li:hover:before {
  width: 100%;
}

.tabs-style-01 .iso-domains li a {
  color: white;
  display: block;
  padding: 15px 20px;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tabs-style-01 .iso-domains li a:after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.tabs-style-01 .iso-domains li:hover a:after {
  opacity: 1;
  right: 15px;
}

.feature-step-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(var(--base-color-rgb), 0.05);
  border-radius: 6px;
}

.step-number {
  position: absolute;
  bottom: -25px;
  right: 40px;
  width: 70px;
  height: 70px;
  background-color: var(--base-color);
  color: white;
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(var(--base-color-rgb), 0.3);
}

.list-style-01 {
  list-style: none;
  padding-left: 0;
}

.list-style-01 li {
  position: relative;
  padding: 6px 0 6px 28px;
  margin-bottom: 10px;
}

.list-style-01 li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--base-color);
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 16px;
}

@media (max-width: 991px) {
  .tabs-style-01 .nav-item {
    margin: 0 8px;
  }

  .tabs-style-01 .nav-link {
    padding: 10px 10px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .tabs-style-01 .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .tabs-style-01 .nav-item {
    margin: 0 5px;
  }

  .tabs-style-01 .nav-link {
    padding: 10px 8px;
    min-width: 100px;
    white-space: nowrap;
  }

  .step-number {
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Vertical Tabs Styles */
.tabs-style-01.vertical-tabs .nav-tabs {
  border-bottom: 0;
  border-right: 1px solid #dee2e6;
  display: flex;
  flex-direction: column;
}

.tabs-style-01.vertical-tabs .nav-item {
  margin-bottom: 10px;
  margin-right: 0;
}

.tabs-style-01.vertical-tabs .nav-link {
  border-radius: 8px 0 0 8px;
  border: 1px solid transparent;
  border-right: 0;
  padding: 15px 20px;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.tabs-style-01.vertical-tabs .nav-link:hover {
  background-color: rgba(0, 178, 130, 0.05);
}

.tabs-style-01.vertical-tabs .nav-link.active {
  background-color: #fff;
  color: #00b282;
  border-color: #dee2e6;
  border-right-color: #fff;
  position: relative;
}

.tabs-style-01.vertical-tabs .nav-link.active:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(45deg, #00b282, #008a65);
}

.tabs-style-01.vertical-tabs .tab-content {
  padding: 0;
  border: 0;
}

@media (max-width: 767px) {
  .tabs-style-01.vertical-tabs .nav-tabs {
    border-right: 0;
    border-bottom: 1px solid #dee2e6;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }

  .tabs-style-01.vertical-tabs .nav-item {
    margin-bottom: 0;
    margin-right: 5px;
  }

  .tabs-style-01.vertical-tabs .nav-link {
    border-radius: 8px 8px 0 0;
    border-right: 1px solid transparent;
    border-bottom: 0;
    padding: 10px 15px;
  }

  .tabs-style-01.vertical-tabs .nav-link.active {
    border-bottom-color: #fff;
    border-right-color: #dee2e6;
  }

  .tabs-style-01.vertical-tabs .nav-link.active:after {
    left: 0;
    top: auto;
    bottom: 0;
    height: 4px;
    width: 100%;
  }
}

/* Exam Stages Styling */
.exam-stages-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 0;
}

.exam-stage-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exam-stage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stage-number {
  width: 40px;
  height: 40px;
  background: var(--base-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stage-content {
  flex: 1;
}

.stage-title {
  color: var(--dark-gray);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stage-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #666;
  line-height: 1.6;
}

.stage-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--base-color);
  font-weight: bold;
}

.stage-list .sub-list {
  margin-top: 0.5rem;
  padding-left: 1rem;
}

.stage-list .sub-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stage-list .sub-list li {
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
}

.stage-list .sub-list li:before {
  content: "→";
  color: var(--base-color);
}

.stage-list .sub-list li strong {
  color: var(--dark-gray);
  font-weight: 600;
}

@media (max-width: 768px) {
  .exam-stage-item {
    flex-direction: column;
    gap: 1rem;
  }

  .stage-number {
    margin: 0 auto;
  }

  .stage-content {
    text-align: center;
  }

  .stage-list li {
    text-align: left;
  }
}

/* Header Actions - Login and Language Selector */
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  flex-wrap: nowrap !important;
}

/* Login Button Styles */
.login-button .btn-login {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(45deg, #00b282, #008a65) !important;
  color: white !important;
  padding: 8px 15px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  font-size: 14px !important;
  border: none !important;
}

.login-button .btn-login:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3) !important;
}

.login-button .btn-login i {
  font-size: 14px !important;
}

/* Language Selector Styles */
.language-selector {
  position: relative !important;
}

.language-selector .btn-language {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: none !important;
  border: 2px solid #00b282 !important;
  color: #333 !important;
  padding: 7px 15px !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  font-size: 14px !important;
}

.language-selector .btn-language:hover {
  background-color: #f4f4f4 !important;
}

.language-selector .btn-language img {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.language-selector .btn-language i {
  font-size: 12px !important;
  transition: transform 0.3s ease !important;
}

/* Fix for Arabic version buttons on large screens */
html[lang="ar"] .login-button .btn-login {
  min-width: 120px !important;
  padding: 8px 15px !important;
}

html[lang="ar"] .language-selector .btn-language {
  min-width: 120px !important;
  padding: 7px 15px !important;
}

html[lang="ar"] .login-button .btn-login span,
html[lang="ar"] .language-selector .btn-language span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Language Dropdown Styles */
.language-dropdown {
  position: absolute !important;
  top: 110% !important;
  right: 0 !important;
  background: white !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  list-style: none !important;
  padding: 8px !important;
  margin: 0 !important;
  min-width: 160px !important;
  z-index: 1000 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: all 0.3s ease !important;
}

.language-selector:hover .language-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.language-selector:hover .btn-language i {
  transform: rotate(180deg) !important;
}

.language-dropdown li {
  margin-bottom: 5px !important;
}

.language-dropdown li:last-child {
  margin-bottom: 0 !important;
}

.language-dropdown li a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: #333 !important;
  font-weight: 500 !important;
  padding: 8px 10px !important;
  border-radius: 4px !important;
  transition: background 0.3s ease !important;
  font-size: 14px !important;
}

.language-dropdown li a:hover {
  background-color: #f4f4f4 !important;
}

.language-dropdown li a img {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .header-actions {
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }

  .login-button .btn-login,
  .language-selector .btn-language {
    padding: 6px 12px !important;
  }
}

@media (max-width: 767px) {
  .language-selector .btn-language {
    padding: 5px 10px !important;
    font-size: 12px !important;
  }

  .login-button .btn-login {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }

  .header-actions {
    gap: 8px !important;
  }
}

@media (max-width: 575px) {
  .login-button .btn-login {
    padding: 6px 8px !important;
    min-width: auto !important;
  }

  .language-selector .btn-language {
    padding: 5px 8px !important;
    min-width: auto !important;
  }

  .header-actions {
    gap: 5px !important;
  }

  /* Fix for Arabic version to prevent line breaks */
  html[lang="ar"] .header-actions {
    justify-content: flex-end !important;
  }

  html[lang="ar"] .login-button .btn-login span,
  html[lang="ar"] .language-selector .btn-language span {
    font-size: 11px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 70px !important;
  }

  html[lang="ar"] .language-selector .btn-language img,
  html[lang="ar"] .login-button .btn-login i {
    margin: 0 !important;
  }
}

/* Additional small screen fixes for Arabic */
@media (max-width: 400px) {
  html[lang="ar"] .header-actions {
    gap: 4px !important;
  }

  html[lang="ar"] .login-button .btn-login,
  html[lang="ar"] .language-selector .btn-language {
    padding: 5px 6px !important;
  }
}

/* Extreme small screens: hide text, show only icons */
@media (max-width: 360px) {
  html[lang="ar"] .login-button .btn-login span,
  html[lang="ar"] .language-selector .btn-language span {
    display: none !important;
  }

  html[lang="ar"] .login-button .btn-login,
  html[lang="ar"] .language-selector .btn-language {
    padding: 5px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Additional Fix for DOM manipulations */
html[lang="ar"] .d-none.d-sm-inline-block {
  display: inline-block !important;
}

html[lang="ar"] .md-pe-0 .header-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
}

/* Training Schedule Table Styles */
.training-section {
  padding: 80px 0;
}

.schedule-table {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  border: 1px solid #f0f0f0;
}

.schedule-table table {
  width: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
}

.schedule-table thead {
  background: linear-gradient(135deg, #00b282 0%, #008a65 100%);
  color: white;
  position: relative;
}

.schedule-table thead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, #00b282, #4ecdc4);
}

.schedule-table thead th {
  padding: 25px 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  border: none;
  position: relative;
  text-align: center;
  white-space: nowrap;
}

.schedule-table thead th:first-child {
  text-align: left;
  border-radius: 20px 0 0 0;
}

.schedule-table thead th:last-child {
  border-radius: 0 20px 0 0;
}

.schedule-table tbody tr {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-bottom: 1px solid #f5f5f5;
  position: relative;
}

.schedule-table tbody tr:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 178, 130, 0.03) 0%,
    rgba(0, 178, 130, 0.05) 100%
  );
  transform: scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 178, 130, 0.15);
  z-index: 10;
}

.schedule-table tbody tr:last-child {
  border-bottom: none;
}

.schedule-table tbody td {
  padding: 20px;
  vertical-align: middle;
  border: none;
  position: relative;
  text-align: center;
}

.schedule-table tbody td:first-child {
  text-align: left;
}

.course-name {
  font-weight: 700;
  color: #2d3748;
  font-size: 15px;
  line-height: 1.5;
  max-width: 300px;
  display: inline-block;
}

.course-type {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.course-type:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.type-seminar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.type-training {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.type-workshop {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.type-course {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.location-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.location-tag:hover {
  transform: scale(1.05);
}

.location-online {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #2d3748;
}

.location-address {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #2d3748;
}

.price-tag {
  font-weight: 800;
  font-size: 15px;
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  min-width: 80px;
  transition: all 0.3s ease;
}

.price-tag:hover {
  transform: scale(1.1);
}

.price-paid {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #2d3748;
  border: 2px solid #ff6b6b;
}

.price-free {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #2d3748;
  border: 2px solid #00b282;
}

.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.status-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.status-booked {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  color: #2d3748;
}

.status-open {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #2d3748;
}

.date-info {
  font-size: 13px;
  line-height: 1.6;
  padding: 5px;
}

.date-primary {
  font-weight: 700;
  color: #2d3748;
  display: block;
  margin-bottom: 2px;
}

.date-secondary {
  color: #718096;
  font-size: 11px;
  font-weight: 500;
}

.page-title {
  background: linear-gradient(135deg, #00b282 0%, #008a65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 800;
}

.section-subtitle {
  text-align: center;
  color: #718096;
  font-size: 18px;
  margin-bottom: 40px;
  font-weight: 500;
}

.registration-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
  margin-top: 40px;
}

.registration-info h5 {
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
}

.registration-info a {
  color: #fed6e3 !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.registration-info a:hover {
  color: white !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .schedule-table {
    overflow-x: auto;
    border-radius: 15px;
    margin: 20px 0;
  }

  .schedule-table table {
    min-width: 900px;
  }

  .schedule-table thead th,
  .schedule-table tbody td {
    padding: 15px 10px;
    font-size: 12px;
  }

  .course-name {
    font-size: 13px;
    max-width: 250px;
  }

  .course-type {
    padding: 6px 12px;
    font-size: 10px;
  }

  .price-tag {
    font-size: 13px;
    padding: 6px 12px;
    min-width: 60px;
  }

  .status-badge {
    padding: 6px 12px;
    font-size: 10px;
  }

  .training-section {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .page-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .schedule-table table {
    min-width: 800px;
  }

  .schedule-table thead th,
  .schedule-table tbody td {
    padding: 12px 8px;
  }
}

/* Add floating animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.schedule-table:hover {
  animation: float 3s ease-in-out infinite;
}
/* Language Selector Styles */
.language-selector {
  position: relative !important;
}

.language-dropdown {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  background: white !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  margin-top: 1px !important;
  min-width: 150px !important;
  z-index: 1000 !important;
  display: none !important;
}

.language-selector:hover .language-dropdown {
  display: block !important;
}

@media (max-width: 767px) {
  .language-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0px !important;
    margin-top: 1px !important;
    transform: none !important;
  }
}
/* Enhanced Workshop Card Styles */
.workshop-card {
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.workshop-card .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--bs-primary-rgb), 0.1);
}

.icon-box i {
  font-size: 1.2rem;
}

.workshop-info .info-item:last-child {
  margin-bottom: 0;
}

.price-badge .fs-24 {
  line-height: 1.2;
}

.registration-date .badge {
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .col-lg-4.border-start {
    border-left: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

.bg-gradient-orange-sky-blue {
  background: linear-gradient(45deg, #ff6b6b, #4e54c8);
  color: white;
}
/* Enrollment Form Styles */
.enrollment-container {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.form-section-title i {
  color: var(--bs-primary);
}

.workshop-summary {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.workshop-summary p {
  font-size: 0.95rem;
}

.workshop-summary strong {
  color: var(--bs-gray-700);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.enrollment-form .form-label {
  font-weight: 500;
  color: var(--bs-gray-700);
  margin-bottom: 0.5rem;
}

.enrollment-form .form-control {
  padding: 0.75rem 1rem;
  border-color: rgba(0, 0, 0, 0.1);
}

.enrollment-form .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.1);
}

.form-check-label {
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .enrollment-form .btn-lg {
    width: 100%;
  }
}
/* Success Alert Styles */
.alert-success {
  border-left: 4px solid #198754;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.alert-success .fas {
  color: #198754;
}

.alert-success h5 {
  color: #198754;
  font-weight: 600;
}

.alert-success p {
  color: #666;
}

.alert-dismissible .btn-close {
  padding: 1.25rem;
}
/* Enrolled Trainings Table Enhancements */
.table-hover tbody tr:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.bg-success-soft {
  background-color: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.bg-gradient-primary-soft {
  background: linear-gradient(45deg, #4e54c8, #8089ff);
  color: #fff;
}

.table > :not(caption) > * > * {
  padding: 1.15rem 1.25rem;
  vertical-align: middle;
}

.table thead th {
  font-weight: 600;
  color: #343a40;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid #dee2e6;
}

.icon-box.bg-light {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.table td h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0;
}

.table td .small {
  font-size: 0.85rem;
  color: #6c757d;
}
/* Enrolled Trainings Table Enhancements */
.table-responsive {
  overflow-x: auto;
}

.table {
  font-size: 0.875rem; /* Smaller font */
  min-width: 800px; /* Ensures structure on narrow screens */
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.03);
}

.table thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
}

.table td {
  vertical-align: middle;
  text-align: center;
  padding: 0.75rem;
}

.icon-box {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 50%;
}

.badge {
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
}
