/**
* Elementor CSS
**/
.style_two .course .price-tag {
    padding: 6.5px 15px;
    border-radius: 15px;
    top: 30px;
    right: 30px;
    bottom: auto;
    background-color: #eda900;
}
.style_two .course .teacher-name {
    border-radius: 15px;
    padding: 6.5px 15px;
    padding-left: 45px;
    left: 60px;
}
.style_two .course .price-tag,
.style_two .course .teacher-name {
    background-color: #eda900;
}
.style_two .course .course-thumb {
    border-bottom: 3px solid #eda900;
}
.style_two .course a.secondary.button {
    background-color: #eda900;
    color: #ffffff;
    border-radius: 15px;
    padding:10px 25px;
    border: 0 !important;
}
.style_two .course a.secondary.button:hover  {
    background-color: #1c345a;
    color: #ffffff;
}
.style_two .course .teacher {
    border: 3px solid #eda900;
}
.style_two.course-wrapper .columns:nth-child(odd) .teacher-name,
.style_two.course-wrapper .columns:nth-child(odd) .course .teacher,
.style_two.course-wrapper .columns:nth-child(odd) .course .course-thumb,
.style_two.course-wrapper .columns:nth-child(odd) .course .price-tag {
    background-color: #1C345A;
    border-color:#1C345A;
}
.style_two.course-wrapper .columns:nth-child(odd) .course a.secondary.button {
    background-color: #1c345a;
}
.style_two.course-wrapper .columns:nth-child(odd) .course a.secondary.button:hover  {
    background-color: #eda900;
}
.padding-between .medium-6:nth-last-child(-n+2), 
.padding-between .medium-4:nth-last-child(-n+4), 
.padding-between .medium-3:nth-last-child(-n+4) {
    margin-bottom: 15px;
}

.padding-between .small-12 {
    margin-bottom: 0.9375rem;
}
.course-wrapper.style_two {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;    
}
.course-wrapper.style_two .columns {
    --align-self: stretch;
}
.course-wrapper.style_two .columns .course {
    height: 100%;
}
.grid-teachers.row.style_two {
    width: 100%;
    max-width: 100%;
}

/* Our Teachers Style 2: custom grid (1–6 columns) + responsive */
.grid-teachers.row.style_two.wc-teachers-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}
/* Prevent Foundation .row ::before/::after from taking the first grid cell */
.grid-teachers.row.style_two.wc-teachers-grid::before,
.grid-teachers.row.style_two.wc-teachers-grid::after {
    display: none !important;
    content: none !important;
}
.grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
.grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}
.grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1024px) {
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-tablet-1 { grid-template-columns: repeat(1, 1fr); }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-tablet-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-tablet-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-tablet-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-tablet-5 { grid-template-columns: repeat(5, 1fr); }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-tablet-6 { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 640px) {
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-mobile-1 { grid-template-columns: 1fr; }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-mobile-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-mobile-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-teachers.row.style_two.wc-teachers-grid.wc-teachers-cols-mobile-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Style 2 hover overlay for custom grid items (no .columns) */
.style_two .wc-teachers-grid .staff-box:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(28, 52, 90, 0.85);
    opacity: 0;
    transition: opacity .6s;
}
.style_two .wc-teachers-grid .staff-box:hover:after {
    opacity: 1;
}
.style_two .wc-teachers-grid .staff-box:hover a.btn-dark.btn-animated {
    opacity: 1;
}

.style_two .staff-box img {
    width: 100%;
}
.style_two .shadow.theshadow {
    position: relative;
}
.style_two .staff-links {
    bottom: 15px;
    margin-left: auto;
    display: flex;
    justify-content: end;
    z-index: 222;
    right: 15px;
    width: auto;
}
.style_two .staff-detail {
    position: absolute;
    bottom: 0px;
    background-color: rgba(28, 52, 90, 0.85);
    width: 100%;
    padding: 8px 15px 48px;
}
.style_two .staff-detail ul.no-bullet {
    display: none;
}
.style_two .staff-detail h4 a {
    color: #fff;
}
.style_two .staff-links .menu li a {
    color: #fff;
    
    border-color: transparent;
    background-color: rgba(28, 52, 90, 0.85);
}
.style_two .staff-links .menu li a:hover {
    background-color: #eda900;
    border-color: transparent;
}
.style_two .staff-detail h4 a:hover,
.style_two .staff-detail h4 span {
    color: #eda900;
}
.style_two .columns .staff-box:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(28, 52, 90, 0.85);
    opacity: 0;
    transition: opacity .6s;
}
.style_two .columns .staff-box:hover:after {
    opacity: 1;
}
a.btn-dark.btn-animated {
    padding: 4px;
    background-color: #1c345a;
    color: #ffffff;
    border-radius: 15px;
    padding-right: 25px;
    padding-left: 25px;
    z-index: 999999999999;
    width: max-content;
    margin-top: 48%;
    position: absolute;
    left: 36%;
    opacity: 0;
    transition: opacity .6s;
}
.style_two .columns .staff-box:hover a.btn-dark.btn-animated {
    opacity: 1;
}
a.btn-dark.btn-animated:hover {
    background-color: #eda900;
}

