/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header Styles */
header {
    background-image: linear-gradient(to right, #004d40, #00796b, #004d40); /* Dark teal to lighter teal */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header .logo img {
    height: 80px; /* Adjust as needed */
    width: auto;
}

header .header-content {
    flex-grow: 1;
    text-align: center;
}

header h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header p {
    margin: 5px 0 0;
    font-size: 1.1em;
    opacity: 0.9;
}

/* Announcement Section */
.announcement {
    text-align: center;
    padding: 40px 20px;
    background-color: #ff000; /* Yellow/Gold color from the image */
    color: #333;
    border-bottom: 5px solid #ff0000; /* Darker yellow for accent */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.announcement h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #c62828; /* Red color from the image */
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
}

.announcement h2::before,
.announcement h2::after {
    content: url('path/to/your/flourish.png'); /* Replace with actual path to a flourish/design image if you have one */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Adjust size */
    height: auto;
    opacity: 0.7;
}

.announcement h2::before {
    left: -60px; /* Adjust position */
}

.announcement h2::after {
    right: -60px; /* Adjust position */
}


.announcement h3 {
    font-size: 1.8em;
    color: #333;
    margin-top: 10px;
    margin-bottom: 5px;
    font-style: italic;
}

.announcement h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    color: #1a237e; /* Dark blue/purple from the image */
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}


/* Courses Table Section */
.courses-table {
    padding: 40px 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.courses-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to content */
}

.courses-table th,
.courses-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.courses-table th {
    background-color: #00796b; /* Header background color */
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.courses-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.courses-table tbody tr:hover {
    background-color: #e0f2f1; /* Light teal on hover */
    transition: background-color 0.3s ease;
}

.courses-table td {
    font-size: 0.95em;
}

/* Important Info Section */
.important-info {
    background-color: #e0e0e0; /* Light grey */
    padding: 30px 20px;
    text-align: center;
    margin-top: 20px;
    border-top: 5px solid #9e9e9e;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.important-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #555;
}

.important-info p strong {
    color: #004d40; /* Darker teal for emphasis */
}

/* Footer Styles (Optional) */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 0.8em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    header .logo {
        margin-bottom: 15px;
    }

    header h1 {
        font-size: 2em;
    }

    .announcement h2 {
        font-size: 2.2em;
    }

    .announcement h3 {
        font-size: 1.5em;
    }

    .announcement h1 {
        font-size: 3em;
    }

    .courses-table table,
    .courses-table thead,
    .courses-table tbody,
    .courses-table th,
    .courses-table td,
    .courses-table tr {
        display: block;
    }

    .courses-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .courses-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }

    .courses-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .courses-table td:before {
        position: absolute;
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #004d40;
    }

    .courses-table td:nth-of-type(1):before { content: "Course"; }
    .courses-table td:nth-of-type(2):before { content: "Requirement"; }
    .courses-table td:nth-of-type(3):before { content: "Duration"; }
    .courses-table td:nth-of-type(4):before { content: "Fee"; }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    .announcement h2 {
        font-size: 1.8em;
    }

    .announcement h3 {
        font-size: 1.2em;
    }

    .announcement h1 {
        font-size: 2.5em;
    }

    .important-info p {
        font-size: 1em;
    }
}