/* =========================================================
   main.css – Cleaned & Organized for EtQan
   Brand: Black / Red / White
   ========================================================= */

/*--------------------------------------------------------------
# 1. Root Variables & Global Settings
--------------------------------------------------------------*/
:root {
  /* Fonts */
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  /* Font sizes */
  --body-font-size: 16px;
  --heading-font-size: 32px;
  --subheading-font-size: 28px;

  /* Global Colors (EtQan theme) */
  --background-color: #f4f4f9;
  --surface-color: #ffffff;
  --default-color: #333333;
  --heading-color: #000000;
  --accent-color: #b90606;
  --contrast-color: #ffffff;

  /* Nav Colors */
  --nav-color: #292b2b;
  --nav-hover-color: #9e0909;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #272828;
  --nav-dropdown-hover-color: #b90606;

  /* Shared hero gradient (inner pages) */
  --hero-gradient: radial-gradient(
    circle at top,
    #b30000 0,
    #535353 55%,
    #000000 100%
  );

  /* Smooth scroll */
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# 2. Global Base Styles
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: var(--default-font);
  font-size: var(--body-font-size);
  line-height: 1.6;
  color: var(--default-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin: 0;
  padding: 0;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Responsive Typography */
@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 85%;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# 3. Global Layout & Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# 4. Global Page Title & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  background: var(--hero-gradient);
  color: #fff;
  padding: 25px 0;
  text-align: center;
  position: relative;
}

.page-title .container {
  max-width: 900px;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.page-title p {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 10px;
}

.page-title nav {
  display: flex;
  justify-content: center;
  padding: 5px 0;
  background: rgba(0, 0, 0, 0.2);
}

.page-title nav ol {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #fff;
}

.page-title nav ol li a {
  font-size: 15px;
  text-decoration: none;
  color: #ffe1e1;
  transition: color 0.3s;
}

.page-title nav ol li a:hover {
  color: #ffffff;
}

.page-title nav ol li + li {
  font-size: 15px;
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  padding-right: 10px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .page-title {
    padding: 20px 0;
  }
  .page-title h1 {
    font-size: 24px;
  }
  .page-title p {
    font-size: 12px;
  }
  .page-title nav ol {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# 5. Section Titles (Global)
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
  text-align: center;
}

.section-title h2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin-top: 15px;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--nav-font);
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .section-title p {
    font-size: 26px;
    line-height: 1.3;
  }
  .section-title h2 {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# 6. Header & Navigation
--------------------------------------------------------------*/
.header {
  background: rgb(252, 252, 252);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img,
.navbar-logo {
  height: 75px;
  width: 150px;
  display: block;
}

@media (min-width: 992px) {
  .navbar-logo img,
  .navbar-logo {
    height: 60px;
    width: auto;
  }
}

/* Base navmenu (desktop default) */
.navmenu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.navmenu ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.navmenu li {
  position: relative;
}

/* Make each label stay on one line and align nicely */
.navmenu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--nav-font);
  color: var(--nav-color);
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.3s;
}

/* small chevron / globe icons next to text */
.navmenu a i {
  font-size: 12px;
  margin-left: 4px;
}

.navmenu a:hover,
.navmenu .nav-link.active {
  color: var(--nav-hover-color);
  font-weight: 600;
}

/* Dropdown */
.navmenu .dropdown {
  position: relative;
}

.navmenu .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: var(--nav-dropdown-background-color);
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
  min-width: 220px;
  padding: 10px 0;
  animation: fadeIn 0.3s ease-in-out;
}

.navmenu .dropdown:hover .dropdown-menu {
  display: block;
}

.navmenu .dropdown-menu a {
  padding: 10px 20px;
  font-size: 14px;
  color: var(--nav-dropdown-color);
  display: block;
  transition: background-color 0.3s, color 0.3s;
}

.navmenu .dropdown-menu a:hover {
  background-color: #f3f3f5;
  color: var(--nav-dropdown-hover-color);
}

/* Get Started Button (if used) */
.btn-getstarted {
  background: var(--accent-color);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;
  margin-left: 20px;
}

.btn-getstarted:hover {
  color: #ffffff;
  background: #7a0505;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
  }

  .navbar-logo img,
  .navbar-logo {
    height: 50px;
  }

  .mobile-nav-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #333;
  }

  .navmenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(33, 33, 33, 0.72);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 9999;
  }

  .navmenu ul {
    flex-direction: column;
  }

  .navmenu li {
    margin: 15px 0;
  }

  .navmenu a {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
  }

  .mobile-nav-active .navmenu {
    left: 0;
  }
}

