.notifications-train {
overflow: hidden;
position: relative;
height: 50px; /* Adjust height as needed */
background-color: #000080; /* Dark blue background */
color: #ffcc00; /* Yellow text color */
font-size: 1.2em;
display: flex;
align-items: center;
}

.train {
display: flex;
white-space: nowrap;
animation: scrollTrain 20s linear infinite;
}

.announcement {
padding: 0 50px; /* Space between announcements */
}

/* Keyframes for the scrolling effect */
@keyframes scrollTrain {
0% {
    transform: translateX(100%);
}
100% {
    transform: translateX(-100%);
}
}
.student-notificationandachievers {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}
.achievers, .notifications {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    overflow: hidden;
    position: relative;
    max-height: 400px; /* Adjust height as needed */
    position: relative;
    overflow-y: auto;
}
.achievers:hover, .notifications:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.achievers .item, .notifications .item {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.achievers .item:last-child, .notifications .item:last-child {
    border-bottom: none;
}
.achievers img, .notifications img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-right: 10px;
    object-fit: cover;
}
.achievers .details, .notifications .details {
    display: inline-block;
    vertical-align: top;
}
.achievers .details h4, .notifications .details h4 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}
.achievers .details p, .notifications .details p {
    margin: 5px 0;
    color: #555;
}
.achievers .details small, .notifications .details small {
    color: #999;
}


@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

.icon {
font-size: 2em;
margin-right: 10px;
color: #007bff;
}

.details {
width: calc(100% - 2em);
}

.name,
.topic {
font-size: 1.2em;
font-weight: bold;
color: #333;
}

.course,
.year,
.date-time {
font-size: 0.9em;
color: #666;
}

.new-icon {
color: yellow;
margin-left: 10px;
}
.course-information {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
padding: 20px;
background-color: #f8f9fa;
}

.course-information .course-card {
background-color: #fff;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 30%;
box-sizing: border-box;
padding: 10px;
}

.course-information .course-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.course-information .course-card h3 {
background-color: #007bff;
color: #fff;
padding: 10px;
text-align: center;
margin: 0;
font-size: 1.2em;
}

.course-information .course-card img {
width: 100%;
height: auto;
}

.course-information .course-card p {
padding: 10px;
font-size: 0.9em;
color: #333;
}

.course-information .course-card .buttons {
display: flex;
justify-content: space-around;
padding: 10px;
}

