
.arch-carousel {
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  background-color: #fff;
  padding: 40px 40px;
  box-sizing: border-box;
}

.carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.carousel-slide {
  display: flex;
  width: 100%;
  min-width: 100%;
  flex-wrap: nowrap;
}

/* LEFT PANEL */
.left-panel {
  flex: 1.5;
  background-color: #e9ab28;
  color: #222;
  padding: 60px;
  box-sizing: border-box;
}

.left-panel h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
}

.left-panel .lead {
  font-size: 16px;
  margin-bottom: 25px;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.subject {
  
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}

/* RIGHT PANEL */
.right-panel {
  flex: 1;
  background: url('https://www.transparenttextures.com/patterns/marble.png'), #f4f4f4;
  background-size: cover;
  padding: 60px;
  color: #111;
}

.right-panel h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.right-panel ol {
  margin: 0;
  padding-left: 20px;
  font-size: 18px;
  font-weight: 500;
}

.right-panel li {
  margin-bottom: 10px;
}

/* BUTTONS */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e9ab28;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s;
  z-index: 10;
}

.nav-btn:hover { background: #b87f1d; }
.prev { left: 20px; }
.next { right: 20px; }

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 992px) {
  .carousel-slide {
    flex-direction: column;
  }

  .left-panel, .right-panel {
    flex: 1 1 100%;
    padding: 40px 30px;
  }

  .subject-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .arch-carousel {
    padding: 20px 15px;
  }

  .left-panel h2 {
    font-size: 26px;
    text-align: center;
  }

  .subject-grid {
    grid-template-columns: 1fr;
  }

  .subject {
    max-width: 250px;
    margin: 0 auto;
  }

  .right-panel {
    text-align: center;
    padding: 30px 20px;
  }

  /* Keep buttons visible on mobile */
  .nav-btn {
    padding: 10px 14px;
    font-size: 18px;
  }
}
/* Responsive heading sizes */
    @media (max-width: 768px) {
      .responsive-heading {
        font-size: 42px !important;
      }
      .heading-container {
        left: 0 !important;
        top: -30px !important;
        text-align: center !important;
      }
    }

    @media (max-width: 480px) {
      .responsive-heading {
        font-size: 34px !important;
      }
      .heading-container {
        left: 0 !important;
        top: -20px !important;
        text-align: center !important;
      }
    }