.sticky-vertical {
  display:none;
  position: fixed; /* stays in place while scrolling */
  top: 25%; /* vertically centered */
  right: 0; /* stick to left edge */
  transform-origin: bottom right;
  transform: translateY(-50%) rotate(-90deg); /* rotate to vertical text */
  background: orange; /* standout color */
  color: white;
  padding: 12px 25px;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px 8px 0px 0px;
  z-index: 9999; /* stays above everything */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: default;
  user-select: none;
}

@media (max-width: 600px) {
  .sticky-vertical {
    top: 34%; /* vertically centered */
  }
}

/* ##############################
    RIGHT DIV
   ############################## */

.right_div {
  position: fixed;
  bottom: 50px;
  right: 0;
  width: 350px;
  z-index: 9999;
}

.price-box-right {
  background: linear-gradient(to right, transparent 0%, white 20%);
  position: relative;
  z-index: 3;
  text-align: end;
  padding: 0px 20px;
}

/* Button (front) */
.buy-now-btn {
  position: relative; /* IMPORTANT */
  background: orange;
  color: #fff;
  border: none;
  width: 350px;
  padding: 30px 80px;
  font-size: 40px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  cursor: pointer;
  z-index: 2; /* higher than image */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  transform-origin: bottom right;
}

.original-price-right {
  text-decoration: line-through;
  color: #888;
  font-size: 36px;
}

.discounted-price-right {
  color: orange;
  font-weight: bold;
  font-size: 48px;
}

/* Image (behind + shifted) */
.pxl_logo_right_jumping {
  position: absolute; /* KEY */
  right: 25px; /* push left behind button */
  bottom: 135px; /* align vertically */
  width: 200px;
  z-index: 1;
  opacity: 0.9; /* optional for depth */
}

.right_div:hover {
  transform: scale(1.4);
  transform-origin: bottom right;
}

@media (max-width: 900px) {
  .right_div {
    width: 300px;
  }

  .pxl_logo_right_jumping {
    right: 15px; /* push left behind button */
    bottom: 75px; /* align vertically */
    width: 200px;
  }

  .buy-now-btn {
    width: 300px;
    padding: 20px 50px;
    font-size: 30px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
  }

  .original-price-right {
    font-size: 24px;
  }

  .discounted-price-right {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .right_div {
    width: 200px;
    bottom: 50px;
  }

  .pxl_logo_right_jumping {
    right: 15px; /* push left behind button */
    bottom: 75px; /* align vertically */
    width: 120px;
  }

  .buy-now-btn {
    width: 200px;
    padding: 20px 30px;
    font-size: 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
  }

  .original-price-right {
    font-size: 18px;
  }

  .discounted-price-right {
    font-size: 24px;
  }
}

/* ##############################
    HERO SECTION
   ############################## */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 10%;
}

/* LEFT SIDE */
.hero-left {
  max-width: 50%;
}

.hero-text-box-left {
  width: 100%;
  position: relative;
}

.scribble-arrow {
  width: 12vw;
  position: absolute;
  left: 80%;
  top: -20%;
}

.logo {
  font-weight: bold;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 90px);
  font-weight: 800;
  line-height: 1.05;
  margin: 10px 0px;
}

