.w-80 {
    width: 80% !important;
}
.w-70 {
    width: 70% !important;
}
.w-60 {
    width: 60% !important;
}
.w-50 {
    width: 50% !important;
}
.w-40 {
    width: 40% !important;
}
.object-fit-cover {
    object-fit: cover;
}
#header {
    background: var(--secondary);
}
.nav-4 {
    position: relative;
    margin-top: 90px;
    padding: 80px 0;
    position: relative;
    background: var(--secondary);
}

.nav-4 .hero-img {
    position: absolute;
    top: 70px;
    right: 120px;
    animation: rotateSmooth 5s linear infinite;
    width: 150px;
    max-height: 150px;
}
.nav-4 h1 {
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    font-size: clamp(1.875rem, 4vw, 2.625rem);
}
@keyframes rotateSmooth {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.contact-section {
    padding: 4rem 1.5rem;
}

.contact-section .contact-title {
    color: #086D7A;
    font-weight: 700;
}

.contact-section .contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-section .contact-info span {
    font-weight: 600;
}

.stat-box {
    background: #f9f9f9;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-section .stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-section .stat-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-section .stat-box .stat-text {
    display: flex;
    flex-direction: column;
}

.contact-section .stat-box .stat-text p:first-child {
    font-weight: 600;
    color: #333;
}

.contact-section .stat-box .stat-text p:last-child {
    font-weight: 700;
    color: #086D7A;
    font-size: 1.25rem;
}

.contact-section .map-container {
    border: 1px solid #ddd;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-section .map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}



/* ============================== All Min Box Strategy Container ============================== */
/* <section class="strategy"> */
.all-main-box {
    min-width: 800px;
}

.all-main-box img {
    max-width: 800px;
}

.all-main-box p {
    color: #000;
    font-size: 1.2rem;
}

/* ============================== Liderships Container ============================== */
.s-liderships {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--bg, 1));
}

.s-liderships .row {
    padding: 20px;
    border-radius: 10px;
    background: var(--dark);

}

.s-liderships .card {
    border-radius: 16px;
    background: none;
    box-shadow: none;
    display: flex;
    gap: 24px;
    transition: box-shadow 0.3s;
}


.s-liderships .avatar {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    object-fit: cover;
    flex-shrink: 0;
}

.s-liderships .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s-liderships .info {
    flex: 1;
}

.s-liderships .name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.s-liderships .position {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 16px;
}

.s-liderships .contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    margin: 6px 0;
}

.s-liderships .contact svg {
    color: #0ea5e9;
    width: 16px;
    height: 16px;
}

.s-liderships .bio {
    margin: 16px 0;
    line-height: 1.5;
    color: #475569;
}

.s-liderships .btn-detail {
    background: none;
    border: none;
    color: #0ea5e9;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
}

.s-liderships .detail-text {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    color: #475569;
    line-height: 1.6;
}

.s-liderships .btn {
    /* position: absolute;
    right: 10px;
    bottom: 20px; */
    color: var(--text);
    background: var(--bg);
}

@media (max-width: 768px) {
    .card {
        flex-direction: column;
    }

    .avatar {
        width: 100%;
        height: 200px;
    }
}


/* ============================== Indicators Container ============================== */
.s-university .stat-box {
    position: relative;
    z-index: 1;
}


/* ============================== Appeal Rector Container ============================== */

