/* ==================== Notices Section ==================== */
.notices-container {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center; /* Vertically centers items */
}

.notices-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 1rem; /* Space between title and links */
}

.notices-links {
    display: flex;
    gap: 0.5rem;
}

.notice a {
    text-decoration: none;
    color: #007bff;
}

.notice a:hover {
    text-decoration: underline;
}

/* ==================== Results Section ==================== */
.results {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.results h3 {
    margin-top: 8px;
    padding: 6px 8px;
    background-color: #ccc;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #ffffff;
    position: relative;
}

.printButton {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
}

.printButton:hover {
    background-color: #0056b3;
}

.photo-cell {
    margin-bottom: 15px;
}

.photo-cell .student-photo {
    min-width: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.student-info {
    background-color: #f8f8f8;
    border-radius: 5px;
    padding: 15px;
    width: 100%;
}

.info-row {
    padding: 10px;
    border-radius: 4px;
    width: 100%;
}

.info-row:nth-child(odd) {
    background-color: #e0f7fa;
}

.info-row:nth-child(even) {
    background-color: #ffffff;
}

strong {
    color: #007BFF;
}

/* Responsive for Results */
@media (max-width: 600px) {
    .student-photo {
        width: 100px;
        height: 130px;
    }

    .result-item {
        padding: 10px;
    }
}

/* ==================== Teachers Section ==================== */
.page-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}

.teachers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.teacher-card {
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    background-color: #fff;
    transition: transform 0.3s;
}

.teacher-card:hover {
    transform: translateY(-10px);
}

.teacher-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.teacher-name {
    font-size: 1.5em;
    color: #007bff;
    margin-top: 10px;
}

.teacher-department {
    font-size: 1.2em;
    color: #666;
}

.teacher-qualification,
.teacher-email,
.teacher-phone {
    font-size: 1em;
    color: #555;
    margin: 5px 0;
    padding: 0 10px;
}

.teacher-card p {
    margin: 0;
}

/* Responsive for Teachers */
@media (max-width: 600px) {
    .teachers-container {
        flex-direction: column;
        align-items: center;
    }

    .teacher-card {
        width: 100%;
        max-width: 350px;
    }
}

/* ==================== Forms (Login, Registration, Reset) ==================== */
.login-container,
.password-reset-container,
.registration-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 0 auto;
}

.image-container {
    height: 150px;
    background-image: url('/images/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 20px;
}

.options {
    text-align: center;
    margin-top: 15px;
}

.options a {
    color: #007bff;
    text-decoration: none;
}

/* ==================== About Section ==================== */
.about-header {
    text-align: center;
    padding: 40px;
    background-color: #003366;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(3, 6, 176, 0.667);
}

.about-header h1 {
    margin: 0;
    font-size: 2.5em;
}

.section-title {
    color: #003366;
    font-size: 1.8em;
    margin-top: 30px;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

.section {
    margin-top: 20px;
}

.section p {
    margin: 10px 0;
}

.list {
    margin: 15px 0;
    padding-left: 20px;
}

.list li {
    margin-bottom: 8px;
}

/* ==================== Footer ==================== */
.dgtts-footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(3, 6, 176, 0.667);
}

.dgtts-footer p {
    color: #fff;
}

.dgtts-footer a {
    color: #ffd700;
    text-decoration: none;
}

/* ==================== Statistics ==================== */
#stats {
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.stat {
    font-size: 24px;
    margin: 15px 10px;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
}

.stat:hover {
    background-color: #f0f0f0;
    color: #007bff;
    cursor: pointer;
}

.stat-icon {
    margin-right: 10px;
    font-size: 28px;
    color:  var(--bs-body-color, #333);
}

/* ==================== Testimonials & Glass Cards ==================== */
.testimonial-grid-wrapper {
    position: relative;
}

.testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.testimonial-card {
    min-width: 250px;
    max-width: 300px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border:1px solid rgba(255,255,255,0.3);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.testimonial-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.testimonial-message {
    font-size: 0.9rem;
}

.testimonial-prev,
.testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    opacity: 1;
}

.testimonial-prev { left: -20px; }
.testimonial-next { right: -20px; }

@media (max-width: 767px) { .testimonial-card { flex: 0 0 90%; } }
@media (min-width: 768px) and (max-width: 1199px) { .testimonial-card { flex: 0 0 45%; } }
@media (min-width: 1200px) { .testimonial-card { flex: 0 0 30%; } }

/* Glass Cards Hover Effects */
.glass-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border:1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.hover-effect::after {
    content: '';
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    border-radius:0.75rem;
    background: rgba(13,110,253,0.05);
    opacity:0;
    transition: opacity 0.3s ease;
}

.hover-effect:hover::after { opacity:1; }

.student-photo {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    display: block;
}

.student-overlay {
    position: absolute;
    bottom:0; left:0; right:0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    text-align: center;
    transition: background 0.3s;
}

.student-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0d6efd;
}

.student-course {
    font-size: 0.85rem;
    opacity: 0.9;
    color: #f8f9fa;
}

.gradient-card {
    background: linear-gradient(135deg, rgba(13,110,253,0.15), rgba(0,123,255,0.25));
}

.course-img {
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-card:hover .course-img { transform: scale(1.05); }

/* ==================== Slider / Carousel ==================== */
.slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide-img {
    width: 100%;
    max-height: 450px;
    display: block;
    border-radius: 10px;
    aspect-ratio: 12/5;
    object-fit: cover;
}

/* Slider Navigation */
.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.nav-btn {
    background-color: rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    padding: 12px;
    border-radius: 50%;
    pointer-events: all;
    transition: background-color 0.3s;
}

.nav-btn:hover { background-color: rgba(0,0,0,0.8); }
