body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #ff758c, #fad0c4, #3a7d44);
    font-family: "Poppins", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    color: #333;
}

.glass-card {
    /* background: rgba(255, 255, 255, 0.85); */
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 100%;
    max-width: 900px;
    margin: 20px;
    backdrop-filter: blur(10px);
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: nowrap;
    /* Prevent wrapping */
}

.left-section {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.left-section .content {
    text-align: center;
}

.logo {
    width: 36%;
    height: auto;
    margin-bottom: 10px;
}

.school-name {
    font-size: 44px;
    /* Adjusted for single line */
    font-weight: bold;
    text-transform: uppercase;
    color: #d32f2f;
    margin: 0;
    white-space: nowrap;
    /* Prevents breaking into multiple lines */
    overflow: hidden;
    text-overflow: ellipsis;
}

.school-location {
    font-size: 26px;
    text-transform: uppercase;
    color: #388e3c;
    font-weight: bold;
    margin-top: 5px;
}

.right-section {
    flex: 0 0 auto;
    /* Prevents resizing */
    text-align: right;
}

.building-img {
    width: 200px;
    /* Increased size */
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}



.calendar {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-table {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.info-column {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.holidays .info-title {
    background-color: #388e3c;
    /* Green background for Holidays */
}

.celebrations .info-title {
    background-color: #d32f2f;
    /* Red background for Celebrations */
}

.celebrations1 .info-title {
    background-color: #2f37d3;
    /* Red background for Celebrations */
}

.info-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    /* White font */
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.date-box {
    display: inline-block;
    background: #ffd700;
    /* Gold color for the date box */
    color: #333;
    font-weight: bold;
    border-radius: 8px;
    padding: 5px 10px;
    margin-right: 10px;
    font-size: 14px;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.event-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
    /* Wrap long event names */
    max-width: calc(100% - 90px);
    /* Prevent overflowing */
}

.fc-col-header-cell-cushion {
    color: #d32f2f;
    text-decoration: none;
}

.calendar {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fc-toolbar-title {
    font-size: 24px;
    font-weight: bold;
    color: #388e3c;
    /* Green title */
}

.fc-button {
    background-color: #d32f2f !important;
    text-transform: uppercase !important;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fc-button:hover {
    background: #b71c1c;
    /* Darker red on hover */
}

.fc-button:disabled {
    background: #f5f5f5;
    color: #ccc;
}

.fc-daygrid-day-number {
    text-decoration: none !important;
    /* Remove underline from dates */
    color: #333;
    font-weight: bold;
}

.fc-event {
    border: none;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
}

.fc-event-holiday {
    background: #388e3c;
    /* Green for holidays */
}

.fc-event-celebration1 {
    background: #2f37d3;
    /* Red for celebrations */
}
.fc-event-celebration {
    background: #d32f2f;
    /* Red for celebrations */
}


footer {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    background-color: #f5f5f5;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    /* Ensure responsiveness */
}

.left-section {
    font-size: 14px;
    color: #333;
}

.right-section {
    text-align: right;
    font-size: 14px;
    color: #333;
}

.right-section p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.right-section a {
    text-decoration: none;
    color: #d32f2f;
    font-weight: bold;
}

.right-section a:hover {
    text-decoration: underline;
}

.bi {
    font-size: 16px;
    color: #388e3c;
    /* Green for icons */
}


footer p {
    margin: 0;
}

/* Tablets (Medium screens, 768px to 1024px) */
@media (max-width: 1024px) {
    .header-section {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .logo {
        width: 32%;
    }

    .school-name {
        font-size: 36px;
    }

    .school-location {
        font-size: 22px;
    }

    .building-img {
        width: 160px;
    }

    .fc .fc-toolbar-title {
        font-size: 1.1em;
    }

    .footer-content {
        flex-direction: row;
        text-align: center;
        gap: 10px;
    }
}

/* Mobile (Small screens, 480px to 768px) */
@media (max-width: 768px) {
    .header-section {
        flex-direction: row;
        /* Keep side-by-side */
        align-items: flex-start;
        gap: 10px;
    }

    .logo {
        width: 40%;
        /* Adjust for mobile */
    }

    .school-name {
        font-size: 22px;
    }

    .school-location {
        font-size: 18px;
    }

    .building-img {
        width: 140px;
    }

    .fc .fc-toolbar-title {
        font-size: 1em;
        margin: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .right-section {
        text-align: center;
    }
}

/* Tablets (Medium screens, 768px to 1024px) */
@media (max-width: 1024px) {
    .fc-button-group {
        padding: 8px 12px;
        /* Reduced padding for tablets */
        font-size: 14px;
        /* Slightly smaller font */
    }
}

/* Mobile (Small screens, 480px to 768px) */
@media (max-width: 768px) {
    .fc-button-group {
        padding: 6px 10px;
        /* Smaller padding for mobile */
        font-size: 14px;
        /* Smaller font */
    }
}

/* Small Mobile (Extra small screens, below 480px) */
@media (max-width: 480px) {
    .fc-button-group {
        padding: 5px 8px;
        /* Minimal padding */
        font-size: 14px;
        /* Smallest font for extra-small screens */
    }
}

/* Small Mobile (Extra small screens, below 480px) */
@media (max-width: 480px) {
    .header-section {
        flex-direction: row;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .logo {
        width: 50%;
        /* Adjust for small mobile */
    }

    .school-name {
        font-size: 18px;
    }

    .school-location {
        font-size: 16px;
    }

    .building-img {
        width: 120px;
    }

    .fc .fc-toolbar-title {
        font-size: 0.9em;
        margin: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .right-section {
        text-align: center;
    }
}