.course-information .course-card button {
background-color: #007bff;
color: #fff;
border: none;
padding: 8px 15px;
font-size: 0.9em;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

.course-information .course-card button:hover {
background-color: #0056b3;
}

.course-information .course-card a {
color: #007bff;
text-decoration: none;
}

.course-information .course-card a:hover {
text-decoration: underline;
}

.course-heading {
font-size: 2.5em;
font-weight: bold;
text-align: center;
color: #333;
position: relative;
margin-bottom: 20px;
padding-bottom: 10px;
}

.course-heading::after {
content: '';
display: block;
width: 80px;
height: 4px;
background: linear-gradient(to right, #007bff, #00c6ff);
margin: 10px auto 0;
border-radius: 2px;
}

.course-heading {
font-size: 2.5em;
font-weight: bold;
text-align: center;
color: #333;
position: relative;
margin-bottom: 20px;
padding-bottom: 10px;
}

.course-heading::after {
content: '';
display: block;
width: 80px;
height: 4px;
background: linear-gradient(to right, #007bff, #00c6ff);
margin: 10px auto 0;
border-radius: 2px;
}
.course-section {
padding: 60px 0;
background: linear-gradient(135deg, #f3f4f6 0%, #e2e8f0 100%);
}
/*COURCES CARD*/
.cources-offered {
    background-color: #f4f4f4;
    padding: 50px 0;
}

.course-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #666;
}

.course-container .col-md-6 {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.course-card2 {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    width: 90%;
    max-width: 600px; /* Adjust the max width as needed */
}

.course-card2:hover {
    transform: translateY(-10px);
}

.card-icon2 {
    padding: 20px;
    text-align: center;
}

.card-icon2 img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.course-details {
    padding: 20px;
    color: #555;
    font-size: 0.9em;
}

.course-details p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.course-details .material-icons {
    margin-right: 10px;
    color: #007bff;
}
.register-button {
    display: inline-block;
    padding: 12px 35px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.register-button .material-icons {
    vertical-align: middle;
    margin-right: 5px;
}

.register-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
}

.register-button:hover::before {
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1);
}

.register-button:hover {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.register-button:hover .material-icons {
    color: #000;
}
/*YOUTUBE SECTION*/

.youtube-header {
    font-size: 2.5em;
    color: #000;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.youtube-header .youtube-icon {
    color: #FF0000;
    font-size: 1.5em;
    margin-right: 10px;
}
.youtube-header::before,
.youtube-header::after {
    position: absolute;
    top: 50%;
    width: 100px;
    height: 2px;
    background-color: #000;
}

.youtube-header::before {
    left: -120px;
}

.youtube-header::after {
    right: -120px;
}

.youtube-video-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1450px;
    margin: auto;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-slider-container {
    display: flex;
    gap: 20px;
    animation: slide 10s linear infinite;
}

.video-slide {
    flex: 0 0 auto;
    width: 560px;
}

.view-channel {
    text-align: center;
    margin-top: 20px;
}

.view-channel-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.view-channel-button .material-icons {
    vertical-align: middle;
    margin-right: 8px;
    font-size: 1.2em;
}

.view-channel-button:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-decoration: none;

}

.view-channel-button:hover .material-icons {
    color: #000;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% + 560px)); }
}
/*INSTAGRAM SECTION*/
.instagram-section {
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.instagram-header {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.instagram-header .material-icons {
    font-size: 30px;
    margin-right: 10px;
    color: #E4405F; /* Instagram's icon color */
}

.instagram-container {
    overflow: hidden;
    width: 100%;
}

.instagram-account {
    display: flex;
    width: max-content; /* Ensures the container can expand beyond its parent's width */
    animation: train-effect 15s linear infinite;
}

.instagram-account .post {
    flex: 0 0 auto;
    margin-right: 50px; /* Increased space between posts */
    width: 300px;
    height: 300px; /* Fixed height */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.instagram-account .post img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd; /* Optional: adds a border between image and button */
}

.instagram-account .follow-button {
    text-align: center;
    padding: 10px;
    background-color: #0077b5; /* Button background color */
    color: white; /* Button text color */
    border: none;
    cursor: pointer;
    border-radius: 0 0 10px 10px; /* Rounded corners at the bottom */
    font-size: 16px;
}

@keyframes train-effect {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); } /* Moves the container left by its full width */
}

.about-staff-section {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 20px auto;
}

/* About Teacher Section */

.about-staff-section {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 100%; /* Ensure content is 90% of page width */
    margin: 20px auto;
}

.about-staff-section h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* About Teacher Section */
.teacher-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.teacher-image {
    border-radius: 50%;
    width: 200px; /* Increased size */
    height: 200px; /* Increased size */
    margin-right: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover effect */
.teacher-image:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
    transform: scale(1.1); /* Slightly increase the size on hover */
    filter: brightness(1.2); /* Brighten the image on hover */
    cursor: pointer;
}

.teacher-details h2 {
    margin: 0 0 10px 0;
}

.teacher-details p {
    margin: 5px 0;
}

.teacher-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    color: #555;
}

.buttons-container button {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    align-items: center;
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 50px; /* Button capsule shape */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Low shadow */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    position: relative; /* For mirror reflection effect */
}

.buttons-container button .material-icons {
    margin-right: 10px;
}

/* Hover effects */
.buttons-container button:hover {
    background-color: white;
    color: black;
    text-decoration: none;

    border: 2px solid black;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4); /* Higher shadow on hover */
}

/* Mirror reflection effect */
.buttons-container button::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: inherit;
    opacity: 0.5;
    transform: scaleY(-1);
    filter: blur(5px);
}

.buttons-container button:hover::before {
    opacity: 0.8;
}

/*CONTACT*/
.contact-form {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}
.contact-details {
    width: 45%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.contact-details h2, .contact-details h3 {
    color: #333;
}
.contact-details p {
    color: #666;
}
.contact-list {
    list-style: none;
    padding: 0;
}
.contact-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
}
.contact-item.icon {
    font-size: 24px;
    margin-right: 10px;
    color: #007BFF;
    transition: transform 0.3s ease;
}
.contact-item.icon:hover {
    transform: scale(1.1);
}
.contact-item.text, .contact-item.link {
    color: #333;
    text-decoration: none;
}
.contact-item.link:hover {
    text-decoration: underline;
}
.form-container {
    width: 45%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.form-container form {
    display: flex;
    flex-direction: column;
}
.form-container input, .form-container textarea {
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border 0.3s ease;
}
.form-container input:focus, .form-container textarea:focus {
    border-color: #007BFF;
    outline: none;
}
.form-container button {
    background-color: #007BFF;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.form-container button:hover {
    background-color: #0056b3;
}
.form-container label {
    margin: 5px 0;
}
.form-container .checkbox-container {
    display: flex;
    align-items: center;
}
.form-container .checkbox-container input {
    margin-right: 10px;
}
.headercontact {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: black;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    width: fit-content;
}
.headercontact .material-icons {
    margin-right: 10px;
    font-size: 1.5em;
}
.map-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    width: 100%;
    padding: 0;
    border-radius: 0;
}
.map-area iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/*REVIEW SECTION*/

.reviews-section {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden; /* Ensure the overflow is hidden */
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #007bff;
}

.reviews-cards {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite; /* Add animation */
}

.review-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    min-width: 300px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.user-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.review-content {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 16px;
    color: #007bff;
    margin: 0;
}

.user-review {
    margin: 5px 0;
}

.user-rating {
    display: flex;
    gap: 5px;
}

.user-rating .material-icons {
    color: #ffc107;
}

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