/* Hero Section */
.cap-init-hero-section {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 0;
}

.cap-init-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cap-init-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* Content Section */
.cap-init-content-section {
  padding: 60px 0 80px;
  background-color: #fff;
}

.cap-init-main-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #4fa9b8;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
}

.cap-init-feature-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 4px;
}

.cap-init-feature-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.cap-init-feature-image:hover {
  transform: scale(1.02);
}

.cap-init-intro-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 40px;
}

/* Content Blocks */
.cap-init-content-block {
  margin-bottom: 40px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cap-init-content-block.cap-init-hidden {
  display: none;
  opacity: 0;
}

.cap-init-section-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #4fa9b8;
  margin-bottom: 15px;
  letter-spacing: 0.3px;
}

.cap-init-section-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

.cap-init-learn-link {
  color: #4fa9b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cap-init-learn-link:hover {
  color: #2c6b7d;
  text-decoration: underline;
}

/* Sidebar */
.cap-init-sidebar {
  background-color: #f8f9fa;
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 20px;
}

.cap-init-sidebar-header {
  background-color: #4fa9b8;
  color: #fff;
  padding: 15px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cap-init-sidebar-nav {
  display: flex;
  flex-direction: column;
}

.cap-init-sidebar-link {
  padding: 15px 20px;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
  position: relative;
}

.cap-init-sidebar-link:last-child {
  border-bottom: none;
}

.cap-init-sidebar-link:hover {
  background-color: #e8f4f6;
  color: #2c6b7d;
  padding-left: 25px;
}

.cap-init-sidebar-link.cap-init-active {
  background-color: #2c6b7d;
  color: #fff;
  font-weight: 600;
  border-left: 4px solid #2c6b7d;
}

.cap-init-sidebar-link.cap-init-active:hover {
  padding-left: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .cap-init-sidebar {
    position: static;
    margin-top: 40px;
  }

  .cap-init-main-heading {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .cap-init-hero-section {
    height: 250px;
  }

  .cap-init-content-section {
    padding: 40px 0 60px;
  }

  .cap-init-main-heading {
    font-size: 1.75rem;
  }

  .cap-init-section-heading {
    font-size: 1.2rem;
  }

  .cap-init-sidebar-link {
    font-size: 0.85rem;
    padding: 12px 15px;
  }

  .cap-init-sidebar-header {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .cap-init-hero-section {
    height: 200px;
  }

  .cap-init-main-heading {
    font-size: 1.5rem;
  }
}