.style-two-section-title {
    position: relative;
    display: block;
    text-align: center;
    max-width: 51.875rem;
    margin: auto;
    margin-bottom: 64px;
    padding-right: 0.9375rem;
    padding-left: 0.9375rem;
}
.style-two-section-title h2 span, 
.style-two-section-title h2 {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 45px;
}
.style-two-section-title h2 span {
    color: #eda900;
}
.style-two-section-title h2:after {
    content: '';
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    width: 78px;
    height: 4px;
    background-color: #eda900;
}
.style-two-section-title p {
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 0;
    font-weight: 300;
    font-style: italic;
    font-size: 1.3125rem;
    line-height: 31px;
}
.testimonial-slid .testimonial-img img {
    width:80px;
    height:auto;
    margin:auto;
    border-radius:100%;
    margin-bottom: 14px;
}
.testimonial-slid {
    text-align:center;
    margin:0px 108px;
}
.testimonials .owl-dot {
    background-color:#ffffff;
    padding:5px;
    border-radius:100%;
    width:0px;
    margin-left:5px;
    margin-right:5px;
}
.testimonials .owl-dot.active {
    background-color:#eda900;
}
.testimonials .owl-dots {
    display:inline-flex;
}
.testimonials .owl-controls {
    text-align:center;
}
.testimonial-img h6 {
    margin-bottom:0;
}
.testimonial-img p {
    margin-bottom:34px;
}
.testimonial-img p {
    color:#eda900;
}
.testimonial-text p {
    font-weight:500;
    font-size:1.8125rem;
    line-height:2.375rem;
    margin-bottom:52px;
}
.testimonial-slid .testimonial-text:before {
    content: "\f10d";
    margin: auto;
    margin-bottom: -44px;
    background-repeat: no-repeat;
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 62px;
    z-index: -4;
    opacity: .10;				
}
.owl-nav .owl-prev, 
.owl-nav .owl-next {
    background-color: transparent;
}
.testimonial-img h6 ,
.testimonial-text p {
    color: #ffffff;
}
.testimonial-img p {
    color: #eda900;
}
.video-preview-one {
    position:relative;
    margin-bottom:20px;
}
.video-icon {
    position: absolute;
    left: 50px;
    top: 30px;
}
.play-icon i {
    width:70px;
    height:70px;
    background-color:#ffffff;
    color:#1c345a;
    padding:22px 23px;
    font-size:1.6875rem;
}
.video-icon ,
.play-icon ,
.play-icon i {
    border-radius: 100%;
}
.video-icon ,
.play-icon {
    padding: 10px;
}
.play-icon i ,
.video-icon ,
.play-icon {
    transition: all 400ms ease;
}
.play-icon {
    background-color: rgba(255, 255, 255, 0.18);
}
.video-icon {
    background-color: rgba(255, 255, 255, 0.12);
}
.video-preview-one:hover .play-icon ,
.video-preview-one:hover .video-icon {
    background-color: rgba(255, 255, 255, 0.0);
    transition: all 400ms ease;
}
.video-preview-one:hover .play-icon i {
    background-color: rgba(255, 255, 255, 0.18);
    color:#eda900;
    transition: all 400ms ease;
}
.video-reveal {
    border: 0;
    background-color: transparent;
}
button.close-button span {
    font-size: 28px;
}
button.close-button {
    color: #fff;
    margin-top: -25px;
    margin-right: -14px;
}

/* ============================================
   Patron Edubox Teachers Widget
   Five columns, 125x125 image, zoom + overlay on focus/hover
   ============================================ */
