/* ===== Pixel Suggest EduSuite: Frontend CSS (Theme-Colored, Improved Table Head Colors) ===== */

/* Theme color variables (customize these in your theme for perfect matching!) */
:root {
    --psedu-primary: #0055a5;        /* Theme Primary */
    --psedu-secondary: #1c3599;      /* Theme Secondary */
    --psedu-accent: #24B1DA;         /* Theme Accent */
    --psedu-bg-light: #f7faff;       /* Very Light BG */
    --psedu-bg-lighter: #f0f4fa;     /* Lighter BG */
    --psedu-bg-table-even: #f8fafc;
    --psedu-bg-table-head: #e5edfa;  /* Improved Table Head BG */
    --psedu-card-shadow: 0 2px 14px rgba(0,85,165,0.11);
    --psedu-border: #dbeafe;
    --psedu-success: #00796b;
    --psedu-muted: #6b7280;
}

/* Teachers */
.psedu-teachers {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2.2rem auto;
    max-width: 1100px;
    background: linear-gradient(90deg, var(--psedu-bg-light) 60%, var(--psedu-bg-lighter) 100%);
    border-radius: 1.2rem;
    box-shadow: 0 6px 24px rgba(0,85,165,0.09);
    padding: 2.2rem 2.5vw 2.7rem 2.5vw;
    box-sizing: border-box;
}
.psedu-teacher {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--psedu-card-shadow);
    padding: 2rem 1.3rem 1.3rem 1.3rem;
    width: 270px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    transition: box-shadow 0.19s, transform 0.18s;
}
.psedu-teacher:hover {
    box-shadow: 0 8px 36px rgba(0,85,165,0.13);
    transform: translateY(-6px) scale(1.03);
}
.psedu-teacher-photo {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1em;
    border: 2px solid var(--psedu-primary);
    box-shadow: 0 2px 8px rgba(0,85,165,0.10);
    background: var(--psedu-bg-lighter);
}
.psedu-teacher h4 {
    font-size: 1.14em;
    font-weight: 600;
    color: var(--psedu-primary);
    margin-bottom: 0.4em;
    text-align: center;
}
.psedu-designation {
    font-size: 1.01em;
    color: var(--psedu-accent);
    font-weight: 500;
    margin-bottom: 0.18em;
    text-align: center;
}
.psedu-subjects {
    font-size: 0.97em;
    color: var(--psedu-secondary);
    margin-bottom: 0.25em;
    text-align: center;
}
.psedu-contact {
    font-size: 0.96em;
    color: var(--psedu-muted);
    margin-bottom: 0.2em;
    text-align: center;
}
.psedu-bio {
    font-size: 0.96em;
    color: var(--psedu-muted);
    margin-bottom: 0.1em;
    text-align: center;
}
.psedu-teacher:before { content: ""; }