.hero p {
  margin: 20px 0px;
  font-size: clamp(18px, 1.5vw, 30px);
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.price-box {
  font-family: Arial, sans-serif;
  font-size: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.original-price {
  text-decoration: line-through;
  color: #888;
  font-size: 36px;
}

.discounted-price {
  color: orange;
  font-weight: bold;
  font-size: 48px;
}

.btn {
  margin-left: 40px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 6px;
}

.btn.primary {
  background: orange;
  color: white;
}

.btn.secondary {
  background: white;
  border: 2px solid #ddd;
}

.hero-left-logo {
  width: 15vw;
}

.hero-left {
  font-family: "Inter", sans-serif;
}

/* RIGHT SIDE */
.hero-right {
  position: relative;
  width: 50%;
}

.hero-card {
  position: relative;
  width: 100%;
}

.hero-card img {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .hero {
    padding-right: 5%;
  }

  .hero-left {
    max-width: 60%;
  }

  .hero-right {
    width: 40%;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column; /* stack */
    align-items: flex-start; /* better text alignment */
    gap: 30px;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    max-width: 100%;
  }

  .hero-right {
    order: 2; /* ensures it comes below */
  }

  .hero-left {
    order: 1;
  }

  /* Optional: center image nicely */
  .hero-card img {
    width: 100%;
  }

  .scribble-arrow {
    width: 25vw;
    position: absolute;
    left: 70%;
    top: -30%;
  }

  .original-price {
    font-size: 5vw;
  }

  .discounted-price {
    font-size: 8vw;
  }
}

/* ##############################
    PROJECTS1
   ############################## */

.projects1 {
  padding: 80px 8%;
  background: #f9f9f9;
}

/* HEADER */
.projects-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

/* LEFT LINE */
.line {
  width: 80px;
  height: 2px;
  background: #000;
}

/* TITLE */
.projects1 h2 {
  font-size: clamp(24px, 4vw, 56px);
  font-weight: 800;
  margin: 0;
}

/* UNDERLINE EFFECT */
/* .projects1 h2 span {
  border-bottom: 10px solid black;
  display: inline-block;
  padding-bottom: -10px;
} */

.projects1 h2 span {
  background-image: linear-gradient(black, black);
  background-repeat: no-repeat;
  background-size: 100% 10px; /* thickness */
  background-position: 0 90%; /* position (inside text) */
  padding-bottom: 8px;
}

/* GRID */
.projects-grid {
  padding: 20px 0px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD WRAPPER */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* IMAGE */
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

/* HOVER EFFECT (image zoom) */
.project-card:hover img {
  transform: scale(1.05);
}

/* TEXT OVERLAY */
.project-name {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 2;
}

/* GRADIENT OVERLAY (for readability) */
.project-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

@media (max-width: 1200px) {
  .projects1 {
    padding: 40px 5%;
  }

  .projects1 h2 span {
    background-size: 100% 7px; /* thickness */
  }
}

@media (max-width: 900px) {
  .projects1 {
    padding: 40px 5%;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects1 h2 span {
    background-size: 100% 5px; /* thickness */
  }
}

@media (max-width: 500px) {
  .projects-header {
    margin-bottom: 10px;
  }

  .project-name {
    font-size: 14px;
    right: -5px;
  }

  .line {
    width: 40px;
  }
}

.project-tutorials {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 80px 12%;
}

/* LEFT SIDE */
.left {
  flex: 0 0 70%;
  position: relative;
}

.left h1 {
  font-size: clamp(28px, 3vw, 48px);
  position: absolute;
  top: 0%;
  left: -10%;
}

.left img {
  width: 100%;
  border-radius: 10px;
}

/* RIGHT SIDE */
.right {
  padding-left: clamp(20px, 1.8vw, 50px);
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* FEATURE BLOCK */
.feature {
  padding-left: clamp(20px, 1.8vw, 50px);
  border-left: 6px solid;
}

.feature h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
}

.feature p {
  line-height: 1.5;
  font-size: clamp(16px, 1.8vw, 20px);
  font-family: "Inter", sans-serif;
  margin-top: clamp(7px, 0.7vw, 14px);
  color: #555;
}

@media (max-width: 1200px) {
  .left {
    flex: 0 0 60%;
  }

  .right {
    flex: 0 0 40%;
  }
}

@media (max-width: 900px) {
  .left {
    flex: 0 0 50%;
  }

  .left h1 {
    top: -30%;
    left: -10%;
  }

  .right {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .project-tutorials {
    flex-direction: column;
  }

  .left h1 {
    top: 0%;
    left: -10%;
  }

  .right {
    padding-left: 0px;
  }
}

@media (max-width: 600px) {
  .left h1 {
    top: -10%;
    left: -10%;
  }

  .project-tutorials {
    padding-bottom: 40px;
  }
}

@media (max-width: 500px) {
  .left h1 {
    top: -20%;
    left: -10%;
  }
}

.projects2 {
  padding: 80px 8%;
  background: #f9f9f9;
}

@media (max-width: 900px) {
  .projects2 {
    padding: 40px 5%;
  }
}

.components_section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 80px 8%;
}

.components_section_column {
  width: 25%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.components_section_center {
  width: 40%;
  text-align: center;
}

.components_section_center img {
  width: 100%;
  max-width: 500px;
  border: 4px solid #4b0082;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

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

.components_section_block {
  position: relative;
  padding-left: clamp(20px, 1.8vw, 50px);
  border-left: 6px solid;
}

.components_section_block h2 {
  margin-bottom: 10px;
  /* margin: 0; */
  font-size: clamp(20px, 2vw, 30px);
}

.components_section_block p {
  line-height: 1.5;
  font-size: clamp(16px, 1.8vw, 20px);
  font-family: "Inter", sans-serif;
  margin-top: clamp(7px, 0.7vw, 14px);
  color: #555;
}

/* COLORS */
.orange {
  border-color: #f39c12;
}
.green {
  border-color: #16a085;
}
.purple {
  border-color: #6c5ce7;
}
.red {
  border-color: #e74c3c;
}

@media (max-width: 1500px) {
  .components_section {
    padding: 80px 4%;
  }
}

@media (max-width: 900px) {
  .components_section {
    flex-direction: column;
    padding: 60px 12%;
  }

  .components_section_column {
    width: 100%;
    gap: 20px;
  }

  .components_section_center {
    width: 80%;
  }

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

.map-svg {
  left: 0;
  right: 0;
  margin: auto; /* 👈 centers horizontally */
}

/* HEADER */
.propelx_academy_header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.propelx_academy_header h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  margin: 0;
}

.propelx_academy_header_p {
  line-height: 1.5;
  font-size: clamp(18px, 1.8vw, 24px);
  font-family: "Inter", sans-serif;
  margin-top: clamp(7px, 0.7vw, 14px);
  color: #555;
}

.propelx_academy_section {
  position: relative;
}

.propelx_academy_section {
  padding: 80px 8%;
}

.scribble-arrow-2 {
  width: 12vw;
  position: absolute;
  left: 58%;
  top: 20%;
}

@media (max-width: 1500px) {
  .scribble-arrow-2 {
    left: 75%;
  }
}

@media (max-width: 1000px) {
  .scribble-arrow-2 {
    top: 32%;
  }
  .scribble-arrow-2 {
    width: 140px;
  }
}

section {
  position: relative; /* ensure shadow shows properly */
  box-shadow: inset 0 20px 30px -20px rgba(0, 0, 0, 0.1);
}

.three-images .image-row {
  display: flex;
  justify-content: center; /* center the row */
  align-items: center; /* vertical alignment */
  gap: 50px; /* spacing between images */
  padding: 80px 0px;
}

.three-images img {
  width: 450px; /* default size for side images */
  transition: transform 0.3s; /* optional: smooth hover effect */
}

.three-images > .image-row > .three-images-center {
  width: 600px; /* larger center image */
}

.three-images img:hover {
  transform: scale(1.05); /* subtle hover zoom if desired */
}

@media (max-width: 900px) {
  .three-images .image-row {
    flex-direction: column;
    gap: 0px;
    padding: 20px;
  }

  .three-images-center {
    display: none;
  }

  .three-images img {
    width: 100%;
  }
}

.single-image-section {
  font-family: "Inter", sans-serif;
  padding: 100px 8%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(/assets/images/PXL_kit_12.png);
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
}

.sign-up-section {
  padding-top: 80px;
}

/* FAQ Accordion */
.faq-section {
  width: 70%;
  margin: 0 auto;
  padding: 40px 5%;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.faq-item {
  border-radius: 10px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
  border-left: 10px solid orange;
  border-right: 10px solid orange;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
  background-color: rgba(0, 0, 0, 0.848);
  color: white;
  border: none;
  width: 100%;
  text-align: left;
  padding: 30px 50px;
  font-size: 24px;
  cursor: pointer;
  outline: none;
}

.faq-answer {
  background-color: rgba(255, 255, 255, 0.9);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.05s ease-out;
  padding: 0 20px;
  font-size: large;
  line-height: 2;
}

.faq-answer ul {
  padding-left: 50px;
  margin: 10px 0;
}

/* Add + icon to the right of question */
.faq-question {
  position: relative; /* for positioning icon */
  padding-right: 80px; /* extra space for icon */
}

/* Icon element */
.faq-question::after {
  content: "+"; /* default is + */
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: bold;
  transition:
    transform 0.3s ease,
    content 0.3s ease;
  color: white;
}

/* When FAQ is active/open */
.faq-item.active .faq-question::after {
  content: "-"; /* changes to - */
  transform: translateY(-50%) rotate(0deg); /* optional rotation if needed */
}

@media (max-width: 1500px) {
  .single-image-section {
    padding: 80px 5%;
  }

  .faq-section {
    width: 90%;
  }
}

@media (max-width: 600px) {
  .single-image-section {
    padding: 30px 10px;
  }

  .faq-question {
    font-size: 18px;
    padding: 20px 20px;
  }

  .faq-answer {
    font-size: medium;
  }

  .faq-answer ul {
    padding-left: 20px;
  }
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9998;
}

#overlay .overlay-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  width: 400px;
}

#overlay input {
  width: calc(100% - 15px);
  padding: 12px;
  font-size: 16px;
  margin: 15px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#overlay button {
  padding: 12px 20px;
  font-size: 18px;
  background: orange;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

#overlay button:hover {
  background: #e64a19;
}

#overlay textarea {
  width: calc(100% - 15px);
  padding: 12px;
  font-size: 16px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: "Inter", sans-serif;
}

#orderConfirmation {
  display: block;
  font-size: 18px;
  color: green;
  font-weight: bold;
  margin-top: 20px;
}

@media (max-width: 500px) {
  #overlay .overlay-content {
    width: 300px;
  }
}