/* Fade-in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# 7. Hero Section (Home)
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  text-align: left;
}

.hero h1,
.hero h2 {
  color: #fff;
}

.hero p {
  color: #fff;
  margin-top: 10px;
  font-size: 24px;
}

.hero .btn-get-started {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  border: 2px solid #ffffff;
  color: #ffffff;
  margin-top: 30px;
  transition: 0.4s;
}

.hero .btn-get-started:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# 8. Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Equalizer wrapper */
.equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 40px;
}

/* Bars */
.equalizer .bar {
  display: inline-block;
  width: 7px;
  height: 40px;
  margin: 0 3px;
  border-radius: 4px;
  background: #b90606;
  animation: equalizerPulse 0.8s ease-in-out infinite;
  transform-origin: bottom;
}

/* Different delays so they "dance" */
.equalizer .bar-1 {
  animation-delay: 0s;
}
.equalizer .bar-2 {
  animation-delay: 0.12s;
}
.equalizer .bar-3 {
  animation-delay: 0.24s;
}
.equalizer .bar-4 {
  animation-delay: 0.36s;
}
.equalizer .bar-5 {
  animation-delay: 0.48s;
}

/* Keyframes for equalizer effect */
@keyframes equalizerPulse {
  0%,
  100% {
    transform: scaleY(0.3);
    opacity: 0.5;
  }
  40% {
    transform: scaleY(1);
    opacity: 1;
  }
  70% {
    transform: scaleY(0.5);
    opacity: 0.8;
  }
}

/* Text under the bars */
.preloader-text {
  margin-top: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.75;
}

/* Hide preloader when page is ready */
#preloader.preloader-hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