@media (max-width: 900px) {
    .psedu-teachers {
        flex-direction: column;
        gap: 1.3rem;
        padding: 1.3rem 2vw 1.7rem 2vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .psedu-teacher {
        width: 100vw;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}
@media (max-width: 600px) {
    .psedu-teacher {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

/* Students */
.psedu-students {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2.2rem auto;
    max-width: 1100px;
    background: linear-gradient(90deg, var(--psedu-bg-light) 60%, var(--psedu-bg-table-head) 100%);
    border-radius: 1.2rem;
    box-shadow: 0 6px 24px rgba(0,85,165,0.09);
    padding: 2.2rem 2.5vw 2.7rem 2.5vw;
    box-sizing: border-box;
}
.psedu-student {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--psedu-card-shadow);
    padding: 2rem 1.3rem 1.2rem 1.3rem;
    width: 270px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    transition: box-shadow 0.18s, transform 0.16s;
}
.psedu-student:hover {
    box-shadow: 0 8px 36px rgba(36,177,218,0.13);
    transform: translateY(-5px) scale(1.025);
}
.psedu-student-photo {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1em;
    border: 2px solid var(--psedu-accent);
    box-shadow: 0 2px 8px rgba(36,177,218,0.09);
    background: var(--psedu-bg-table-head);
}
.psedu-student h4 {
    font-size: 1.13em;
    font-weight: 600;
    color: var(--psedu-accent);
    margin-bottom: 0.5em;
    text-align: center;
}
.psedu-student-class,
.psedu-student-section,
.psedu-student-roll,
.psedu-student-contact {
    font-size: 0.97em;
    margin-bottom: 0.3em;
    color: var(--psedu-secondary);
    text-align: center;
}
.psedu-student-class { color: var(--psedu-success); font-weight: 500; }
.psedu-student-section { color: var(--psedu-accent); font-weight: 500; }
.psedu-student-roll { color: var(--psedu-primary); font-weight: 500; }
.psedu-student-contact { color: var(--psedu-muted); }
.psedu-student:before {
    content: "🎓";
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 1.3rem;
    opacity: 0.13;
    pointer-events: none;
}

@media (max-width: 900px) {
    .psedu-students {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.3rem 2vw 1.7rem 2vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .psedu-student {
        width: 100vw;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}
@media (max-width: 600px) {
    .psedu-student {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}

/* ===== Attractive Educational Notices Design (Pixel Suggest EduSuite) ===== */
.psedu-notices {
    max-width: 900px;
    margin: 2.5rem auto 2.5rem auto;
    background: linear-gradient(110deg, #f7faff 60%, #e5edfa 100%);
    border-radius: 1.35rem;
    box-shadow: 0 4px 24px rgba(0,85,165,0.06);
    padding: 2.1rem 2vw 2.6rem 2vw;
}

.psedu-notices ul {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pixel-notice-box {
    background: #fff;
    border-radius: 1.1rem;
    box-shadow: 0 2px 16px rgba(36,177,218,0.09);
    padding: 1.7rem 1.8rem 1.3rem 1.8rem;
    position: relative;
    transition: box-shadow 0.18s, transform 0.17s;
    border-left: 7px solid var(--psedu-accent);
    animation: edu-notice-fade-in 0.8s cubic-bezier(.77,-0.03,.27,1.05) both;
}

@keyframes edu-notice-fade-in {
    0% { opacity: 0; transform: translateY(16px) scale(0.97);}
    100% { opacity: 1; transform: translateY(0) scale(1);}
}

.pixel-notice-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--psedu-primary);
    margin-bottom: 0.3rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.pixel-notice-title:before {
    content: "📢";
    font-size: 1.25em;
    color: var(--psedu-accent);
    vertical-align: middle;
    opacity: 0.88;
}

.pixel-notice-date {
    color: var(--psedu-success);
    font-size: 1.02rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    display: inline-block;
    background: #e4ffe6;
    border-radius: 0.5em;
    padding: 0.23em 0.8em;
    letter-spacing: 0.2px;
}

.pixel-notice-content {
    color: #34495e;
    font-size: 1.09rem;
    margin-bottom: 0.6em;
    line-height: 1.65;
    font-family: inherit;
    background: #f7faff;
    border-radius: 0.7em;
    padding: 0.7em 1em 0.7em 1em;
    box-shadow: 0 1px 4px rgba(36,177,218,0.06);
}

.pixel-notice-details-link {
    color: var(--psedu-secondary);
    font-weight: 600;
    text-decoration: underline;
    margin-right: 1.3em;
    font-size: 1.03rem;
    padding: 0.20em 0.8em;
    background: #e5edfa;
    border-radius: 0.5em;
    transition: background 0.15s, color 0.18s;
}
.pixel-notice-details-link:hover {
    color: #fff;
    background: var(--psedu-accent);
}

.pixel-notice-attachment {
    margin-top: 0.7em;
    display: inline-block;
}
.pixel-notice-attachment a {
    color: var(--psedu-success);
    font-weight: 600;
    text-decoration: underline dotted;
    font-size: 1.04rem;
    padding: 0.18em 0.8em;
    background: #e4ffe6;
    border-radius: 0.5em;
    transition: background 0.15s, color 0.17s;
}
.pixel-notice-attachment a:before {
    content: "📎";
    margin-right: 0.25em;
}
.pixel-notice-attachment a:hover {
    color: #fff;
    background: var(--psedu-success);
}

/* Removed modal styles - .pixel-notice-modal, .pixel-notice-modal-inner, .pixel-notice-modal-close */

/* Responsive Design for Notices */
@media (max-width: 700px) {
    .psedu-notices {
        padding: 1.2rem 1vw 1.7rem 1vw;
    }
    .psedu-notices ul {
        gap: 1.2rem;
    }
    .pixel-notice-box {
        padding: 1.13rem 0.9rem 1rem 0.9rem;
        border-radius: 0.7em;
    }
    .pixel-notice-title {
        font-size: 1.11rem;
        flex-wrap: wrap;
    }
    .pixel-notice-content {
        font-size: 1.01rem;
        padding: 0.6em 0.5em 0.6em 0.5em;
    }
}

/* Exam Routine Page – Modern Table */
.psedu-exam-routine {
    background: linear-gradient(90deg, var(--psedu-bg-light) 55%, var(--psedu-bg-lighter) 100%);
    border-radius: 1.3rem;
    box-shadow: 0 4px 16px rgba(0,85,165,0.10);
    padding: 2.1rem 2vw 2.1rem 2vw;
    margin: 2rem auto;
    max-width: 1100px;
}
.psedu-exam-routine table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2em;
    background: #fff;
    border-radius: 0.8em;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,85,165,0.08);
}
.psedu-exam-routine th, .psedu-exam-routine td {
    border: 1px solid var(--psedu-border);
    padding: 0.85em 0.6em;
    text-align: left;
    font-size: 0.99em;
}
.psedu-exam-routine th {
    background: var(--psedu-bg-table-head);
    color: var(--psedu-primary);
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--psedu-primary);
}
.psedu-exam-routine tr:nth-child(even) {
    background: var(--psedu-bg-table-even);
}
.psedu-exam-routine tr:hover td {
    background: var(--psedu-bg-lighter);
    transition: background 0.2s;
}
@media (max-width: 700px) {
    .psedu-exam-routine table, .psedu-exam-routine thead, .psedu-exam-routine tbody, .psedu-exam-routine th, .psedu-exam-routine td, .psedu-exam-routine tr {
        display: block;
    }
    .psedu-exam-routine th {
        position: absolute;
        left: -9999px;
    }
    .psedu-exam-routine td {
        border: none;
        position: relative;
        padding-left: 45%;
        min-height: 36px;
        background: var(--psedu-bg-table-even);
        margin-bottom: 0.3em;
    }
    .psedu-exam-routine td:before {
        position: absolute;
        left: 0.8em;
        top: 0.8em;
        width: 40%;
        white-space: nowrap;
        font-weight: bold;
        color: var(--psedu-primary);
        content: attr(data-label);
    }
    /* ===== Add Spaces Between Exam Routines on Mobile View ===== */
    .psedu-exam-routine table tr {
        margin-bottom: 1.3em;
        display: block;
        border-radius: 0.7em;
        box-shadow: 0 1px 6px rgba(36,177,218,0.10);
        background: #fff;
        padding: 0.7em 0.3em;
    }
}

/* ===== Prevent Exam Date from Appearing as Clickable Phone Number on Mobile ===== */
.psedu-exam-routine td,
.psedu-exam-routine td[data-label] {
    -webkit-touch-callout: none;
    -webkit-user-select: text;
    user-select: text;
}
.psedu-exam-routine td[data-label="Date"],
.psedu-exam-routine td[data-label="তারিখ"] {
    -webkit-touch-callout: none;
    -webkit-user-select: text;
    user-select: text;
}

/* Results Page – Modern Table */
.psedu-results {
    background: linear-gradient(90deg, var(--psedu-bg-light) 55%, #e4ffe6 100%);
    border-radius: 1.3rem;
    box-shadow: 0 4px 16px rgba(36,177,218,0.10);
    padding: 2rem 2vw 2rem 2vw;
    margin: 2rem auto;
    max-width: 1100px;
}
.psedu-results table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2em;
    background: #fff;
    border-radius: 0.9em;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(36,177,218,0.08);
}
.psedu-results th, .psedu-results td {
    border: 1px solid var(--psedu-border);
    padding: 0.85em 0.6em;
    text-align: left;
    font-size: 0.99em;
}
.psedu-results th {
    background: var(--psedu-bg-table-head);
    color: var(--psedu-accent);
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--psedu-accent);
}
.psedu-results tr:nth-child(even) {
    background: var(--psedu-bg-table-even);
}
.psedu-results tr:hover td {
    background: var(--psedu-bg-lighter);
    transition: background 0.2s;
}
@media (max-width: 700px) {
    .psedu-results table, .psedu-results thead, .psedu-results tbody, .psedu-results th, .psedu-results td, .psedu-results tr {
        display: block;
    }
    .psedu-results th {
        position: absolute;
        left: -9999px;
    }
    .psedu-results td {
        border: none;
        position: relative;
        padding-left: 45%;
        min-height: 36px;
        background: var(--psedu-bg-table-even);
        margin-bottom: 0.3em;
    }
    .psedu-results td:before {
        position: absolute;
        left: 0.8em;
        top: 0.8em;
        width: 40%;
        white-space: nowrap;
        font-weight: bold;
        color: var(--psedu-accent);
        content: attr(data-label);
    }
}

/* Academic Calendar – Attractive Table */
.psedu-calendar {
    background: linear-gradient(90deg, var(--psedu-bg-light) 60%, var(--psedu-bg-lighter) 100%);
    border-radius: 1.3rem;
    box-shadow: 0 4px 16px rgba(0,85,165,0.10);
    padding: 2rem 2vw 2rem 2vw;
    margin: 2rem auto;
    max-width: 1100px;
}
.psedu-calendar table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2em;
    background: #fff;
    border-radius: 0.9em;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,85,165,0.08);
}
.psedu-calendar th, .psedu-calendar td {
    border: 1px solid var(--psedu-border);
    padding: 0.85em 0.6em;
    text-align: left;
    font-size: 0.99em;
}
.psedu-calendar th {
    background: var(--psedu-bg-table-head);
    color: var(--psedu-secondary);
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--psedu-secondary);
}
.psedu-calendar tr:nth-child(even) {
    background: var(--psedu-bg-table-even);
}
.psedu-calendar tr:hover td {
    background: var(--psedu-bg-lighter);
    transition: background 0.2s;
}

