/* Reset & Base Styles */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}


/* Subject Buttons */
.subjects {
    padding: 40px 0;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.subject-btn {
    display: block;
    background: #26a69a;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.subject-btn:hover {
    background: #00796b;
}

/* News Section */
.news {
    padding: 30px 0;
    background: #fff;
}

.news h2 {
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing {
    background: #e0f2f1;
    padding: 40px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card h3 {
    margin-top: 0;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #00796b;
}

.btn {
    background: #00796b;
    color: white;
    padding: 10px 20px;
    margin-top: 15px;
    display: inline-block;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn:hover {
    background: #004d40;
}

.btn.small {
    padding: 6px 12px;
    font-size: 14px;
}

/* Online Class Section */
.online-classes {
    padding: 40px 0;
    background: #fafafa;
}

.online-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.class-card {
    background: #fff;
    border-left: 5px solid #00796b;
    padding: 20px;
    border-radius: 6px;
}

/* Notice Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-content h2 {
    margin-top: 0;
    color: #004d40;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
    color: #555;
}

/* Footer (for existing include) */
.site-footer {
    background: #004d40;
    color: white;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 10px;
    font-size: 13px;
    color: #aaa;
}

.footer-column p i {
    margin-right: 6px;
}