.teacher-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.teacher-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.table > :not(caption) > * > * {
    padding: 1rem;
}

.view-profile {
    transition: all 0.3s ease;
}

.view-profile:hover {
    transform: translateY(-2px);
}

.table-hover > tbody > tr:hover {
    background-color: rgba(0,0,0,0.02);
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
    font-size: 0.875rem;
}

.bg-success {
    background-color: #198754 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.pdf-download {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background-color: #dc3545;
    color: white;
    border-radius: 4px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.pdf-download:hover {
    background-color: #c82333;
    color: white;
    text-decoration: none;
}

.pdf-download i {
    margin-right: 5px;
    font-size: 16px;
}

.edu2_event_des figcaption a {
    margin: 0 5px;
}

.edu2_event_des figcaption a i.fa-file-pdf-o {
    color: #dc3545;
}
.main_mar{
    margin-top: 2%;
}
.document-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.document-list li:last-child {
    border-bottom: none;
}

.document-list i {
    margin-right: 10px;
}

.key-point h6 {
    color: #333;
    margin-bottom: 8px;
}

.key-point h6 i {
    margin-right: 8px;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
}

.card-header i {
    margin-right: 8px;
}

.admission-process .about_autor {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .col-md-4 {
        margin-top: 30px;
    }
    .main_clear_d{
        clear: both;
    }
    .contact_heading{
        margin-top: 10%;
    }
}
.main_box_s{
    margin-top: 4%;
}
.main_text{
    color:white;
    padding: 5px;
}
.dl-submenu{
    border-radius: 16px;
}
.edu2_feature_wrap {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.edu2_feature_wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.edu2_feature_des span {
    display: inline-block;
    color: #3498db;
    margin-bottom: 20px;
}

.edu2_feature_des h4 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    margin: 10px 0;
    color: #666;
}

.feature-list li i {
    color: #27ae60;
    margin-right: 10px;
}

.edu2_cur_wrap {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.edu2_cur_des h3 {
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.edu2_cur_des ul {
    list-style: none;
    padding: 0;
}

.edu2_cur_des ul li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.edu2_cur_des ul li span {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    margin-right: 15px;
}

.kf_edu2_heading2 {
    text-align: center;
    margin-bottom: 50px;
}

.inr_banner_heading p {
    color: #fff;
    margin-top: 10px;
}
.main_edu_d{
    width: 100%;
}
.main_butt{
    display: inline-block;
    padding: 5px 15px;
    background: #3498db;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
    margin-top: 10px;
}

/* Add this CSS to your stylesheet or in a style tag */
.edu_testemonial_wrap {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 15px 0;
    padding: 25px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.edu_testemonial_wrap .kode-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.edu_testemonial_wrap .kode-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edu_testemonial_wrap .kode-text a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: auto;
}

.edu_testemonial_wrap .kode-text span {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: normal;
    margin-top: 5px;
}

/* Update the owl carousel settings */
#owl-demo-9 .item {
    padding: 10px;
}

/* Facility boxes styling */
.blog_3_wrap {
    height: 100%;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.blog_3_des {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
}

.blog_3_des figure {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.blog_3_des figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.blog_3_des h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0;
    color: #333;
}

.blog_3_des p {
    flex-grow: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog_3_des p.expanded {
    -webkit-line-clamp: unset;
}

.show-more-btn {
    display: inline-block;
    padding: 5px 15px;
    background: #3498db;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
    margin-top: 10px;
}

.show-more-btn:hover {
    background: #2980b9;
}

.blog_3_des .content-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .col-md-4 {
        padding: 0 10px;
    }
}

@media (max-width: 991px) {
    .blog_3_des h5 {
        font-size: 16px;
    }
    .blog_3_des p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .col-md-4 {
        width: 100%;
        max-width: 480px;
        margin: 0 auto 20px;
    }
    .blog_3_wrap {
        margin-bottom: 20px;
    }
    .main_clear_d {
        clear: both;
    }
    .contact_heading {
        margin-top: 10%;
    }
}

/* Container adjustments */
.container {
    padding: 0 15px;
}

.row {
    /* display: flex; */
    flex-wrap: wrap;
}

.col-md-4 {
    padding: 15px;
}