@media (max-width: 700px) {
    .psedu-calendar table,
    .psedu-calendar thead,
    .psedu-calendar tbody,
    .psedu-calendar th,
    .psedu-calendar td,
    .psedu-calendar tr {
        display: block;
    }
    .psedu-calendar th {
        position: absolute;
        left: -9999px;
    }
    .psedu-calendar td {
        border: none;
        position: relative;
        padding-left: 45%;
        min-height: 36px;
        background: var(--psedu-bg-table-even);
        margin-bottom: 0.3em;
    }
    .psedu-calendar td:before {
        position: absolute;
        left: 0.8em;
        top: 0.8em;
        width: 40%;
        white-space: nowrap;
        font-weight: bold;
        color: var(--psedu-secondary);
        content: attr(data-label);
    }
    /* Add this block for extra spacing between events: */
    .psedu-calendar table tr {
        margin-bottom: 1.3em;
        display: block;
        border-radius: 0.7em;
        box-shadow: 0 1px 6px rgba(36,177,218,0.10);
        background: #fff;
        padding: 0.7em 0.3em;
    }
}

/* Contact Form – Friendly Design */
.psedu-contact-form {
    max-width: 400px;
    margin: 2em auto 2em auto;
    background: var(--psedu-bg-light);
    border-radius: 1em;
    box-shadow: 0 2px 10px rgba(36,177,218,0.09);
    padding: 2em 1.6em 1.2em 1.6em;
    border: 1px solid var(--psedu-bg-table-head);
    position: relative;
}
.psedu-contact-form label {
    display: block;
    margin-bottom: 0.3em;
    color: var(--psedu-primary);
    font-weight: 600;
}
.psedu-contact-form input,
.psedu-contact-form textarea {
    width: 100%;
    border: 1px solid var(--psedu-border);
    border-radius: 0.5em;
    padding: 0.6em;
    margin-bottom: 1em;
    font-size: 1em;
    background: var(--psedu-bg-table-even);
    transition: border 0.16s;
}
.psedu-contact-form input:focus,
.psedu-contact-form textarea:focus {
    border-color: var(--psedu-accent);
    outline: none;
}
.psedu-contact-form button {
    background: var(--psedu-accent);
    color: #fff;
    border: none;
    border-radius: 0.5em;
    padding: 0.7em 1.5em;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
    box-shadow: 0 1px 8px rgba(36,177,218,0.07);
}
.psedu-contact-form button:hover {
    background: var(--psedu-primary);
}
.psedu-contact-success {
    background: var(--psedu-bg-table-head);
    color: var(--psedu-success);
    border-radius: 0.6em;
    padding: 1em;
    margin-bottom: 1em;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 1px 6px rgba(36,177,218,0.08);
}

