/* General Styles */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container h2{
   color: black;
   text-align: center;
   background: white;
   padding: 20px 0;
   box-shadow: 10px 10px 20px #514f4f, -10px -10px 20px #7b6645;
   background: linear-gradient(145deg, #b88b47, #e6e6e6);
   border-radius: 2px;
}

/* Parallax Background */
body::before {
    content: '';
    background-image: url('assets/class10.jpg'); /* Add your parallax image */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
}

/* Program Cards */
.program-cards {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    border-radius: 5px;
    box-shadow: 10px 10px 20px #d1d1d1, -10px -10px 20px #ffffff;
    width: 30%;  /* 3 cards per row */
    margin: 15px;
    padding: 20px;
    text-align: center;
    position: relative;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.program-card:hover {
    transform: perspective(1000px) rotateY(10deg);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.program-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.program-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.program-card button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.program-card button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

/* 3D Animated Videos */
.program-card img {
    animation: float 5s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .program-cards {
        flex-direction: column;
        align-items: center;
    }

    .program-card {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .program-card h3 {
        font-size: 18px;
    }

    .program-card button {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .program-card {
        width: 100%;
        /* margin: auto;   10px */
        /* margin: auto auto 35px auto; */
        margin: auto;
        margin-bottom: 35px;
    }
}
