/* Sidebar Quick Links - tpp2.mn */

.sidebar-quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Slider styling */
.slider-image {
    object-fit: cover;
}

.slider-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
}

.slider-title {
    font-size: 22px;
    line-height: 1.5;
    display: inline-block;
    padding: 16px 26px; /* Golden ratio: 16 * 1.618 ≈ 26 */
}

/* Swiper Navigation - Glassmorphism */
.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.mySwiper .swiper-button-next::after,
.mySwiper .swiper-button-prev::after {
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
}

.mySwiper .swiper-button-next:hover,
.mySwiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Swiper Pagination - Glassmorphism */
.mySwiper .swiper-pagination {
    bottom: 20px;
}

.mySwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}

.mySwiper .swiper-pagination-bullet-active {
    background: rgba(255, 242, 0, 0.8);
    border-color: rgba(255, 242, 0, 0.9);
    width: 32px;
    border-radius: 6px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    background: #f0f0ff;
    border-left: 4px solid #00026f;
    border-radius: 8px;
    padding: 12px 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quick-link-item:hover {
    background: #e8e8ff;
    border-left-width: 6px;
    transform: translateX(3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quick-link-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-link-icon i {
    font-size: 28px;
    color: #00026f;
}

.quick-link-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quick-link-divider {
    width: 1px;
    background: linear-gradient(to bottom, rgba(0, 2, 111, 0.2) 0%, rgba(0, 2, 111, 1) 50%, rgba(0, 2, 111, 0.2) 100%);
    height: 45px;
    margin: 0 12px;
    flex-shrink: 0;
}

.quick-link-text {
    flex: 1;
    font-size: 11px;
    font-weight: bold;
    color: #00026f;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: left;
}

/* Why Choose Us - Feature Cards */
.why-choose-us {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 2, 111, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 2, 111, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(0, 2, 111, 0.9) 0%, rgba(34, 36, 139, 0.9) 100%);
    border-color: rgba(255, 242, 0, 0.3);
}

.feature-card.featured .feature-icon {
    color: #fff200;
}

.feature-card.featured .feature-title {
    color: #ffffff;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-icon svg,
.feature-icon img {
    max-width: 60px;
    max-height: 60px;
    transition: all 0.3s ease;
}

.feature-icon svg {
    color: #00026f;
}

.feature-card.featured .feature-icon svg {
    color: #fff200;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #00026f;
    margin: 0;
    line-height: 1.4;
}

/* Welcome Section - Director Message */
.welcome-section {
    background: #FFF;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #00026f;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00026f 0%, #fff200 100%);
}

.director-message {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 2, 111, 0.08);
}

.message-content {
    display: flow-root;
}

.director-image {
    width: 280px;
    float: left;
    margin: 0 20px 15px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message-text {
    text-align: justify;
    line-height: 1.8;
    color: #333;
}

.message-text p {
    margin-bottom: 1rem;
}

/* Info Cards */
.info-cards-wrapper {
    height: 100%;
}

.info-card {
    background: linear-gradient(135deg, rgba(240, 241, 245, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 12px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 2, 111, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 241, 245, 0.5) 100%);
    box-shadow: 0 12px 32px rgba(0, 2, 111, 0.15);
    transform: translateY(-8px);
}

.info-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
    align-self: flex-start;
    border-radius: 50%;
    background: #fff;
    border: 0.5px solid rgba(162, 163, 229, 0.1);
}

.info-icon img {
    max-width: 60px;
    max-height: 60px;
}

.info-card:hover .info-icon {
    transform: scale(1.05);
}

.info-title {
    font-size: 15px;
    font-weight: 600;
    color: #00026f;
    margin: 0;
    line-height: 1.4;
}

/* Counter Card Styles */
.counter-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.counter-number {
    font-size: 32px;
    font-weight: 700;
    color: #00026f;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    display: inline-block;
}

/* Feature Swiper Simple Cards */
.featureSwiper {
    padding: 20px 0 50px;
    position: relative;
}

.feature-card-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-icon-simple {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon-simple img {
    max-width: 80px;
    max-height: 80px;
}

.feature-title-simple {
    font-size: 16px;
    font-weight: 600;
    color: #00026f;
    margin: 0;
    line-height: 1.4;
}

/* Feature Swiper Navigation */
.featureSwiper .feature-next,
.featureSwiper .feature-prev {
    width: 35px;
    height: 35px;
    background: rgba(0, 2, 111, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.featureSwiper .feature-next::after,
.featureSwiper .feature-prev::after {
    font-size: 16px;
    font-weight: 400;
    color: #00026f;
}

.featureSwiper .feature-next:hover,
.featureSwiper .feature-prev:hover {
    background: rgba(0, 2, 111, 0.15);
}

/* Feature Swiper Pagination */
.featureSwiper .feature-pagination {
    bottom: 10px;
}

.featureSwiper .feature-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 2, 111, 0.2);
    opacity: 1;
    transition: all 0.3s ease;
}

.featureSwiper .feature-pagination .swiper-pagination-bullet-active {
    background: #00026f;
    width: 24px;
    border-radius: 4px;
}

/* News Grid Section */
.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    min-height: 2.8em; /* 2 lines * 1.4 line-height */
}

/* Responsive */
@media (max-width: 991px) {
    .sidebar-quick-links {
        margin-top: 20px;
    }

    .director-image {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }

    .info-cards-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .quick-link-item {
        padding: 15px 10px;
    }

    .quick-link-icon {
        width: 45px;
        height: 45px;
    }

    .quick-link-icon i {
        font-size: 28px;
    }

    .quick-link-divider {
        height: 45px;
        margin: 0 10px;
    }

    .quick-link-text {
        font-size: 11px;
    }
}
