#ec{
    margin: 0 !Important;
}
/* Ensure keyboard focus is visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color) !important;
    outline-offset: 2px !important;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none !important;
}
.text-justify{
    text-align: justify;
}
.mt-30{
    margin-top: 30px;
}
.mb-80{
    margin-bottom: 80px;
}
.rounded-10{
    border-radius: 10px;
}
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mfp-bg {
    z-index: 99999 !important;
}
.mfp-wrap {
    z-index: 100000 !important;
}
img.mfp-img{
    max-width: 80vw;
}
.img-shape {
    display: inline-block;
    position: relative;
    z-index: 1;
    margin-right: 20px;
    margin-bottom: 20px;
}

.img-shape img {
    display: block;
    border-radius: 10px;
}

.img-shape::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    z-index: -1;
    transform: translate(20px, 20px);
}

.bg-light-primary{
    background-color: #fafbff;
}
.sec-wrapper{
    padding: 45px 30px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}
.bg-pattern-1{
    background-image: repeating-linear-gradient(135deg, rgba(236, 240, 252, 0.02) 0px, rgba(236, 240, 252, 0.02) 21px, rgba(220, 225, 250, 0.02) 21px, rgba(220, 225, 250, 0.02) 42px, rgba(204, 210, 247, 0.02) 42px, rgba(204, 210, 247, 0.02) 63px, rgba(188, 195, 244, 0.02) 63px, rgba(188, 195, 244, 0.02) 84px, rgba(172, 180, 241, 0.02) 84px, rgba(172, 180, 241, 0.02) 105px, rgba(156, 165, 238, 0.02) 105px, rgba(156, 165, 238, 0.02) 126px, rgba(140, 150, 235, 0.02) 126px, rgba(140, 150, 235, 0.02) 147px, rgba(124, 135, 232, 0.02) 147px, rgba(124, 135, 232, 0.02) 168px), repeating-linear-gradient(45deg, rgba(230, 235, 251, 0.02) 0px, rgba(230, 235, 251, 0.02) 21px, rgba(210, 220, 248, 0.02) 21px, rgba(210, 220, 248, 0.02) 42px, rgba(190, 205, 245, 0.02) 42px, rgba(190, 205, 245, 0.02) 63px, rgba(170, 190, 242, 0.02) 63px, rgba(170, 190, 242, 0.02) 84px, rgba(150, 175, 239, 0.02) 84px, rgba(150, 175, 239, 0.02) 105px, rgba(130, 160, 236, 0.02) 105px, rgba(130, 160, 236, 0.02) 126px, rgba(110, 145, 233, 0.02) 126px, rgba(110, 145, 233, 0.02) 147px, rgba(90, 130, 230, 0.02) 147px, rgba(90, 130, 230, 0.02) 168px), linear-gradient(90deg, #ffffff, #f5f5f5);
}
.set-bg{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.intro-text{
    font-size: 18px;
}
/* Blur Circle */
.blur-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.5) 0%, rgba(65, 105, 225, 0) 70%);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}
/* Menu Active */
.menu li a.active{
    background: rgba(65, 105, 225, 1);
}
/* unset arrow  */
.profile-section .member-profile .profile-details .profile-nav .nav-tabs .nav-link.active:after{
    content: unset;
}
/* Header */
.profile-section .member-profile .profile-item .profile-information .profile-name .name a{
    color: #fff;
}
.profile-cover {
    position: relative;
    overflow: hidden;
}
.profile-cover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}
.profile-cover .download-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
}

