body
{
    scroll-behavior: smooth;
}
.perspective {
            perspective: 1000px;
        }
        .transform-style-3d {
            transform-style: preserve-3d;
        }
        .backface-hidden {
            backface-visibility: hidden;
        }
        .rotate-y-180 {
            transform: rotateY(180deg);
        }
        .flipper {
            transform: rotateY(0deg);
        }
        #nursery, #primary, #secondary {
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transition: opacity 0.5s ease, max-height 0.5s ease;
        }
        #nursery.show, #primary.show, #secondary.show {
            opacity: 1;
            max-height: 10000px;
        }
        .student-details {
            display: none;
        }
        .uniform-description {
            list-style-position: inside;
            margin: 0;
            padding: 0;
            line-height: 1.5;
        }
        .uniform-description p {
            margin: 0;
            padding-left: 20px;
            text-indent: -20px;
        }
        .uniform-description p::before {
            content: "● ";
            color: #000;
        }
        .cart-icon {
            position: absolute;
            right: 20%;
            top: 50%;
            transform: translateY(-50%);
        }
        .cart-icon:hover {
            color: #fae240;
        }
        .cart-count {
            position: absolute;
            bottom: 20px;
            left: 8px;
            background-color: #fae240;
            color: white;
            border-radius: 50%;
            padding: 5px 10px;
        }
        @media (max-width: 768px) {
            .cart-icon {
                right: 80px;
            }
        }

        .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  .modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
  }
  