/* === SPEECHES SECTION (Front-End) === */
.psedu-speeches {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2.5rem auto 2.5rem auto;
    max-width: 1100px;
    background: linear-gradient(90deg, var(--psedu-bg-light) 60%, var(--psedu-bg-lighter) 100%);
    border-radius: 1.3rem;
    box-shadow: 0 6px 24px rgba(34,49,63,0.13);
    padding: 2.2rem 2.5vw 2.7rem 2.5vw;
    box-sizing: border-box;
}

.psedu-speech {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 14px rgba(0,85,165,0.08);
    padding: 2rem 1.6rem 1.5rem 1.6rem;
    width: 330px;
    max-width: 100%;
    min-height: 385px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    position: relative;
    transition: box-shadow 0.19s, transform 0.18s;
    box-sizing: border-box;
}

.psedu-speech:hover {
    box-shadow: 0 8px 36px rgba(36,177,218,0.13);
    transform: translateY(-6px) scale(1.03);
}

.psedu-speech-photo {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--psedu-primary);
    box-shadow: 0 2px 8px rgba(36,177,218,0.10);
    background: var(--psedu-bg-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--psedu-accent);
}

.psedu-speech h3 {
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--psedu-primary);
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: 1px;
}

.psedu-speech-content {
    text-align: justify;
    color: #3b3b3b;
    font-size: 1.01rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    margin-top: 0;
    min-height: 156px;
    word-break: break-word;
    font-family: inherit;
}

.psedu-speech-content p {
    margin: 0 0 0.8em 0;
}

