/* Fix for about.html content responsiveness and overflow */


.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure container and row do not cause horizontal overflow */

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-block {
        padding: 0 10px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .content-block {
        padding: 0 8px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .page-title {
        font-size: 1.8rem;
    }
}
/* sidepanel width */
.sidepanel {
  position: fixed;
  top: 0;
  right: -65%;
  width: 65%;
  height: 100%;
  background: #fff;
  transition: right 0.4s ease;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

/* When active -> show sidepanel */
.sidepanel.active {
  right: 0;
}

/* sidepanel Overlay */
.sidepanel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: gray;
  display: none;
  z-index: 999;
}

/* sidepanel Base */
.sidepanel {
  position: fixed;
  top: 100px;
  right: -100%;
  width: 65%;
  height: calc(100% - 100px);
  background: #fff;
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0,0,0,0.3);
}

/* sidepanel Header */
.sidepanel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: gray;
  color: #fff;
}

.sidepanel-header .close-btn {
  background: transparent;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

.sidepanel-nav a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
  font-size: 14px;
}

.sidepanel-nav a:hover {
  text-decoration: underline;
}

/* Banner Section */
.sidepanel-banner {
  position: relative;
  text-align: center;
}

.sidepanel-banner img {
  width: 100%;
  height: 200px;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

/* Progress Bar */
.progress-container {
  height: 6px;
  background: #eee;
  margin: 0;
}

#progressBar {
  width: 0;
  height: 100%;
  background: #007bff;
}

/* sidepanel Content */
.sidepanel-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Bullet Points */
.quote-points {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.quote-points li {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.5;
}

/* Form */
.sidepanel-form {
  margin-top: 20px;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.step h3 {
  margin-bottom: 15px;
}

.sidepanel-form input[type="text"],
.sidepanel-form input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.sidepanel-form label {
  display: flex;
  margin-bottom: 10px;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.form-nav button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.prev {
  background: #ccc;
}

.next {
  background: #007bff;
  color: #fff;
}

.submit-btn {
  background: #28a745;
  color: #fff;
}
