/*
=====================================================
AMALIYOT SAHIFASI UCHUN MAXSUS STILLAR (PREMIUM ELITE)
=====================================================
*/

/* 1. HERO SECTION */
.internship-hero {
    /* Biznes muhitiga mos rasm */
    background: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?q=80&w=2070') no-repeat center center / cover !important;
}

/* Sarlavha animatsiyasi */
.highlight-text-premium::before {
    content: 'DASTURI' !important;
}

/* 2. KIRISH QISMI (STAJIROVKA MAQSADI) - TUZATILDI */
.internship-goal-area {
    /* Rasm tagidan joy tashlash (overlap bo'lmasligi uchun) */
    margin-top: 60px;
    margin-bottom: 60px;
}

.internship-intro-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* 3. AFZALLIKLAR KARTALARI (FLOATING + BORDER) */

/* Animatsiya */
@keyframes floatIntern {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.internship-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    border: 1px solid rgba(7, 0, 107, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;

    /* --- ASOSIY TALABLAR: SUZISH VA SARIQ CHIZIQ --- */
    border-bottom: 4px solid #FFC107;
    animation: floatIntern 4.5s ease-in-out infinite;

    transition: all 0.3s ease;
}

/* Har xil vaqtda suzishi uchun delay */
.row .col-lg-3:nth-child(1) .internship-card {
    animation-delay: 0s;
}

.row .col-lg-3:nth-child(2) .internship-card {
    animation-delay: 0.5s;
}

.row .col-lg-3:nth-child(3) .internship-card {
    animation-delay: 1.0s;
}

.row .col-lg-3:nth-child(4) .internship-card {
    animation-delay: 1.5s;
}

.row .col-lg-3:nth-child(5) .internship-card {
    animation-delay: 0.2s;
}

.row .col-lg-3:nth-child(6) .internship-card {
    animation-delay: 0.7s;
}

.row .col-lg-3:nth-child(7) .internship-card {
    animation-delay: 1.2s;
}

.row .col-lg-3:nth-child(8) .internship-card {
    animation-delay: 1.7s;
}

.internship-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(7, 0, 107, 0.15);
}

/* Ikonka */
.internship-card .icon-circle {
    width: 70px;
    height: 70px;
    background: #eef2ff;
    color: #07006b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    border: 1px solid rgba(7, 0, 107, 0.05);
    transition: all 0.4s ease;
}

.internship-card:hover .icon-circle {
    background: #07006b;
    color: #FFC107;
    transform: rotateY(180deg);
    box-shadow: 0 5px 15px rgba(7, 0, 107, 0.3);
}

.internship-card:hover .icon-circle i {
    transform: rotateY(-180deg);
}

/* Matn */
.internship-card .card-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #07006b;
    margin: 0;
    line-height: 1.4;
}

/* =========================================
   HAMKORLAR (PREMIUM DUAL MARQUEE)
   ========================================= */

.partners-section-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    padding: 60px 0;
    overflow: hidden;
    /* Toshib chiqmasligi uchun */
    border-radius: 30px;
    /* Umumiy container burchagi */
}

.partners-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* MARQUEE CONTAINER */
.marquee-wrapper {
    position: relative;
    width: 100%;
    /* Yon tomonlardan xiralashish effekti (Fade effect) */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    overflow: hidden;
    padding: 10px 0;
    /* Kartalar soyasi kesilmasligi uchun */
}

.marquee-content {
    display: flex;
    gap: 30px;
    /* Kartalar orasi */
    width: max-content;
}

/* ANIMATSIYALAR */
/* Chapga yurish */
.scroll-left .marquee-content {
    animation: scrollLeft 40s linear infinite;
}

/* O'ngga yurish */
.scroll-right .marquee-content {
    animation: scrollRight 45s linear infinite;
}

/* Hover bo'lganda to'xtab turish */
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* --- PARTNER CARD (ELITE) --- */
.partner-card-elite {
    width: 200px;
    height: 100px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(7, 0, 107, 0.05);
    border: 1px solid rgba(7, 0, 107, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.partner-card-elite img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* Hover Effektlari */
.partner-card-elite:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(7, 0, 107, 0.15);
    border-color: rgba(255, 193, 7, 0.5);
    /* Oltin border */
}

.partner-card-elite:hover img {
    filter: grayscale(0%);
    /* Rangli bo'lishi */
    opacity: 1;
    transform: scale(1.1);
}

/* Shine (Yaltirash) Effekti */
.partner-card-elite::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 193, 7, 0.2), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.partner-card-elite:hover::before {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

/* Mobil Moslashuv */
@media (max-width: 768px) {
    .partner-card-elite {
        width: 150px;
        height: 80px;
    }

    .marquee-content {
        gap: 15px;
    }

    .internship-goal-area {
        margin-top: 40px;
    }
}