.appeal-rector .form-container {
    max-width: 1200px;
    margin: 3rem auto 4rem;
    padding: 2rem;
    background: linear-gradient(to bottom right, #fff, #f9fafb);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.appeal-rector .form-select {
    width: 100%;
}

.appeal-rector .form-title {
    font-weight: 700;
    color: #1f2937;
}

.appeal-rector .form-subtitle {
    color: #6b7280;
}

.appeal-rector .form-label {
    font-weight: 600;
    color: #374151;
}

.appeal-rector .form-control,
.appeal-rector .form-select {
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: all 0.2s;
}

.appeal-rector .form-control:focus,
.appeal-rector .form-select:focus {
    border-color: #086D7A;
    box-shadow: 0 0 0 0.25rem rgba(8, 109, 122, 0.2);
    outline: none;
}

.appeal-rector .form-check-input:checked {
    background-color: #086D7A;
    border-color: #086D7A;
}

.appeal-rector .btn-submit {
    background: linear-gradient(to right, #086D7A, #0a8a99);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.appeal-rector .btn-submit:hover {
    background: linear-gradient(to right, #064e56, #086D7A);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.appeal-rector .required {
    color: #ef4444;
}

/* ============================== Scholarship Students Container ============================== */

#scholarship-students {
    background: #F3F7FD;
    padding: 4rem 0;
}

#scholarship-students .main-title img {
    margin-top: -8px;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.w-timeline {
    width: 200px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #d1d5db;
    z-index: 0;
}

.timeline-item {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.timeline-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    opacity: none;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-btn.active {
    background: #086D7A;
    color: #fff;
}



.timeline-btn:hover:not(.active) {
    transform: scale(1.05);
}

.student-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    height: 100%;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.student-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(to bottom right, #f9fafb, #f1f5f9);
}

.student-name {
    font-weight: 700;
    color: #111827;
}

.student-scholarship {
    color: #086D7A;
    font-weight: 600;
    font-size: 0.875rem;
}

.student-direction {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Chap va o'ngga surish */
.timeline-item:nth-child(odd) .timeline-btn {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-btn {
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.5s ease-out forwards;
}

.scholarship-card {
    background-color: #F3F7FD;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.3s ease;
    height: 180px;
    max-width: 470px;
    margin-bottom: 20px;
    width: 100%;
}

.scholarship-card:hover {
    border-color: #086D7A;
    box-shadow: 0 10px 20px rgba(8, 109, 122, 0.15);
    transform: translateY(-2px);
}

.scholarship-img {
    min-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.scholarship-title {
    font-weight: 600;
    margin-left: 15px;
    color: #1f2937;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    font-size: 1rem;
}

.card-link {
    text-decoration: none;
    display: block;
}

@media (min-width: 576px) {
    .scholarship-card {
        width: 85%;
    }
}

@media (min-width: 768px) {
    .scholarship-card {
        width: 90%;
    }
}

@media (min-width: 992px) {
    .scholarship-card {
        width: 95%;
    }
}



/* ============================== scientific school Container ============================== */
.cursor-pointer {
    cursor: pointer;
}

.hidden {
    display: none;
}

.modal {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 100000;
}

.modal-content {
    overflow-y: auto;
    background-color: #fff;
    position: absolute;
}

.main-new-card .row {
    padding-right: 0;
}

.main-new-card .col {
    width: 400px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-new-card .col .news-card {
    width: 400px;
    margin-right: 0;
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000000;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.modal-dialog {
    max-width: 80%;
    max-height: 90%;
}
.modal-content-custom {
    background: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header-custom {
    background: linear-gradient(to bottom, #086D7A, #0a8a9a);
    padding: 1.5rem;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}


.modal-body-custom {
    padding: 1.5rem;
    height: 85vh;
}

.modal-meta img {
    width: 100%;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.modal-content-text {
    line-height: 1.6;
}

.download-btn {
    position: relative;
    margin-top: 50px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: white;
    background: #086D7A;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #0a7f8f;
}


.project-card {
    background: linear-gradient(to bottom right, #F3F7FD, #E0E7FF);
    border: 1px solid #c7d2fe;
    transition: all 0.3s ease;
    border-radius: 10px;
    cursor: pointer;
}

.project-card h3 {
    font-size: 1.125rem;
    line-height: 1.25rem;
}

.img-hover-scale {
    transition: transform 0.3s ease;
}

.project-card .img-hover-scale {
    border-radius: 10px;
}

.project-card:hover .img-hover-scale {
    transform: scale(1.05);
}