/* Container for the yellow box below the image */
.yellow-box-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #f4c60e; /* Yellow color */
    padding: 20px;
    border-radius: 5px;
    z-index: 1;
}

/* Yellow box text */
.yellow-box span {
    color: #000; /* Black text */
    font-weight: bold;
    font-size: 20px;
}

/* Program Overview Section */
.program-overview {
    background-color: #4C0013; /* White background */
    padding: 40px 20px;
}

/* Content Container */
.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap; /* Ensure responsiveness */
}

/* Left Box */
.left-box {
    flex: 1;
    background-color: #f4c60e; /* Yellow background */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box; /* Include padding in width calculations */
}

/* Styling the List */
.left-box ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.left-box ul li {
    margin-bottom: 15px;
}

/* Styling the Links */
.left-box ul li a {
    text-decoration: none;
    color: black; /* Black text */
    font-size: 16px;
    font-weight: bold;
    display: block; /* Ensure links span full width for better clickability */
}

.left-box ul li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .left-box {
        padding: 15px; /* Adjust padding for medium screens */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    }

    .left-box ul li a {
        font-size: 14px; /* Adjust font size for medium screens */
    }
}

@media (max-width: 480px) {
    .left-box {
        padding: 10px; /* Further reduce padding for small screens */
    }

    .left-box ul li a {
        font-size: 12px; /* Smaller font size for small screens */
    }
}

/* Apply Now Button */
.apply-now-btn {
    display: inline-block;
    background-color: #4C0013   ; /* Black background */
    color: #fff; /* White text */
    padding: 12px 30px; /* Padding for button */
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-align: center; /* Center text inside the button */
    max-width: 100%; /* Ensure button does not overflow */
    box-sizing: border-box; /* Include padding and border in width calculation */
}

/* Hover Effect */
.apply-now-btn:hover {
    background-color: #dfd7d7; /* Lighter hover background */
    color: black;
}

/* Responsive Design */
@media (max-width: 768px) {
    .apply-now-btn {
        font-size: 14px; /* Adjust font size for medium screens */
        padding: 10px 25px; /* Slightly smaller padding */
    }
}

@media (max-width: 480px) {
    .apply-now-btn {
        font-size: 12px; /* Adjust font size for small screens */
        padding: 8px 20px; /* Compact padding */
        width: 100%; /* Full-width button on small screens */
        margin-top: 10px; /* Adjust margin for better spacing */
    }
}

/* Program Content */
.program-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Section Styling */
.section {
    padding: 15px;
    background-color: #fff; /* White background */
    border-left: 4px solid #f4c60e; /* Yellow left border */
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Headings */
.heading {
    color: black; /* Black text */
    font-size: 24px;
    margin-bottom: 10px;
}

/* Content Text */
.content {
    color: #333; /* Dark gray text */
    font-size: 16px;
    line-height: 1.6;
    text-align: justify; /* Justify the paragraph text */
}

/* Table Styling */
.fee-structure-table {
    width: 100%; /* Full-width table */
    border-collapse: collapse; /* Remove gaps between borders */
    margin-top: 20px; /* Add spacing above the table */
    font-size: 16px; /* Set font size */
    text-align: left; /* Align content to the left */
}

/* Table Header Styling */
.fee-structure-table th,
.fee-structure-table td {
    padding: 10px 15px; /* Padding inside cells */
    border: 1px solid #ddd; /* Subtle border */
    color: #000; /* Black text */
}

.fee-structure-table th {
    background-color: #f4c60e; /* Yellow background for headers */
    color: #000; /* Black text for headers */
    text-transform: uppercase; /* Capitalize header text */
}

/* Hover Effect for Table Cells */
.fee-structure-table td:hover {
    background-color: #d5cbcb; /* Slightly lighter gray on hover */
    transition: background-color 0.2s ease-in-out;
}

/* Highlight the Header Row */
.fee-structure-table .header-row {
    background-color: #f4c60e; /* Yellow background */
    color: #000; /* Black text */
    font-weight: bold;
}

/* Alternating Row Colors */
.fee-structure-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Light gray for even rows */
}

.fee-structure-table tr:nth-child(odd) {
    background-color: #fff; /* White for odd rows */
}

/* Bold Last Row */
.fee-structure-table tr:last-child td {
    font-weight: bold;
}

/* Responsiveness for Tables */
.fee-structure-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling on smaller screens */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for touch devices */
    margin-bottom: 20px; /* Add spacing below tables */
}

.fee-structure-wrapper .fee-structure-table {
    min-width: 800px; /* Ensure the table has a minimum width */
}

/* Adjust Font Size for Smaller Screens */
@media (max-width: 768px) {
    .fee-structure-table {
        font-size: 14px; /* Reduce font size for medium screens */
    }

    .fee-structure-table th,
    .fee-structure-table td {
        padding: 8px 10px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .fee-structure-table {
        font-size: 12px; /* Smaller font size for mobile devices */
    }

    .fee-structure-table th,
    .fee-structure-table td {
        padding: 6px 8px; /* Compact padding for small screens */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }

    .left-box,
    .program-content {
        flex: unset;
        width: 100%;
    }

    .apply-now-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .heading {
        font-size: 20px;
    }

    .content {
        font-size: 14px;
    }

    .fee-structure-table th,
    .fee-structure-table td {
        font-size: 14px;
    }
}