.profile-cover .download-btn:hover {
    background-color: var(--hover-primary-color);
}
/* Footer */
.footer-nav li {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.footer-nav li:last-child{
    margin-bottom: 0;
}
.footer-nav li i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-nav li a {
    font-size: 16px;
    transition: all 0.3s ease;
    color: #210053;
}

.footer-nav li:hover i {
    color: var(--primary-color);
}

.footer-nav li:hover a {
    color: var(--primary-color);
}
.contact-list {
    font-size: 16px;
    margin-bottom: 20px;
}
.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.contact-list li:last-child{
    margin-bottom: 0;
}
.contact-list i {
    color: var(---primary-color);
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-list a {
    text-decoration: none;
    transition: color 0.3s;
    color: #5B5B5B;
}

.contact-list a:hover {
    color: var(--primary-color);
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    background-color: var(--hover-primary-color);
    transform: scale(1.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    box-sizing: border-box;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-grid a:hover {
    transform: scale(1.05);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    border-radius: 5px;
    object-fit: cover;
}
/* Timeline  */
.timeline-wrapper {
    position: relative;
    padding-left: 50px;
}

.timeline-line {
    position: absolute;
    left: 17px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 10px;
}

.timeline-dot {
    position: absolute;
    left: -42px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: #3b82f6;
    border: 4px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e0e7ff;
    z-index: 2;
}

.timeline-content {
    background: #ffffff;
    padding: 32px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.company-header {
    margin-bottom: 18px;
}

.company-logo img {
    width: 200px;
    height: 60px;
    object-fit: contain;
}

.company-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.company-date {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 4px;
}

.company-description {
    font-size: 16px;
    margin-bottom: 18px;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.5s ease;
    color: #210053;
}

.company-link:hover {
    color: var(--primary-color);
    gap: 10px;
}

.company-link i {
    transition: all 0.5s ease;
}

.company-link:hover i {
    transform: translateX(2px);
}
.rounded-icon{
    background: #eef2fc;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 5px;
}
.rounded-icon i{
    font-size: 25px;
    line-height: 0;
    color: var(--primary-color);
}
/* Gallery Item */
.gallery-title {
    font-size: 24px;
    margin-bottom: 0;
}

.gallery-content {
    padding: 35px 30px;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    aspect-ratio: 16 / 10;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1; 
    pointer-events: auto;
}

.view-icon {
    transform: scale(0);
    transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .view-icon {
    transform: scale(1);
}

.view-icon i {
    font-size: 30px;
    color: #fff;
}
/* Video */
.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #4169e1;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    z-index: 2;
    transition: all 0.5s ease;
    pointer-events: none;
}

.video-icon i {
    line-height: 60px;
}
/* Leadership */
.leadership-card-content{
    padding: 25px;
}
.leadership-role{
    font-size: 24px;
    margin: 0;
}
.leadership-name{
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}
.leadership-location{
    font-size: 16px;
    font-weight: 400;
}
.leadership-btn{
    padding: 15px 30px;
}
.cta-sec{
    padding: 70px 0;
    background-image: radial-gradient(circle at 50% 30%, rgba(209, 209, 209,0.04) 0%, rgba(209, 209, 209,0.04) 50%,rgba(138, 138, 138,0.04) 50%, rgba(138, 138, 138,0.04) 100%),radial-gradient(circle at 9% 40%, rgba(209, 209, 209,0.04) 0%, rgba(209, 209, 209,0.04) 50%,rgba(71, 71, 71,0.04) 50%, rgba(71, 71, 71,0.04) 100%),radial-gradient(circle at 84% 81%, rgba(147, 147, 147,0.04) 0%, rgba(147, 147, 147,0.04) 50%,rgba(253, 253, 253,0.04) 50%, rgba(253, 253, 253,0.04) 100%),linear-gradient(266deg, rgb(65,105,225),rgb(52,84,180));
}
.cta-title{
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
}
.cta-content p {
    color: #fff;
    margin-bottom: 0;
}
.cta-sec .lab-btn.cta-btn-1{
    background: #000;
}
.cta-sec .lab-btn.cta-btn-1 span{
    color: #fff;
}
.cta-sec .lab-btn.cta-btn-2{
    background: #fff;
}
.cta-sec .lab-btn.cta-btn-2 span{
    color: #000;
}
/* Academy Card */
.academy-info {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    overflow: hidden;
}

.academy-info:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.academy-header {
    padding: 15px 35px;
}

.academy-content {
    padding: 35px;
    background: #fafbff;
}

.academy-header h3 {
    font-size: 24px;
    margin: 0;
}

.academy-header .date {
    color: #666666;
}

.academy-content img {
    width: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.academy-content h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.academy-location {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.academy-location i {
    color: var(--primary-color);
    margin-right: 6px;
}

.academy-content p {
    font-size: 16px;
    margin: 0;
}
.modal-backdrop {
    background-color: #f3f4f4;
}
.event-modal .modal-title{
    font-size: 24px;
    line-height: 1.4;
}
.event-modal .btn-circle-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease;
    z-index: 1055;
}

.event-modal .btn-circle-close:hover {
    background-color: #ddd;
    color: #000;
}
.modal-header-wrapper{
    width: 90%;
}
.modal-meta-info li{
    font-size: 14px;
}
.event-modal .modal-body{
    padding: 35px;
    max-height: 70vh;
    overflow-y: scroll;
}
/* Project */
.project-logo {
    width: 250px;
    height: 80px;
    object-fit: contain;
}
/* Brand Cards */
.brand-card {
    background: #ffffff;
    padding: 40px 30px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}
.brand-card .brand-content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.brand-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.brand-logo{
    margin-bottom: 20px;
}
.brand-logo img {
    width: 200px;
    height: 60px;
    object-fit: contain;
}

.brand-name {
    font-size: 22px;
    margin-bottom: 15px;
}

.brand-description {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Martials Arts Card */
.contribution-card {
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.martials-arts-overlay{
    position: absolute;
    bottom: -15%;
    right: -5%;
    transform: rotate(
        342deg);
    opacity: 0.1;
    width: 200px;
    height: 200px;
}
.organization-logo{
    width: 120px;
    flex-shrink: 0;
}
.organization-logo img{
    width: 100%;
}
.contribution-content{
    display: flex;
    flex-direction: column;

}
.contribution-title{
    font-size: 20px;
}
.organization-designation{
    color: var(--primary-color);
    font-size: 18px;
}
.contribution-content p{
    margin-bottom: 0;
}
/* Books Card */
.book-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.book-card .upcoming-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 6px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.book-card-content .book-topic-icon{
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #edf1ff;
    margin-bottom: 30px;
    border-radius: 50%;
}
.book-card-content .book-topic-icon img{
    width: 50px;
    height: 50px;
}
.book-card-content .book-topic{
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}
.book-card-content .book-title{
    font-size: 22px;
}
.book-card-content .book-description{
    font-size: 16px;
    margin-bottom: 0;
}
.event-year-header .event-year {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: #999999;
}

.event-year-header .icon-toggle {
    font-size: 16px;
    transition: all 0.5s ease;
    color: #999999;
}

/* Desktop (≥992px): 3 columns per row */
@media (min-width: 992px) {
    .brand-wrapper > .brand-card:nth-child(3n) {
        border-right: none;
    }
    .brand-wrapper > .brand-card:nth-last-child(-n + 3) {
        border-bottom: none;
    }
}

/* Tablet (768px - 991px): 2 columns per row */
@media (min-width: 768px) and (max-width: 991.98px) {
    .brand-wrapper > .brand-card:nth-child(2n) {
        border-right: none;
    }
    .brand-wrapper > .brand-card:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

/* Mobile (<768px): 1 column per row */
@media (max-width: 767.98px) {
    .brand-wrapper > .brand-card {
        border-right: none;
    }
    .brand-wrapper > .brand-card:last-child {
        border-bottom: none;
    }
}

@media (min-width: 576px) {
    .section-header .section-title {
        font-size: 2.25rem;
    }
}
@media (max-width: 1200px){
    .profile-section .member-profile .profile-item .profile-information .profile-name .name {
        font-size: 38px;
    }
    .cta-title{
        font-size: 30px;
    }
}
@media (max-width: 991px){
    .profile-section .member-profile .profile-item .profile-information .profile-name .name {
        font-size: 36px;
    }
    .profile-section .member-profile .profile-item .profile-information .profile-name .name a{
        color: #210053;
    }
    .profile-section .member-profile .profile-details .profile-nav{
        margin-bottom: 40px;
        border-right: 8px;
    }
    .profile-section .member-profile .profile-details .profile-nav .nav-tabs {
        padding: 10px 0;
        border-bottom: none;
    }
    .profile-section .member-profile .profile-item .profile-information {
        margin-top: 0;
    }
}

@media (max-width: 768px){
    .padding-tb{
        padding: 50px 0;
    }
}
@media (max-width: 480px){
    .profile-section .member-profile .profile-item .profile-information .profile-name .name {
        font-size: 28px;
    }
    .sec-wrapper{
        padding: 45px 20px;
    }
    .gallery-content {
        padding: 35px 25px;
    }
    .gallery-title {
        font-size: 20px;
    }
    .cta-sec{
        padding: 50px 0;
    }
    .cta-title{
        font-size: 28px;
    }
    .expertise-icon img{
        width: 50px;
        height; 50px;
    }
    .academy-header, .academy-content{
        padding-left: 25px;
        padding-right: 25px;
    }
    .event-modal .modal-title{
        font-size: 20px;
    }
    .event-modal .modal-body{
        padding: 35px 25px;
    }
    .contribution-card{
        padding: 25px;
    }
    .brand-card{
        padding: 40px 0;
    }
    .profile-section .member-profile .profile-item .profile-cover img{
        height: 130px;
    }
    .post-author, .post-item .post-meta .post-meta-bottom{
        padding: 20px !important;
    }
    .post-description{
        padding: 0 20px 20px 20px !important;
    }
    .academy-header h3{
        font-size: 20px;
    }
    .leadership-role{
        font-size: 22px;
    }
    .leadership-name{
        font-size: 16px;
    }
    .contact-form-wrapper, .contact-info-wrapper{
        padding: 20px !important;
    }
}
@media (max-width: 430px){
    .contribution-card{
        flex-direction: column;
        text-align: center;
    }
    .contribution-title{
        font-size: 22px;
    }
    .book-card{
        padding: 25px;
    }
    .profile-section .member-profile .profile-details .profile-nav .nav-tabs .nav-link{
        padding-left: 12px;
        padding-right: 12px;
    }
}