/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow */
    scroll-behavior: smooth; /* Optional: smooth scrolling */
    height: 100%;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin: 20px 0;
}

/* Testimonial Section */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: box-shadow 0.3s ease-in-out; /* Smooth hover effect */
}

/* Blockquote Styling */
blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

/* Student Info Section */
.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.student-info h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.student-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* Footer and Header */
.footer-part {
    color: black;
}

.headerpart {
    color: darkblue;
}

/* Page Title */
.page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Video Container */
.video-container {
    width: 100%;
    padding-bottom: 50%; /* Maintains aspect ratio */
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

/* Video iframe */
.video-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem; /* Adjust font size for mobile */
    }

    .testimonial-container {
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .testimonial-card {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .video-container {
        padding-bottom: 56.25%; /* 16:9 aspect ratio for video on mobile */
    }
}