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

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

.parallax-header{
    background: #fff;
    width: 100%;
    padding: 20px 0;
    box-shadow: 10px 10px 20px #514f4f, -10px -10px 20px #7b6645;
    background: linear-gradient(145deg, #b88b47, #e6e6e6);
    border-radius: 2px;
    position: fixed;
    z-index: 1;
}

.parallax-header h1{
    text-align: center;
}
.parallax-header p{
    text-align: center;
    padding: 0 5px;
}

.container {
    max-width: 1200px;
    margin: 7rem auto;
    padding: 0 20px;
}

/* Parallax Background */
body::before {
    content: '';
    background-image: url('assets/Image1.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: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
}

.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);
    }
}

/* Latest Job Online Form */

.latestjob{
    text-align: center;
    color: #fff;
    font-weight: bolder;
}

.latestjob-container ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    width: 80%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.latestjob-container ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    text-align: left;
}

.latestjob-container ul li:last-child {
    border: none;
}

.latestjob-container ul li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.latestjob-container ul li a:hover {
    color: #0056b3;
}

/* 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: 10px; */
        margin: auto;
        margin-bottom: 35px;
    }

    .container ul {
        width: 95%;
    }

    .parallax-header h1{
        font-size: 20px;
    }
    .parallax-header p{
        font-size: 12px;
    }
}

/* Loader styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden; /* Initially hidden */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
  }
  
  .loader.visible {
    visibility: visible;
    opacity: 1;
  }
  
  .spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  
  /* Spinner animation */
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  
