/* DevOps Service Cards */
.service-card {
  background: #fff;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.2rem 1.5rem 0.6rem;
}

.service-card p {
  color: var(--dark-80);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  flex: 1;
}

@media (max-width: 767px) {
  .service-card img {
    height: 140px;
  }

  .service-card h4 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}

/* Consistent font sizes for domain.html */
section.py-5 h2,
section.py-5 h3,
section.py-5 h4,
section.py-5 p,
section.py-5 ul li {
  font-size: 1rem !important;
  line-height: 1.6;
}

/* Keep headings larger but consistent */
section.py-5 h2 {
  font-size: 1.5rem !important;
  font-weight: 700;
}

section.py-5 h3 {
  font-size: 1.25rem !important;
  font-weight: 600;
}

section.py-5 h4 {
  font-size: 1.1rem !important;
  font-weight: 600;
}

/* Add dots to list items in devOps.html */
section.py-5 ul.mt-3 li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

section.py-5 ul.mt-3 li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

section.py-5.bg-light h2.text-center {
  text-align: center !important;
  display: block;
  width: 100%;
}

section.py-5.bg-light h2.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

section.py-5.bg-light h2.text-center:hover::after {
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables (non-header) */
:root {
  --primary: #007CF0;
  --primary-light: #4AA8FF;
  --secondary: #00DFD8;
  --secondary-light: #5CE8E2;
  --dark: #0E0E0E;
  --dark-80: #2D2D2D;
  --light: #FFFFFF;
  --light-gray: #F5F7FA;
  --border-radius: 12px;
  --transition: all 0.3s ease-in-out;
}

/* Typography */
.lead {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dark-80);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

section.container p {
  color: var(--dark-80);
  font-weight: 500;
}

/* Section Layout */
section {
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  position: relative;
}

.section-title,
h2 {
  position: relative;
  display: inline-block;
  margin: 2rem 0 1.5rem;
  font-weight: 700;
  color: var(--dark);
  font-size: 2rem;
}

.section-title::after,
h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: var(--transition);
}

h2:hover::after {
  width: 120px;
}

/* Course List Group */
.list-group {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.list-group-item {
  cursor: pointer;
  border: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  background: var(--light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.4s ease-out forwards;
}

.list-group-item:hover {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

.list-group-item div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-group-item div:first-child::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--primary);
  margin-left: 0.5rem;
  transition: var(--transition);
}

/* Module Detail */
.list-group-item .module-detail {
  padding: 1rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark-80);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  margin-top: 0.75rem;
}

.list-group-item .module-detail.show {
  max-height: 300px;
  padding: 1.25rem 0 0.75rem;
}

/* Course Cards */
.row.g-4>.col-md-4 .shadow {
  transition: var(--transition);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--light);
  position: relative;
}

.row.g-4>.col-md-4 .shadow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.row.g-4>.col-md-4 .shadow:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Responsive (course only) */
@media (max-width: 768px) {
  .row.g-4>[class^="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .section-title,
  h2 {
    font-size: 1.75rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.list-group-item:nth-child(1) {
  animation-delay: 0.1s;
}

.list-group-item:nth-child(2) {
  animation-delay: 0.2s;
}

.list-group-item:nth-child(3) {
  animation-delay: 0.3s;
}

.list-group-item:nth-child(4) {
  animation-delay: 0.4s;
}

.list-group-item:nth-child(5) {
  animation-delay: 0.5s;
}

.list-group-item:nth-child(6) {
  animation-delay: 0.6s;
}

.list-group-item:nth-child(7) {
  animation-delay: 0.7s;
}






body {
  margin: 0;
  background: #f8f9fa;
  font-family: 'Poppins', sans-serif;
}

/* ================= TOP BAR ================= */
.top-bar {
  background: #000;
  color: #fff;
  font-size: 14px;
}

.top-bar a {
  color: #fff;
  text-decoration: none;
}

/* ================= HEADER ================= */
#mainHeader {
  position: sticky;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #020024, #090979, #020024);
  /* transition: all .3s ease; */
  z-index: 999;
}

#mainHeader.sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.dot {
  width: 8px;
  height: 8px;
  background: #00e5ff;
  display: inline-block;
  border-radius: 50%;
  margin-left: 6px;
}

/* NAV LINKS */
.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  padding: 18px 15px;
  position: relative;
}



@media (max-width: 767px) {
  .navbar-nav .nav-link {
    color: #000 !important;
  }
}

/* Typography overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #222;
  font-weight: 700;
}

.lead {
  font-weight: 500;
  font-size: 1.1rem;
  color: #374151;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

/* DROPDOWN */
.navbar .dropdown-menu {
  background: #ffffff;
}

.navbar .dropdown-menu .dropdown-item {
  color: #101317;
}

/* ABOUT CARD */
.about-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

/* COUNTER */
.counter {
  font-size: 36px;
  font-weight: 700;
  color: #090979;
}

/* ================= FOOTER ================= */
footer {
  background: #0b0b3b;
  color: #fff;
  padding: 60px 0 30px;
  font-size: 14px;
}

footer .text-heading {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

footer .heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #00e5ff;
}

footer p {
  color: #ccc;
  line-height: 1.7;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 8px;
  color: #ccc;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: #00e5ff;
}

.icon-box i,
.icon-box-1 i {
  color: #00e5ff;
  margin-right: 10px;
}

/* COPYRIGHT */
.footer-bottom {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 12px 0;
}


.header .offcanvas-body li a {
  text-decoration: none;
  font-size: 15px;
  color: #f2f2f2;

}

.offcanvas-end {
  width: 100%;
}

h5#offcanvasRightLabel {
  color: #000;
}

.offcanvas-title {
  margin-bottom: 0;
  line-height: 1.5;
  background: #ffffff;
  padding: 10px 40px;
  border-radius: 15px;
}

button.btn-close {
  background-color: var(--white-color);
}