.patron-edubox-teachers-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
}
/* Section title same as Section Title Settings widget but smaller */
.patron-edubox-teachers-wrapper .section-title-wrapper .patron-section-title,
.patron-edubox-teachers-wrapper .style-two-section-title-wrapper .patron-section-title {
    margin-bottom: 2rem;
}
.patron-edubox-teachers-wrapper .patron-section-title h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.patron-edubox-teachers-wrapper .patron-section-title.style-two-section-title h2 {
    margin-bottom: 1.25rem;
}
.patron-edubox-teachers-wrapper .patron-section-title.style-two-section-title h2:after {
    bottom: -12px;
}
.patron-edubox-teachers-wrapper .patron-section-title p {
    font-size: 1rem;
    margin-bottom: 0;
}
/* Patron Teachers grid: desktop/tablet/mobile columns */
.patron-teachers-grid {
    display: grid;
    gap: 28px 24px;
    align-items: start;
}
.patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-1 { grid-template-columns: repeat(1, 1fr); }
.patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-2 { grid-template-columns: repeat(2, 1fr); }
.patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-3 { grid-template-columns: repeat(3, 1fr); }
.patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-4 { grid-template-columns: repeat(4, 1fr); }
.patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-5 { grid-template-columns: repeat(5, 1fr); }
.patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-tablet-1 { grid-template-columns: repeat(1, 1fr); }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-tablet-2 { grid-template-columns: repeat(2, 1fr); }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-tablet-3 { grid-template-columns: repeat(3, 1fr); }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-tablet-4 { grid-template-columns: repeat(4, 1fr); }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-tablet-5 { grid-template-columns: repeat(5, 1fr); }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-tablet-6 { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 640px) {
    .patron-edubox-teachers-wrapper .patron-teachers-grid {
        gap: 20px 16px;
    }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-mobile-1 { grid-template-columns: 1fr; }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-mobile-2 { grid-template-columns: repeat(2, 1fr); }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-mobile-3 { grid-template-columns: repeat(3, 1fr); }
    .patron-edubox-teachers-wrapper .patron-teachers-grid.patron-teachers-cols-mobile-4 { grid-template-columns: repeat(4, 1fr); }
}
.patron-teacher-card {
    text-align: center;
    position: relative;
    z-index: 1;
    transition: z-index 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.patron-teacher-card:hover,
.patron-teacher-card:focus-within {
    z-index: 15;
    transform: scale(1.08);
}
.patron-teacher-image-wrap {
    position: relative;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(28, 52, 90, 0.15);
    border: 3px solid #eda900;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.patron-teacher-card:hover .patron-teacher-image-wrap,
.patron-teacher-card:focus-within .patron-teacher-image-wrap {
    transform: scale(1.18);
    box-shadow: 0 14px 36px rgba(28, 52, 90, 0.4);
    border-color: #1c345a;
}
.patron-teacher-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}
.patron-teacher-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.patron-teacher-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1c345a 0%, #2a4a7a 100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.patron-teacher-card:hover .patron-teacher-img,
.patron-teacher-card:focus-within .patron-teacher-img,
.patron-teacher-card:hover .patron-teacher-placeholder,
.patron-teacher-card:focus-within .patron-teacher-placeholder {
    transform: scale(1.15);
}
/* Name and designation below image only (no overlay on image) */
.patron-teacher-info {
    display: block;
    padding: 10px 6px 0;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.patron-teacher-card:hover .patron-teacher-info,
.patron-teacher-card:focus-within .patron-teacher-info {
    transform: scale(1.06);
}
.patron-teacher-info .patron-teacher-name {
    display: block;
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
    transition: color 0.25s ease;
}
.patron-teacher-info .patron-teacher-designation {
    display: block;
    font-size: 0.8125rem;
    color: #eda900;
    font-weight: 500;
    line-height: 1.3;
    transition: color 0.25s ease;
}
.patron-teacher-info:hover .patron-teacher-name {
    color: #eda900;
}
.patron-no-teachers {
    grid-column: 1 / -1;
    text-align: center;
    color: #5d5d5d;
    padding: 2rem;
}

/* Patron Teachers: disable hover effect per widget */
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-image-wrap,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-img,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-placeholder,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-info {
    transition: none !important;
}
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:hover,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:focus-within,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:hover .patron-teacher-image-wrap,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:focus-within .patron-teacher-image-wrap,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:hover .patron-teacher-img,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:focus-within .patron-teacher-img,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:hover .patron-teacher-placeholder,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:focus-within .patron-teacher-placeholder,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:hover .patron-teacher-info,
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-card:focus-within .patron-teacher-info {
    transform: none !important;
    box-shadow: inherit !important;
    border-color: inherit !important;
}
.patron-edubox-teachers-wrapper.patron-hover-disabled .patron-teacher-info:hover .patron-teacher-name {
    color: inherit !important;
}

/* ============================================
   Content with Image Widget (Edubox)
   Header like Section Title + Image left, text right. Theme fonts & colors.
   ============================================ */
.wc-content-image-block {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
}
.wc-content-image-header {
    margin-bottom: 2rem;
}
.wc-content-image-body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}
.wc-content-image-col {
    flex: 0 0 auto;
}
.wc-content-image-left {
    flex: 0 0 280px;
    max-width: 100%;
}
.wc-content-image-left .wc-content-image-img,
.wc-content-image-left img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 3px solid #eda900;
}
.wc-content-image-link {
    display: block;
}
.wc-content-image-right {
    flex: 1 1 300px;
    min-width: 0;
}
.wc-content-image-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #5d5d5d;
}
.wc-content-image-text p {
    margin-bottom: 1rem;
}
.wc-content-image-text p:last-child {
    margin-bottom: 0;
}
.wc-content-image-text a {
    color: #1c345a;
    text-decoration: none;
}
.wc-content-image-text a:hover {
    color: #eda900;
}
.wc-content-image-text h1,
.wc-content-image-text h2,
.wc-content-image-text h3 {
    color: #1c345a;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
@media (max-width: 768px) {
    .wc-content-image-body {
        flex-direction: column;
        gap: 1.5rem;
    }
    .wc-content-image-left {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }
}



