 main {
        display: none
      }
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}

/* Main content wrapper */
.content-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
}

/* Carousel wrapper */
.subject-carousel-wrapper {
text-align: center;
padding: 40px 20px;
margin-bottom: 0px;
max-width: 80%;
width: 100%;
position: relative;
}

.subject-carousel-wrapper h2 {
color: #fff;
margin-bottom: 50px;
font-size: 28px;
font-weight: 300;
letter-spacing: 2px;
text-transform: uppercase;
}

/* Carousel container with perspective */
.carousel-container {
position: relative;
display: flex;
align-items: center;
justify-content: center;
perspective: 1000px;
height: 15%;
margin-bottom: 40px;
}

/* Navigation arrows - sleek minimal design */
.carousel-arrow {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
color: rgba(255, 255, 255, 0.9);
width: 45px;
height: 45px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 20px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: absolute;
z-index: 100;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-arrow.left {
left: 50px;
}

.carousel-arrow.right {
right: 50px;
}

.carousel-arrow:hover {
background: linear-gradient(135deg, rgba(0, 123, 255, 0.3), rgba(0, 123, 255, 0.15));
border-color: rgba(0, 123, 255, 0.5);
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.carousel-arrow:active {
transform: scale(0.95);
}

/* 3D Carousel track */
.carousel-track {
position: relative;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}

/* Subject buttons in 3D carousel */
.subject-btn {
position: absolute;
padding: 16px 32px;
min-width: 200px;
background: rgb(20, 19, 19);
backdrop-filter: blur(20px);
border: 2px solid rgba(0, 123, 255, 0.3);
color: #ffffff;
cursor: pointer;
border-radius: 12px;
font-size: 18px;
font-weight: 500;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
transform-origin: center;
opacity: 0;
pointer-events: none;
}

/* Center button (in focus) */
.subject-btn.center {
transform: translateX(0) scale(1.15) translateZ(0);
opacity: 1;
z-index: 50;
pointer-events: auto;
box-shadow: 0 12px 40px rgba(0, 123, 255, 0.25);
border-color: rgba(0, 123, 255, 0.6);
}

/* Left button */
.subject-btn.left {
transform: translateX(-280px) scale(0.85) translateZ(-100px);
opacity: 0.5;
z-index: 20;
filter: blur(1px);
pointer-events: none;
}

/* Right button */
.subject-btn.right {
transform: translateX(280px) scale(0.85) translateZ(-100px);
opacity: 0.5;
z-index: 20;
filter: blur(1px);
pointer-events: none;
}

/* Far left button (barely visible) */
.subject-btn.far-left {
transform: translateX(-480px) scale(0.7) translateZ(-200px);
opacity: 0.2;
z-index: 10;
filter: blur(2px);
pointer-events: none;
}

/* Far right button (barely visible) */
.subject-btn.far-right {
transform: translateX(480px) scale(0.7) translateZ(-200px);
opacity: 0.2;
z-index: 10;
filter: blur(2px);
pointer-events: none;
}

/* Hover effect on center button */
.subject-btn.center:hover {
transform: translateX(0) scale(1.2) translateZ(10px);
box-shadow: 0 16px 48px rgba(0, 123, 255, 0.35);
background: linear-gradient(135deg, #007bff, #0056b3);
color: white;
border-color: rgba(255, 255, 255, 0.5);
}

/* Active state */
.subject-btn.active {
background: linear-gradient(135deg, #007bff, #0056b3);
color: white;
border-color: rgba(255, 255, 255, 0.6);
}

/* Show all button - minimal sleek design */
.show-all-btn {
padding: 14px 40px;
background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.05));
backdrop-filter: blur(10px);
border: 2px solid rgba(40, 167, 69, 0.4);
color: #28a745;
cursor: pointer;
border-radius: 30px;
font-size: 16px;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 20px rgba(40, 167, 69, 0.1);
letter-spacing: 1px;
}

.show-all-btn:hover {
background: linear-gradient(135deg, #28a745, #1e7e34);
color: white;
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(40, 167, 69, 0.3);
border-color: rgba(255, 255, 255, 0.5);
}

.show-all-btn.active {
background: linear-gradient(135deg, #28a745, #1e7e34);
color: white;
border-color: rgba(255, 255, 255, 0.6);
}

/* Card container */
.card-container {
position: relative;
width: 400px;
height: 500px;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
}

.card {
position: absolute;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
user-select: none;
transition: transform 0.3s, opacity 0.3s ease;
background-color: white;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-content {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
}

.card-content img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
border-radius: 8px;
}

.card:not(:last-child) {
top: 5px;
}

/* Refresh button */
.contact-btn {
background: linear-gradient(135deg, #28a745, #1e7e34);
color: white;
border: none;
border-radius: 8px;
transition: all 0.3s ease;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.contact-btn:hover {
background: linear-gradient(135deg, #218838, #155724);
transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
.subject-carousel-wrapper h2 {
    font-size: 22px;
    margin-bottom: 30px;
}

.subject-btn {
    min-width: 160px;
    font-size: 16px;
    padding: 12px 24px;
}

.subject-btn.center {
    transform: translateX(0) scale(1.1) translateZ(0);
}

.subject-btn.left {
    transform: translateX(-200px) scale(0.8) translateZ(-100px);
}

.subject-btn.right {
    transform: translateX(200px) scale(0.8) translateZ(-100px);
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.carousel-arrow.left {
    left: 20px;
}

.carousel-arrow.right {
    right: 20px;
}

.card-container {
    width: 90vw;
    max-width: 400px;
    height: 450px;
}
}

    /* ==================== MOBILE STYLES ==================== */

/* Tablet (landscape) */
@media (max-width: 1024px) {
.carousel-arrow.left {
    left: 30px;
}

.carousel-arrow.right {
    right: 30px;
}

.subject-btn.left {
    transform: translateX(-220px) scale(0.85) translateZ(-100px);
}

.subject-btn.right {
    transform: translateX(220px) scale(0.85) translateZ(-100px);
}

.subject-btn.far-left {
    transform: translateX(-380px) scale(0.7) translateZ(-200px);
}

.subject-btn.far-right {
    transform: translateX(380px) scale(0.7) translateZ(-200px);
}
}

/* Tablet (portrait) and smaller */
@media (max-width: 768px) {
.content-wrapper {
    padding: 15px;
}

.subject-carousel-wrapper {
    padding: 30px 15px;
    margin-bottom: 30px;
}

.subject-carousel-wrapper h2 {
    font-size: 22px;
    margin-bottom: 35px;
    letter-spacing: 1.5px;
}

.carousel-container {
    height: 100px;
    margin-bottom: 30px;
}

.subject-btn {
    min-width: 180px;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 10px;
}

.subject-btn.center {
    transform: translateX(0) scale(1.12) translateZ(0);
}

.subject-btn.left {
    transform: translateX(-200px) scale(0.82) translateZ(-100px);
}

.subject-btn.right {
    transform: translateX(200px) scale(0.82) translateZ(-100px);
}

.subject-btn.far-left {
    transform: translateX(-340px) scale(0.68) translateZ(-200px);
}

.subject-btn.far-right {
    transform: translateX(340px) scale(0.68) translateZ(-200px);
}

.carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.carousel-arrow.left {
    left: 15px;
}

.carousel-arrow.right {
    right: 15px;
}

.show-all-btn {
    padding: 12px 36px;
    font-size: 15px;
}

.card-container {
    width: 90vw;
    max-width: 380px;
    height: 480px;
}

.mobile-hint {
    display: block;
}
}

/* Mobile phones */
@media (max-width: 480px) {
.content-wrapper {
    padding: 10px;
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 40px;
}

.subject-carousel-wrapper {
    padding: 20px 10px;
    margin-bottom: 20px;
}

.subject-carousel-wrapper h2 {
    font-size: 18px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.carousel-container {
    height: 85px;
    margin-bottom: 20px;
}

/* Smaller buttons for mobile */
.subject-btn {
    min-width: 150px;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 8px;
}

/* Adjusted 3D positioning for mobile */
.subject-btn.center {
    transform: translateX(0) scale(1.1) translateZ(0);
}

.subject-btn.left {
    transform: translateX(-160px) scale(0.78) translateZ(-80px);
    opacity: 0.4;
}

.subject-btn.right {
    transform: translateX(160px) scale(0.78) translateZ(-80px);
    opacity: 0.4;
}

.subject-btn.far-left {
    transform: translateX(-280px) scale(0.65) translateZ(-150px);
    opacity: 0.15;
}

.subject-btn.far-right {
    transform: translateX(280px) scale(0.65) translateZ(-150px);
    opacity: 0.15;
}

/* Hide hover effects on mobile (they don't work well) */
.subject-btn.center:hover {
    transform: translateX(0) scale(1.1) translateZ(0);
}

/* Smaller arrows */
.carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
}

.carousel-arrow.left {
    left: 5px;
}

.carousel-arrow.right {
    right: 5px;
}

.show-all-btn {
    padding: 11px 30px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* Smaller cards for mobile */
.card-container {
    width: 95vw;
    max-width: 340px;
    height: 420px;
}

/* Show swipe dots on mobile */
.carousel-dots {
    display: flex;
}

.mobile-hint {
    font-size: 13px;
    margin-top: 8px;
}
}

/* Very small phones */
@media (max-width: 360px) {
.subject-carousel-wrapper h2 {
    font-size: 16px;
    margin-bottom: 20px;
}

.carousel-container {
    height: 75px;
}

.subject-btn {
    min-width: 130px;
    font-size: 13px;
    padding: 10px 16px;
}

.subject-btn.center {
    transform: translateX(0) scale(1.08) translateZ(0);
}

.subject-btn.left {
    transform: translateX(-140px) scale(0.75) translateZ(-80px);
}

.subject-btn.right {
    transform: translateX(140px) scale(0.75) translateZ(-80px);
}

.carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
}

.show-all-btn {
    padding: 10px 24px;
    font-size: 13px;
}

.card-container {
    height: 380px;
}
}