.psedu-speech:after {
    content: "❝";
    position: absolute;
    top: 1.1rem;
    left: 1.3rem;
    font-size: 2.6rem;
    color: var(--psedu-accent);
    opacity: 0.11;
    pointer-events: none;
}

.psedu-speech:before {
    content: "❞";
    position: absolute;
    bottom: 1rem;
    right: 1.1rem;
    font-size: 2.2rem;
    color: var(--psedu-primary);
    opacity: 0.08;
    pointer-events: none;
}

/* Responsive fix for speeches: tablet and mobile */
@media (max-width: 900px) {
    .psedu-speeches {
        flex-direction: column;
        gap: 1.7rem !important;
        padding: 1.3rem 2vw 1.7rem 2vw;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .psedu-speech {
        width: 100vw;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* Extra fix for smaller devices */
@media (max-width: 600px) {
    .psedu-speech {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
        min-height: unset;
    }
}

/* ===== Notices Section: Responsive Correction ===== */
@media (max-width: 600px) {
    .pixel-notice-box {
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0.5rem 1.5rem 1rem 1.5rem !important;
    }
    .pixel-notice-title { text-align:left; font-size: 1.13rem !important; }
    .pixel-notice-date { text-align: left !important; }
}

/* ...existing CSS... */

/* ====== PATCH FOR DYNAMIC RESULT PAGE TABLE HEADER ALIGNMENT AND BUTTON POSITION ====== */
/* Make table header text align left for dynamic result view page */
.psedu-result-single-main table th {
    text-align: left !important;
}

/* Make print and close button a little higher */
.psedu-result-print-btn,
.psedu-result-close-btn {
    top: 1.2rem !important;
}

/* ...existing CSS... */

/* Mobile: fix button stacking and visibility on result view page */
@media (max-width: 900px) {
    .psedu-result-btns {
        display: flex;
        gap: 0.7em;
        justify-content: flex-end;
        margin-bottom: 0.7em;
    }
    .psedu-result-btns .psedu-result-close-btn,
    .psedu-result-btns .psedu-result-print-btn {
        position: static !important; /* Remove absolute positioning */
        margin-left: 0 !important;
        margin-right: 0 !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        display: inline-block !important;
    }
}

/* === ABOUT US PAGE (Pixel Suggest EduSuite) === */
.psedu-about-main {
    max-width: 900px;
    margin: 2.5rem auto;
    background: linear-gradient(110deg, #f7faff 65%, #e5edfa 100%);
    border-radius: 1.3rem;
    box-shadow: 0 4px 24px rgba(0,85,165,0.10);
    padding: 2.7rem 2vw 2.7rem 2vw;
}

.psedu-about-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 18px rgba(36,177,218,0.09);
    padding: 2rem 1.4rem 1.2rem 1.4rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.psedu-about-photo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.1em;
    border: 3px solid var(--psedu-primary);
    box-shadow: 0 2px 10px rgba(0,85,165,0.11);
    background: var(--psedu-bg-lighter);
}

.psedu-about-title {
    font-size: 1.7rem; /* slightly increased */
    font-weight: 700;
    color: var(--psedu-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.psedu-about-content {
    color: #34495e;
    font-size: 1.13rem; /* slightly increased */
    margin-bottom: 1em;
    line-height: 1.7;
    background: #f7faff;
    border-radius: 0.7em;
    padding: 1.1em 1.4em;
    box-shadow: 0 1px 4px rgba(36,177,218,0.07);
    word-break: break-word;
    text-align: justify;
}

.psedu-about-card:before {
    content: "🏫";
    position: absolute;
    top: 1.3rem;
    left: 1.4rem;
    font-size: 2rem;
    color: var(--psedu-accent);
    opacity: 0.09;
    pointer-events: none;
}

.psedu-about-card:after {
    content: "About Us";
    position: absolute;
    bottom: 1.1rem;
    right: 1.3rem;
    font-size: 1.05rem;
    color: var(--psedu-accent);
    opacity: 0.15;
    pointer-events: none;
}

@media (max-width: 700px) {
    .psedu-about-main {padding: 1.2rem 1vw 1.7rem 1vw;}
    .psedu-about-card {padding: 1.1rem 0.5rem 0.8rem 0.5rem;}
    .psedu-about-title {font-size: 1.18rem;}
    .psedu-about-content {font-size: 1.03rem; padding: 0.7em 0.7em;}
}

/* === PHOTO GALLERY PAGE (Pixel Suggest EduSuite) === */
.psedu-gallery-main {
    max-width: 1050px;
    margin: 2.3rem auto;
    padding: 2.1rem 2vw;
    background: #f7faff;
    border-radius: 1.1rem;
    box-shadow: 0 4px 24px rgba(0,85,165,0.08);
}
.psedu-gallery-categories {
    text-align:center;
    margin-bottom:2.2rem;
    display:flex;
    flex-wrap:wrap;
    gap:0.7em;
    justify-content:center;
}
.psedu-gallery-cat-btn {
    background: #e0ecff;
    border: none;
    color: #0055a5;
    font-weight: 600;
    padding: 0.7em 1.4em;
    border-radius: 32px;
    font-size: 1.07rem;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.psedu-gallery-cat-btn.active,
.psedu-gallery-cat-btn:hover {
    background: #0055a5;
    color: #fff;
}
.psedu-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 1.5em;
    padding: 0.7em 0;
}
.psedu-gallery-item {
    background: #fff;
    border-radius: 0.9em;
    box-shadow: 0 2px 16px rgba(36,177,218,0.07);
    padding: 1.1em 1em 1em 1em;
    text-align: center;
    transition: box-shadow .2s;
}
.psedu-gallery-item:hover {
    box-shadow: 0 2px 24px rgba(36,177,218,0.16);
}
.psedu-gallery-photo {
    width: 100%;
    max-width: 180px;
    max-height: 140px;
    object-fit: cover;
    border-radius: 0.7em;
    margin-bottom: 0.9em;
    box-shadow: 0 1px 10px rgba(0,85,165,0.11);
    background: var(--psedu-bg-lighter);
}
.psedu-gallery-title {
    font-size: 1.08em;
    font-weight: 600;
    color: #0055a5;
    margin-bottom: 0.4em;
}
.psedu-gallery-desc {
    font-size: .98em;
    color: #555;
    margin-bottom: 0.3em;
}
@media (max-width: 600px) {
    .psedu-gallery-main {padding:1.1rem 0.7vw;}
    .psedu-gallery-grid {gap:0.7em;}
    .psedu-gallery-photo {max-width:95vw;}
}


.psedu-video-embed {
    width: 100%;
    max-width: 180px;
    margin: 0 auto 0.8em auto;
    border-radius: 0.7em;
    overflow: hidden;
    box-shadow: 0 1px 10px rgba(0,85,165,0.11);
    background: var(--psedu-bg-lighter);
}
.psedu-video-embed iframe,
.psedu-video-embed video {
    width: 100%;
    height: 180px;
    border-radius: 0.7em;
    display: block;
}

/* ==== EduSuite Home Previews – Solid Theme Colors & Attractive Spacing ==== */

.psedu-about-home-preview,
.psedu-speeches-home-preview,
.psedu-notice-scroll-preview {
    width: 100%;
    max-width: 1280px;
    margin: 2.8rem auto;
    background: linear-gradient(120deg, #f7faff 72%, #e5edfa 100%);
    border-radius: 1.7rem;
    box-shadow: 0 8px 36px 0 rgba(36,177,218,0.15), 0 1.5px 24px 0 rgba(0,85,165,0.09);
    padding: 2.8rem 5vw 2.8rem 5vw;
    position: relative;
    backdrop-filter: blur(3.5px);
    border: 1.5px solid #e5edfa;
    overflow: hidden;
    z-index: 1;
}

/* --- Section floating icons --- */
.psedu-about-home-preview:before,
.psedu-speeches-home-preview:before,
.psedu-notice-scroll-preview:before {
    content: "✨";
    position: absolute;
    top: 1.1rem;
    right: 1.3rem;
    font-size: 2.9rem;
    color: var(--psedu-accent, #24B1DA);
    opacity: 0.09;
    pointer-events: none;
    z-index: 0;
}
.psedu-about-home-preview:after,
.psedu-speeches-home-preview:after,
.psedu-notice-scroll-preview:after {
    content: "🏫";
    position: absolute;
    bottom: 1.2rem;
    left: 1.4rem;
    font-size: 2.1rem;
    color: var(--psedu-primary, #0055a5);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* --- Attractive Card Styles --- */
.psedu-about-home-card,
.psedu-speech-home-card,
.psedu-notice-scroll-item {
    background: rgba(255,255,255,0.84);
    border-radius: 1.2em;
    padding: 2.1rem 1.9rem 1.2rem 1.9rem;
    margin-bottom: 0;
    position: relative;
    transition: border-color 0.18s, background 0.18s, transform 0.16s;
    border-left: 7px solid var(--psedu-accent, #24B1DA);
    z-index: 2;
    overflow: hidden;
    animation: edu-card-float-in 0.8s cubic-bezier(.77,-0.03,.27,1.05) both;
}
@keyframes edu-card-float-in {
    0% { opacity: 0; transform: translateY(22px) scale(0.97);}
    100% { opacity: 1; transform: translateY(0) scale(1);}
}
.psedu-about-home-card:hover,
.psedu-speech-home-card:hover,
.psedu-notice-scroll-item:hover {
    border-color: var(--psedu-accent, #24B1DA);
    background: rgba(229,237,250,0.97);
    transform: translateY(-7px) scale(1.026);
}

/* --- SPEECHES PREVIEW: Add space between speech cards --- */
.psedu-speeches-home-preview {
   display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* --- Image and Icon Styles --- */
.psedu-about-home-icon,
.psedu-speech-home-photo,
.psedu-about-photo {
    display: block;
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.2em auto;
    border: 3px solid var(--psedu-accent, #24B1DA);
    background: var(--psedu-bg-lighter, #f0f4fa);
    font-size: 2.9rem;
    color: var(--psedu-accent, #24B1DA);
    opacity: 0.97;
}

/* --- Card Titles: Solid Theme Color --- */
.psedu-about-home-title,
.psedu-speech-home-title,
.psedu-notice-scroll-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--psedu-primary, #0055a5); /* Solid theme primary color */
    margin-bottom: 0.6rem;
    text-align: center;
    letter-spacing: 0px;
    word-break: break-word;
    text-shadow: none;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

/* --- Card Content --- */
.psedu-about-home-text,
.psedu-speech-home-text {
    color: #34495e;
    font-size: 1.13rem;
    margin-bottom: 1.1em;
    line-height: 1.7;
    background: linear-gradient(90deg, #f7faff 80%, #e5edfa 100%);
    border-radius: 0.7em;
    padding: 1.1em 1.4em;
    word-break: break-word;
    text-align: justify;
    border-left: 3px solid var(--psedu-accent, #24B1DA);
    font-family: inherit;
}

/* --- Notice List --- */
.psedu-notice-scroll-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 310px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* --- Notice Item --- */
.psedu-notice-scroll-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1em;
    font-size: 1.07rem;
    background: #fff;
    border-radius: 1.2em;
    border: 2px solid #f1f7fa;
    padding: 0.8em 1em;
    transition: border-color 0.18s, background 0.18s, transform 0.16s;
    border-left: 5px solid var(--psedu-accent, #24B1DA);
    position: relative;
    /* No box-shadow */
}
.psedu-notice-scroll-item:hover,
.psedu-notice-scroll-item:focus-within {
    border-color: var(--psedu-accent, #24B1DA);
    background: #f7faff;
    transform: translateY(-2px) scale(1.01);
}

/* --- Notice Item Icon --- */
.psedu-notice-scroll-icon {
    color: var(--psedu-accent, #24B1DA);
    font-size: 1.19em;
    font-weight: 700;
    margin-top: 0.19em;
    margin-right: 0.1em;
    flex-shrink: 0;
    opacity: 0.85;
}

/* --- Notice Link --- */
.psedu-notice-scroll-link {
    text-decoration: none;
    color: var(--psedu-primary, #0055a5);
    font-weight: 600;
    transition: color 0.18s;
    display: flex;
    flex-direction: column;
    gap: 0.1em;
}

.psedu-notice-scroll-link:hover,
.psedu-notice-scroll-item:hover .psedu-notice-scroll-link {
    color: var(--psedu-success, #00796b);
    text-decoration: underline;
}

/* --- Notice Title --- */
.psedu-notice-scroll-title {
    font-weight: 700;
    font-size: 1.07em;
    color: var(--psedu-primary, #0055a5);
    letter-spacing: 0px;
}

/* --- Notice Date --- */
.psedu-notice-scroll-date {
    font-size: 0.97em;
    color: var(--psedu-accent, #24B1DA);
    font-weight: 500;
    margin-top: 0.08em;
    background: #f7faff;
    border-radius: 0.5em;
    padding: 0.23em 0.8em;
    letter-spacing: 0.2px;
    display: inline-block;
}

/* --- Footer (See More Notice) --- */
.psedu-notice-scroll-footer {
    text-align: right;
    margin-top: 1.6em;
}

/* --- See More Buttons: Solid Theme Color, no letter spacing --- */
.psedu-about-home-seemore,
.psedu-speech-home-seemore,
.psedu-notice-scroll-seemore {
   display: inline-block;
    color: #fff;
    background: var(--psedu-primary, #0055a5); /* Solid theme primary color */
    font-weight: 700;
    font-size: 1rem;                /* Slightly bigger */
    border-radius: 2.2em;           /* A bit more rounded */
    padding: 0.28em 1.1em;          /* More height & width */
    text-decoration: none;
    margin-top: 0.35em;
    transition: background 0.13s, color 0.13s;
    line-height: 1.6;
    border: none;
}


.psedu-about-home-seemore:hover,
.psedu-speech-home-seemore:hover,
background: var(--psedu-accent, #24B1DA);
    color: #fff;
    transform: scale(1.07);
}

/* --- Responsive --- */
@media (max-width: 1000px) {
    .psedu-about-home-preview,
    .psedu-speeches-home-preview,
    .psedu-notice-scroll-preview {
        padding: 2.1rem 2vw 2.1rem 2vw;
        max-width: 100vw;
    }
}
@media (max-width: 700px) {
    .psedu-about-home-card,
    .psedu-speech-home-card,
    .psedu-notice-scroll-item {
        padding: 1.1rem 0.7rem 0.8rem 0.7rem;
        border-radius: 0.8em;
    }
    .psedu-about-home-title,
    .psedu-speech-home-title,
    .psedu-notice-scroll-title {
        font-size: 1.08rem;
    }
    .psedu-about-home-text,
    .psedu-speech-home-text {
        font-size: 1.02rem;
        padding: 0.7em 0.7em;
    }
    .psedu-notice-scroll-list {
        gap: 0.7em;
        max-height: 200px;
    }
    .psedu-notice-scroll-item {
        font-size: 0.98rem;
        padding: 0.6em 0.7em;
        border-radius: 0.8em;
        flex-direction: column;
        gap: 0.5em;
        border-left: 4px solid var(--psedu-accent, #24B1DA);
    }
    .psedu-speeches-home-preview {
        gap: 1rem;
    }
    .psedu-notice-scroll-title {
        font-size: 1em;
    }
    .psedu-notice-scroll-date {
        font-size: 0.92em;
        padding: 0.15em 0.6em;
    }
}

/* --- Hide scrollbars for lists (modern browsers) --- */
.psedu-notice-scroll-list::-webkit-scrollbar {
    width: 0.5em;
    background: #e5edfa;
}
.psedu-notice-scroll-list::-webkit-scrollbar-thumb {
    background: #24B1DA;
    border-radius: 1em;
}
.psedu-notice-scroll-list {
    scrollbar-width: thin;
    scrollbar-color: #24B1DA #e5edfa;
}


/* --- Add here --- */
.psedu-speech-home-card {
    flex: 1 1 350px; /* Allow the card to grow/shrink, minimum 350px wide */
    max-width: 48%;  /* Maximum width for two cards per row */
    box-sizing: border-box;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .psedu-speeches-home-preview {
        gap: 1.7rem !important;
    }
    .psedu-speech-home-card {
        max-width: 100%;
        flex-basis: 100%;
    }
}

@media (max-width: 600px) {
    .psedu-speeches-home-preview {
        gap: 1.3rem !important; /* Even more space for small screens */
    }
}



/* === Notice Ticker Styles === */
.psedu-notice-ticker-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 1.3rem auto 1.8rem auto;
    background: linear-gradient(90deg, #f7faff 75%, #e5edfa 100%);
    border-radius: 1.1rem;
    box-shadow: 0 4px 16px rgba(36,177,218,0.11);
    overflow: hidden;
    position: relative;
    padding: 0.5em 0;
}

.psedu-notice-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: psedu-notice-ticker-scroll linear infinite;
    animation-duration: 40s; /* can override via inline style */
    padding-left: 100%;
}

@keyframes psedu-notice-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.psedu-notice-ticker-item {
    display: inline-block;
    margin-right: 2.6em;
    font-size: 1.06em;
    color: var(--psedu-primary, #0055a5);
    font-weight: 600;
    vertical-align: middle;
}

.psedu-notice-ticker-title {
    color: var(--psedu-primary, #0055a5);
    font-weight: 500;
    margin-right: 0.4em;
}

.psedu-notice-ticker-date {
    color: var(--psedu-accent, #24B1DA);
    font-weight: 400;
    margin-left: 0.25em;
    background: #e4ffe6;
    border-radius: 0.5em;
    padding: 0.13em 0.7em;
    font-size: 0.99em;
}

.psedu-notice-ticker-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.17s;
}
.psedu-notice-ticker-item a:hover {
    color: var(--psedu-success, #00796b);
    text-decoration: underline;
}

.psedu-notice-ticker-seemore {
    position: absolute;
    right: 1.1em;
    top: 50%;
    transform: translateY(-50%);
    background: var(--psedu-primary, #0055a5);
    color: #fff;
    font-weight: 700;
    font-size: 0.96em;
    border-radius: 2em;
    padding: 0.21em 1.1em;
    text-decoration: none;
    transition: background 0.15s;
    z-index: 2;
}
.psedu-notice-ticker-seemore:hover {
    background: var(--psedu-accent, #24B1DA);
}

/* PATCH: Make notice ticker headline and button text smaller on mobile */
@media (max-width: 600px) {
    .psedu-notice-ticker-title {
        font-size: 0.93em !important;
    }
    .psedu-notice-ticker-seemore {
        font-size: 0.84em !important;
        padding: 0.17em 0.8em !important;
    }
}