@media (max-width: 768px) {
  #preloader {
    height: 100vh !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/*--------------------------------------------------------------
# 9. Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# 10. Footer
--------------------------------------------------------------*/
.footer {
  background: #333333;
  color: #f1f1f1;
  padding: 30px 0;
  font-size: 14px;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer p {
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
  color: #dcdcdc;
}

.footer-about {
  margin-bottom: 20px;
}

/* Quick Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links ul li a {
  color: #f1f1f1;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: var(--accent-color);
}

/* Newsletter */
.footer-newsletter p {
  color: #dcdcdc;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer .newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer .newsletter-form input {
  flex-grow: 1;
  padding: 10px 12px;
  border-radius: 4px;
  border: none;
  font-size: 14px;
}

.footer .newsletter-form button {
  padding: 10px 20px;
  background: var(--accent-color);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer .newsletter-form button:hover {
  background: #7a0505;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  color: #a5a5a5;
  border-top: 1px solid #444;
  padding-top: 10px;
}

/*--------------------------------------------------------------
# 11. Home Sections (About, Vision, Counts, Why Us, Services)
--------------------------------------------------------------*/
.about p {
  font-size: 20px;
  color: #000000;
}

.about ul {
  padding-left: 20px;
  list-style-type: disc;
}

.about ul li {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1b1a1a;
}

.about img {
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Vision / Mission (older naming) */
.vision-mission h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.vision-mission p {
  font-size: 18px;
  line-height: 1.7;
  color: #000000;
}

/* Counts */
.counts .stats-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.counts .purecounter {
  font-size: 48px;
  font-weight: bold;
  color: var(--accent-color);
}

/* Why Choose Us */
.why-choose-us h2 {
  color: #4d4c4c;
}

.why-choose-us .box {
  padding: 35px;
  border-radius: 10px;
  background: #ffffff;
  border-top: 4px solid var(--accent-color);
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.why-choose-us .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.why-choose-us .box h3 {
  font-size: 22px;
  font-weight: bold;
  color: #1b1b1b;
}

.why-choose-us .box p {
  font-size: 18px;
  color: #000000;
}

/* Services */
.services h2 {
  color: #4d4c4c;
}

.services .icon-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.services .icon-box h4 {
  font-size: 22px;
  font-weight: bold;
  color: #050505;
}

.services .icon-box p {
  font-size: 18px;
  color: #080808;
}

/*--------------------------------------------------------------
# 12. Training Slider (Gallery)
--------------------------------------------------------------*/
.training-slider {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0 60px;
  position: relative;
}

.training-slider .swiper-slide {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

.training-slider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 3;
}

.training-slider .swiper-slide-prev,
.training-slider .swiper-slide-next {
  opacity: 0.6;
  transform: scale(0.92) translateY(14px);
  z-index: 2;
}

.training-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/*--------------------------------------------------------------
# 13. Home Courses Section
--------------------------------------------------------------*/
.courses h2 {
  color: #4d4c4c;
}

.courses .course-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 35px;
  height: 100%;
}

.courses .course-item .course-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.courses .course-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #020202;
  margin-bottom: 10px;
}

.courses .course-item p {
  font-size: 18px;
  color: #000000;
  margin-bottom: 10px;
}

.courses .course-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# 14. ISO Implementation (Home CTA)
--------------------------------------------------------------*/
.iso-implementation {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.iso-implementation h2 {
  font-size: 32px;
  color: #333333;
  font-weight: 700;
  margin-bottom: 20px;
}

.iso-implementation .iso-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.iso-implementation .iso-box h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.iso-implementation .iso-box p {
  font-size: 18px;
  color: #666666;
}

.btn-learn-more {
  display: inline-block;
  background: var(--accent-color);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  transition: background 0.3s ease;
}

.btn-learn-more:hover {
  background: #111111;
}

/*--------------------------------------------------------------
# 15. About Page (about-us, vision, history)
--------------------------------------------------------------*/
.about-us {
  padding: 80px 0;
}

.about-us .row {
  align-items: center;
}

.about-us .content {
  text-align: left;
}

.about-us h3.small-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.about-us p.small-paragraph {
  font-size: 18px;
  color: #000000;
  line-height: 1.8;
}

.about-us ul {
  padding-left: 0;
  list-style: none;
}

.about-us ul li {
  font-size: 18px;
  color: #050505;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-us ul li i {
  font-size: 18px;
  color: var(--accent-color);
  margin-right: 8px;
}

.about-us .about-img {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Vision Block (separate section) */
.vision {
  padding: 60px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.vision h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.vision p {
  font-size: 18px;
  color: #000000;
  margin: 0 auto;
  max-width: 900px;
  line-height: 1.8;
}

/* History */
.history {
  padding: 60px 0;
}

.history h2 {
  font-size: 32px;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 20px;
  text-align: center;
}

.history p {
  font-size: 18px;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

.history-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  text-align: center;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.history-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.history-card h4 {
  font-size: 20px;
  font-weight: bold;
  color: #222222;
  margin-bottom: 15px;
}

.history-card p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# 16. Training Overview Page (training.html)
--------------------------------------------------------------*/

/* Hero */
.training-page .training-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.training-page .training-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.training-page .training-hero p {
  max-width: 780px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

/* Background */
.training-page .section.light-background {
  background: #f5f6f8;
}

/* Category cards */
.training-page .training-category-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.training-page .training-category-card .card {
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  background: #ffffff;
}

.training-page .training-category-card .card:hover {
  transform: translateY(-6px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

/* Category image */
.training-page .category-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card body */
.training-page .training-category-card .card-body {
  padding: 18px 20px 22px;
}

.training-page .category-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

.training-page .category-subtitle {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}

.training-page .category-list {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.training-page .category-list li {
  font-size: 0.88rem;
  margin-bottom: 3px;
}

/* Link text */
.training-page .category-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b30000;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .training-page .training-hero {
    padding: 80px 0 40px;
  }

  .training-page .training-hero h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 575.98px) {
  .training-page .training-hero p {
    padding: 0 12px;
  }

  .training-page .training-category-card .card-body {
    padding: 16px;
  }
}

/*--------------------------------------------------------------
# Cybersecurity & IT Courses Page (cybersecurityCourse.html)
--------------------------------------------------------------*/

.cyber-security-page .cyber-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.cyber-security-page .cyber-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cyber-security-page .cyber-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

.cyber-security-page .cyber-courses-section {
  background: #f5f6f8;
}

.cyber-security-page .course-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.cyber-security-page .course-card:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.cyber-security-page .course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cyber-security-page .course-card p {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 8px;
}

.cyber-security-page .course-card ul {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.cyber-security-page .course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.cyber-security-page .btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cyber-security-page .btn-book-course:hover {
  background: #ffffff;
  color: #b30000;
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .cyber-security-page .cyber-hero {
    padding: 80px 0 40px;
  }

  .cyber-security-page .cyber-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# Supply Chain & Logistics Page (supplyChain.html)
--------------------------------------------------------------*/

.supply-chain-page .supply-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.supply-chain-page .supply-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.supply-chain-page .supply-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

.supply-chain-page .supply-courses-section {
  background: #f5f6f8;
}

/* Reuse same card style as cyber page for consistency */
.supply-chain-page .course-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.supply-chain-page .course-card:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.supply-chain-page .course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.supply-chain-page .course-card p {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 8px;
}

.supply-chain-page .course-card ul {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.supply-chain-page .course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.supply-chain-page .btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.supply-chain-page .btn-book-course:hover {
  background: #ffffff;
  color: #b30000;
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .supply-chain-page .supply-hero {
    padding: 80px 0 40px;
  }

  .supply-chain-page .supply-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# HSE, Safety & Oil & Gas Page (hse.html)
--------------------------------------------------------------*/

.hse-page .hse-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.hse-page .hse-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hse-page .hse-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

.hse-page .hse-courses-section {
  background: #f5f6f8;
}

.hse-page .course-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hse-page .course-card:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.hse-page .course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hse-page .course-card p {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 8px;
}

.hse-page .course-card ul {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.hse-page .course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.hse-page .btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hse-page .btn-book-course:hover {
  background: #ffffff;
  color: #b30000;
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hse-page .hse-hero {
    padding: 80px 0 40px;
  }

  .hse-page .hse-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# Engineering & Technical Skills Page (engineeringTechnical.html)
--------------------------------------------------------------*/

.engineering-page .engineering-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.engineering-page .engineering-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.engineering-page .engineering-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

.engineering-page .engineering-courses-section {
  background: #f5f6f8;
}

.engineering-page .course-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.engineering-page .course-card:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.engineering-page .course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.engineering-page .course-card p {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 8px;
}

.engineering-page .course-card ul {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.engineering-page .course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.engineering-page .btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.engineering-page .btn-book-course:hover {
  background: #ffffff;
  color: #b30000;
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .engineering-page .engineering-hero {
    padding: 80px 0 40px;
  }

  .engineering-page .engineering-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# Business & Management Page (projectManagment.html)
--------------------------------------------------------------*/

.business-page .business-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.business-page .business-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.business-page .business-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

.business-page .business-courses-section {
  background: #f5f6f8;
}

.business-page .course-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.business-page .course-card:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.business-page .course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.business-page .course-card p {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 8px;
}

.business-page .course-card ul {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.business-page .course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.business-page .btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.business-page .btn-book-course:hover {
  background: #ffffff;
  color: #b30000;
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .business-page .business-hero {
    padding: 80px 0 40px;
  }

  .business-page .business-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# Administrative Skills & HR Page (humanResources.html)
--------------------------------------------------------------*/

.hr-page .hr-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.hr-page .hr-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hr-page .hr-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

.hr-page .hr-courses-section {
  background: #f5f6f8;
}

.hr-page .course-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hr-page .course-card:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.hr-page .course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hr-page .course-card p {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 8px;
}

.hr-page .course-card ul {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.hr-page .course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.hr-page .btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hr-page .btn-book-course:hover {
  background: #ffffff;
  color: #b30000;
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hr-page .hr-hero {
    padding: 80px 0 40px;
  }

  .hr-page .hr-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# Quality, Audits & Compliance Page (qualityCompliance.html)
--------------------------------------------------------------*/

.quality-page .quality-hero {
  padding: 90px 0 50px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.quality-page .quality-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.quality-page .quality-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.9;
}

.quality-page .quality-courses-section {
  background: #f5f6f8;
}

.quality-page .course-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e3e4ea;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.quality-page .course-card:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}

.quality-page .course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.quality-page .course-card p {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 8px;
}

.quality-page .course-card ul {
  padding-left: 1.2rem;
  margin-bottom: 10px;
}

.quality-page .course-card ul li {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.quality-page .btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quality-page .btn-book-course:hover {
  background: #ffffff;
  color: #b30000;
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .quality-page .quality-hero {
    padding: 80px 0 40px;
  }

  .quality-page .quality-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# EtQan Course Blocks – Global Style
--------------------------------------------------------------*/
.course-block {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.course-block:hover {
  transform: translateY(-4px);
  border-color: #b30000;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.course-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.course-block p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 8px;
}

.course-block ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.course-block ul li {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.btn-book-course {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: #b30000;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid #b30000;
  transition: 0.2s ease;
}

.btn-book-course:hover {
  background: #fff;
  color: #b30000;
}

/*--------------------------------------------------------------
# Generic Course Booking Page
--------------------------------------------------------------*/
.course-booking-page .booking-hero {
  padding: 90px 0 45px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.course-booking-page .booking-hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.course-booking-page .booking-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.96rem;
  opacity: 0.9;
}

.course-booking-page .booking-section {
  padding: 60px 0;
}

.course-booking-page .php-email-form button[type="submit"] {
  background: #b30000;
  border: 0;
  padding: 10px 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.course-booking-page .php-email-form button[type="submit"]:hover {
  background: #000000;
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .cyber-security-page .cyber-hero,
  .course-booking-page .booking-hero {
    padding: 80px 0 40px;
  }

  .cyber-security-page .cyber-hero h1,
  .course-booking-page .booking-hero h1 {
    font-size: 2.1rem;
  }
}

/*--------------------------------------------------------------
# 18. Tabs Section (if used anywhere)
--------------------------------------------------------------*/
.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  background-color: var(--background-color);
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--default-color);
  border-right: 2px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

/*--------------------------------------------------------------
# 19. Consultation Cards (consultation.html)
--------------------------------------------------------------*/
.consultation-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.consultation-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #dddddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  height: 100%;
}

.consultation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.consultation-icon {
  font-size: 3rem;
  color: #bd0b1a;
  margin-bottom: 20px;
}

.consultation-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333333;
}

.consultation-card p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
  margin: 0;
}

.consultation-card:hover h3,
.consultation-card:hover p {
  color: var(--accent-color);
}

.consultation-details .row {
  row-gap: 20px;
}

/*--------------------------------------------------------------
# 20. ISO / HRD / PA Detail Sections (content-section)
--------------------------------------------------------------*/
.content-section {
  padding: 60px 20px;
  background: #f9fbfd;
  border-radius: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  color: #212529;
  border-bottom: 4px solid #dc3545;
  display: inline-block;
  padding-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}

.content-section .service {
  margin-bottom: 30px;
  padding: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section .service:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.content-section .service h3 {
  font-size: 1.8rem;
  color: #2e2424;
  margin-bottom: 10px;
}

.content-section .service p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555555;
}

.content-section ul {
  padding-left: 20px;
  margin-top: 20px;
  color: #444444;
}

.content-section ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/*--------------------------------------------------------------
# 21. Cybersecurity Services Vertical List
--------------------------------------------------------------*/
#cybersecurity-services {
  padding: 60px 20px;
  background: #f9f9f9;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon {
  font-size: 40px;
  color: #d11a2a;
  flex-shrink: 0;
}

.service-item h3 {
  font-size: 1.8rem;
  color: #b30000;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 1.2rem;
  color: #0c0c0c;
  margin-bottom: 10px;
}

.service-item ul {
  list-style-type: none;
  padding-left: 0;
}

.service-item ul li {
  font-size: 1rem;
  color: #000000;
  margin-bottom: 8px;
}

.service-item ul li strong {
  color: #881822;
}

/*--------------------------------------------------------------
# 22. Facilities & Training Logistics
--------------------------------------------------------------*/
.facilities-section {
  padding: 40px 0;
}

.facility-category {
  margin-bottom: 50px;
}

.facility-category h2 {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 10px;
}

.facility-category p {
  font-size: 18px;
  color: #000000;
  margin-bottom: 30px;
}

.facility-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.facility-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.facility-card p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
}

/* Training Logistics */
.training-logistics {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.training-logistics h2 {
  font-size: 28px;
  font-weight: bold;
  color: #030303;
  margin-bottom: 20px;
  text-align: center;
}

.training-logistics p {
  font-size: 18px;
  color: #000000;
  text-align: center;
  margin: 20px 0;
}

.logistics-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logistics-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.logistics-card h4 {
  font-size: 20px;
  font-weight: bold;
  color: #222222;
  margin-bottom: 10px;
}

.logistics-card p {
  font-size: 18px;
  color: #000000;
  line-height: 1.6;
}

.logistics-icon {
  font-size: 36px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

/*--------------------------------------------------------------
# 23. Events (You said you'll remove the page later if needed)
--------------------------------------------------------------*/
.events .card {
  background-color: var(--background-color);
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.events .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
}

.events .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.events .card-body {
  z-index: 10;
  background: var(--surface-color);
  border-top: 4px solid var(--surface-color);
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.events .card-body p {
  font-size: 18px;
  color: #000000;
}

.events .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.events .card-title a {
  color: #000000;
  transition: 0.3s;
}

.events .card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
  transform: scale(1.1);
}

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

/* ============================
   INSTRUCTORS PAGE STYLING
   ============================ */

body.instructors-page {
  background: #f5f6f8;
  color: #222;
}

/* Page title */
.instructors-page .page-title {
  padding: 80px 0 40px;
  text-align: center;
  background: var(--hero-gradient);
  color: #fff;
}

.instructors-page .page-title h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.instructors-page .page-title p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.98rem;
  opacity: 0.88;
}

/* Section background */
.instructors-page .section.light-background {
  background: #f5f6f8;
  padding: 60px 0;
}

/* Section title */
.instructors-page .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.instructors-page .section-title h2 {
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
}

.instructors-page .section-title p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #b30000;
}

/* Cards grid */
.instructors-page .card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e3e4ea;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  background: #fff;
}

.instructors-page .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  border-color: #b30000;
}

.instructors-page .card-img-top {
  width: 100%;
  aspect-ratio: 3 / 4; /* smaller height */
  object-fit: cover;
  background: #e9eaef;
  max-height: 280px; /* adds a soft limit */
}

/* Card body */
.instructors-page .card-body {
  padding: 18px 20px 20px;
}

.instructors-page .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}

.instructors-page .card-body .text-muted {
  font-size: 0.9rem;
  font-weight: 600;
  color: #777 !important;
}

.instructors-page .card-text {
  font-size: 0.9rem;
  margin-top: 8px;
  margin-bottom: 10px;
  color: #444;
  line-height: 1.5;
}

/* Bullet list inside cards */
.instructors-page .card-body ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.instructors-page .card-body ul li {
  font-size: 0.9rem;
  margin-bottom: 4px;
  position: relative;
}

.instructors-page .card-body ul li::marker {
  color: #b30000;
}

/* Apply as Instructor section */
.instructors-page .section.light-background:last-of-type {
  border-top: 1px solid #ddd;
  margin-top: 20px;
}

.instructors-page .section.light-background:last-of-type p {
  font-size: 0.95rem;
  color: #444;
}

/* CTA button */
.instructors-page .btn-learn-more {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  border: 2px solid #b30000;
  background: #b30000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease,
    box-shadow 0.25s ease;
}

.instructors-page .btn-learn-more:hover {
  background: #fff;
  color: #b30000;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Footer tweaks on this page (optional, keeps it a bit tighter) */
.instructors-page .footer {
  margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .instructors-page .page-title {
    padding: 70px 0 36px;
  }

  .instructors-page .page-title h1 {
    font-size: 2rem;
  }
}

@media (max-width: 575.98px) {
  .instructors-page .card-body {
    padding: 16px;
  }

  .instructors-page .card-title {
    font-size: 1rem;
  }

  .instructors-page .page-title p {
    padding: 0 12px;
  }
}

/*--------------------------------------------------------------
# 24. Contact
--------------------------------------------------------------*/
.contact {
  padding-top: 8px;
  padding-bottom: 40px;
}

.contact .info-item + .info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000000;
}

.contact .info-item p {
  margin-bottom: 0;
  font-size: 14px;
  color: #000000;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: #000000;
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #000000;
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px 12px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.contact .loading,
.contact .error-message,
.contact .sent-message {
  font-size: 14px;
  color: #000000;
}

.contact .loading {
  display: none;
  font-weight: 700;
}

.contact .error-message {
  display: none;
  background: #fce4e4;
  color: #ff0000;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .sent-message {
  display: none;
  background: #e6f9e6;
  color: #28a745;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form input:valid,
.contact .php-email-form textarea:valid {
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# 25. Mobile AOS fix
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* Status messages for all php-email-form forms (contact, booking, instructor, newsletter) */
.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message {
  display: none;
  font-size: 14px;
}

/* Optional: specific colors like contact page */
.php-email-form .error-message {
  background: #fce4e4;
  color: #ff0000;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .sent-message {
  background: #e6f9e6;
  color: #28a745;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .loading {
  font-weight: 700;
}
