/* General Reset */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* Parallax Section */
.parallax-section {
    background-image: url('assets/Image2.jpg');
    height: 400px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.parallax-section h1 {
    font-size: 2.5rem;
    margin: 0;
}

.parallax-section p {
    font-size: 1rem;
}

/* Exam Section */
.exam-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.exam {
    display: flex;
    align-items: center;
    background-color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.exam img {
    width: 40%;
    height: auto;
    object-fit: cover;
}

.text-content {
    padding: 20px;
    width: 60%;
}

.text-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.text-content p {
    margin: 10px 0;
    color: #555;
}

.text-content ul {
    padding-left: 20px;
    color: #555;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: white;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .exam {
        flex-direction: column;
    }

    .exam img {
        width: 100%;
    }

    .text-content {
        width: 100%;
        text-align: center;
    }
    .text-content h2{
        padding: 0 10px;
    }
    .text-content p{
        text-align: justify;
        padding: 0 15px;
    }
    .text-content ul li{
        text-align: left;
        padding: 0 10px 0 0;
        margin: 0 0 0 10px;
    }
}

/* 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);
    }
  }
  
