/* Scrollable Background Image */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    /* Add the scrollable background image */
    background: url('../../../images/scrollable-background.jpg') repeat-y center top / cover fixed; /* Ensure the path is correct */
    background-attachment: scroll; /* Makes the background scroll with the page */
}

/* Hero Section */
.hero-section {
    background: url('../../../images/study-banner.jpg') no-repeat center center/cover; /* Ensure the path is correct */
    color: white;
    text-align: center;
    padding: 100px 20px; /* Adjust padding for spacing */
    position: relative; /* For overlay effects */
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)); /* Gradient overlay */
    z-index: 0; /* Place behind the content */
}
.hero-section .hero-content {
    position: relative;
    z-index: 1; /* Ensure content stays above the overlay */
    max-width: 600px;
    margin: 0 auto;
}

/* Study Main Section */
.study-main {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    position: relative; /* Ensures proper stacking context */
    z-index: 2; /* Keeps content above the scrollable background */
}

/* General Container */
.container {
    max-width: 700px; /* Set the maximum width to 700px */
    margin: 0 auto; /* Center the container on the page */
    padding: 20px;
    position: relative; /* Ensures proper stacking context */
    z-index: 2; /* Keeps content above the scrollable background */
}

/* Study Sections */
.study-section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9; /* Light gray background */
    position: relative; /* Ensures proper stacking context */
    z-index: 2; /* Keeps content above the scrollable background */
}

/* Section Title */
.study-section h2 {
    font-size: 2rem; /* Larger font size for the title */
    margin-bottom: 20px; /* Spacing below the title */
    color: #dc3545; /* Red color for emphasis */
    text-align: center; /* Center-align the title */
}

/* Section Content */
.section-content {
    font-size: 1.1rem; /* Slightly larger font size for readability */
    line-height: 1.8; /* Improved line spacing */
    color: #555; /* Soft gray for body text */
    text-align: justify; /* Justify text for a clean look */
    margin-bottom: 30px; /* Add spacing below the content */
}