/* Campus Management Suite - Compact Vertical Layout */
.campus-management-suite {
  position: relative;
  padding: 6rem 1rem;
  background-size: cover;
  background-position: center;
  margin: 60px 0;
  color: #000000;
  width: 100vw;         
}

.campus-management-suite::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.cm-container {
  position: relative;
  max-width: 75%;
  max-height: 50%;
  margin: 0 auto;
  z-index: 1;
}

.cm-carousel {
    min-height: 500px;    /* Taller carousel area */
    display: flex;
    align-items: center;
}


.cm-track {
  position: relative;
  width: 100%;
}

.cm-card {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(1px);
  border-radius: 16px;
  padding: 30px;
  opacity: 0;
  transition: all 0.5s ease;
  position: absolute;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.cm-card.active {
  opacity: 1;
  position: relative;
}

.cm-image {
  width: 70%;         /* Larger image */
  height: 70%; /* Reduced height */
  margin: 0 auto 20px; /* Centered with bottom margin */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cm-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

/* Rest of your CSS remains exactly the same */
.cm-content {
  width: 100%;
  padding: 0;
}

.cm-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.3;
  text-align: center;
}

.cm-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  text-align: center;
}

.cm-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cm-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.cm-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.cm-nav.prev {
  left: -25px;
}

.cm-nav.next {
  right: -25px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .campus-management-suite {
    padding: 4rem 15px;
  }
  
  .cm-container {
    max-width: 90%;
  }
  
  .cm-image {
    max-height: 180px;
    width: 85%;
  }
  
  .cm-card {
    padding: 25px;
  }
  
  .cm-title {
    font-size: 1.3rem;
  }
  
  .cm-nav {
    width: 40px;
    height: 40px;
  }
  
  .cm-nav.prev {
    left: -15px;
  }
  
  .cm-nav.next {
    right: -15px;
  }
}

@media (max-width: 480px) {
  .campus-management-suite {
    padding: 3rem 15px;
  }
  
  .cm-image {
    max-height: 150px;
    width: 90%;
  }
  
  .cm-title {
    font-size: 1.2rem;
  }
  
  .cm-desc {
    font-size: 0.9rem;
  }
}