/* ================= GLOBAL ================= */
body {
    background: #f7f9ff;
    font-family: 'Inter', sans-serif;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

html, body {
    overflow-x: hidden;
}

/* ================= HERO ================= */
.hero-section {
    position: relative;
    min-height: 100vh;

    background: url('../img/banner.png') center / cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* пространство для welcome */

}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 40, 0.65);
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.hero-content p {
    color: #e4e6ef;
    font-size: 1.25rem;
    margin-bottom: 35px;
}

.hero-btn {
    padding: 14px 36px;
    border-radius: 12px;
    background: linear-gradient(90deg, #6a5af9, #8a7ffe);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.hero-btn:hover {
    transform: translateY(-3px);
}


/* ================= WELCOME ================= */
.welcome {
    /* ❌ УБРАЛИ отрицательный margin */
    margin-top: 0;

    /* ✅ нормальный отступ сверху */
    padding-top: 80px;
    padding-bottom: 80px;

    position: relative;
    z-index: 5;
}


.welcome-inner {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);

}

.welcome-title {
    font-size: clamp(2rem, 4vw, 2.7rem);
    margin-bottom: 20px;
}

.welcome-title span {
    color: #6a5af9;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5b5f75;
    margin-bottom: 15px;
}

.stats-box {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat-item h3 {
    color: #6a5af9;
    font-size: 2rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: #5b5f75;
}

.welcome-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #6a5af9, #8a7ffe);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
}

.welcome-image img {
    width: 420px;
    border-radius: 22px;
}

/* ================= OBJECTIVES ================= */
.objectives {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f5f0ff 100%);
    position: relative;
    overflow: hidden;
}

.objectives::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 15s ease-in-out infinite;
}

.objectives::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(5deg); }
}

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

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1e40af, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.objectives-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

/* Decorative connecting line */
.objectives-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100px;
    bottom: 100px;
    width: 2px;
    background: linear-gradient(180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.2) 10%,
    rgba(168, 85, 247, 0.2) 90%,
    transparent 100%);
    transform: translateX(-50%);
}

.objective-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 35px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    animation: fadeIn 0.6s ease backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zigzag pattern - alternating left and right */
.objective-card:nth-child(odd) {
    margin-right: auto;
    margin-left: 0;
    max-width: 85%;
    animation-delay: 0s;
}

.objective-card:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    max-width: 85%;
    flex-direction: row-reverse;
    animation-delay: 0.2s;
}

.objective-card:nth-child(1) { animation-delay: 0.1s; }
.objective-card:nth-child(2) { animation-delay: 0.3s; }
.objective-card:nth-child(3) { animation-delay: 0.5s; }
.objective-card:nth-child(4) { animation-delay: 0.7s; }

.objective-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.objective-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.25);
}

.objective-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.objective-card:hover .icon-wrapper {
    transform: rotate(5deg) scale(1.1);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.obj-icon {
    width: 60px;
    height: 60px;
    transition: all 0.4s ease;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(207deg) brightness(97%) contrast(98%);
}

.objective-card:hover .obj-icon {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
}

.content-wrapper {
    flex: 1;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.objective-card:nth-child(odd) .content-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.4s ease;
}

.objective-card:nth-child(even) .content-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    transition: width 0.4s ease;
}

.objective-card:hover .content-wrapper h3::after {
    width: 100%;
}

.content-wrapper p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* Number badge */
.card-number {
    position: absolute;
    top: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: all 0.4s ease;
}

.objective-card:nth-child(odd) .card-number {
    left: 30px;
}

.objective-card:nth-child(even) .card-number {
    right: 30px;
}

.objective-card:hover .card-number {
    transform: scale(1.2) rotate(360deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .objectives {
        padding: 60px 15px;
    }

    .objectives-grid::before {
        display: none;
    }

    .objective-card {
        flex-direction: column !important;
        text-align: center;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 30px 25px;
    }

    .icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .obj-icon {
        width: 50px;
        height: 50px;
    }

    .content-wrapper h3 {
        font-size: 1.3rem;
    }

    .content-wrapper h3::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }

    .card-number {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }

    .section-header {
        margin-bottom: 50px;
    }
}

/* ================= MAIN OBJECTIVES ================= */
.main-objectives {
    padding: 120px 20px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    position: relative;
    overflow: hidden;
}

/* Background effects */
.main-objectives::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: mainObjectivesPulse 4s ease-in-out infinite;
}

.main-objectives::after {
    content: '';
    position: absolute;
    width: 1000px;
    height: 1000px;
    border: 2px solid rgba(139,92,246,0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: mainObjectivesRotate 30s linear infinite;
}

/* Animations */
@keyframes mainObjectivesPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes mainObjectivesRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes mainObjectivesHub {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 80px rgba(59,130,246,.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 120px rgba(59,130,246,.8);
    }
}

/* Container */
.main-objectives__container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.main-objectives__header {
    text-align: center;
    margin-bottom: 100px;
}

.main-objectives__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(59,130,246,.5);
    line-height: 1.2;
}

.main-objectives__subtitle {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    padding: 0 20px;
}

/* Orbit layout (desktop only) */
.main-objectives__orbit {
    position: relative;
    min-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central hub icon */
.main-objectives__orbit::before {
    content: '🎯';
    position: absolute;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: 0 0 80px rgba(59,130,246,.6);
    animation: mainObjectivesHub 3s ease-in-out infinite;
    z-index: 1;
}

/* Orbit circle */
.main-objectives__orbit::after {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    border: 2px dashed rgba(59,130,246,.2);
    border-radius: 50%;
    animation: mainObjectivesRotate 40s linear infinite;
}

/* Cards */
.main-objectives__card {
    position: absolute;
    width: 320px;
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,.3);
    border: 2px solid rgba(59,130,246,.3);
    transition: all 0.4s ease;
    z-index: 2;
}

/* Desktop card positions (orbit layout) */
.main-objectives__card:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main-objectives__card:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.main-objectives__card:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.main-objectives__card:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.main-objectives__card:hover {
    box-shadow: 0 25px 80px rgba(59,130,246,.6);
    transform: translateX(-50%) translateY(-10px) scale(1.05);
    z-index: 10;
    border-color: rgba(59,130,246,.6);
}

.main-objectives__card:nth-child(2):hover {
    transform: translateY(-50%) translateX(10px) scale(1.05);
}

.main-objectives__card:nth-child(4):hover {
    transform: translateY(-50%) translateX(-10px) scale(1.05);
}

/* Icon wrapper */
.main-objectives__icon-wrap {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.main-objectives__card:hover .main-objectives__icon-wrap {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: rotate(360deg);
}

.main-objectives__icon-wrap i,
.main-objectives__icon-wrap svg {
    font-size: 2.5rem;
    color: #3b82f6;
    transition: color 0.4s ease;
}

.main-objectives__card:hover .main-objectives__icon-wrap i,
.main-objectives__card:hover .main-objectives__icon-wrap svg {
    color: #fff;
}

/* Number badge */
.main-objectives__number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(59,130,246,.4);
}

/* Card content */
.main-objectives__card h3 {
    text-align: center;
    color: #1e293b;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.main-objectives__card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: center;
}

/* Планшеты и телефоны — горизонтальный слайдер */
/* Планшеты: 641px - 1024px */
@media (min-width: 641px) and (max-width: 1024px) {
    .main-objectives__card {
        position: relative !important;
        transform: none !important;
        width: 80%;
        max-width: 400px;
        margin: 0 auto;
        padding: 28px;
    }

    .main-objectives__orbit {
        display: flex;
        flex-direction: column;
        gap: 30px;
        min-height: auto;
    }

    .main-objectives__number {
        top: -12px;
        left: -12px;
        right: auto;
    }
}

/* Телефоны: до 640px */
@media (max-width: 640px) {
    .main-objectives__card {
        position: relative !important;
        transform: none !important;
        flex: 0 0 280px;
        max-width: 280px;
        scroll-snap-align: start;
        border-radius: 20px;
        padding: 28px;
    }

    .main-objectives__orbit {
        display: flex;
        flex-direction: row;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 20px 20px 20px;
        min-height: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-objectives__orbit::-webkit-scrollbar {
        display: none;
    }
    .main-objectives__orbit {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* Пустой элемент в конце, чтобы видно было следующую карточку */
    .main-objectives__orbit::after {
        content: '';
        flex: 0 0 20px;
        height: 1px;
    }

    .main-objectives__number {
        top: -10px;
        left: -10px;
        right: auto;
    }
}


/* ================= EVENTS ================= */
.events {
    padding: 5rem 0;
    background: #e4ecf3;
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.events .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.events .section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.events .section-title a {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #023477 0%, #042d5c 50%, #023477 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.03em;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.events .section-title a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.events .section-title a:hover {
    transform: scale(1.05);
}

.events .section-title a:hover::after {
    width: 150px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(79, 70, 229, 0.25),
        0 0 0 1px rgba(139, 92, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1e40af 0%, #7c3aed 50%, #a855f7 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 1;
}

.event-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 30px 70px rgba(79, 70, 229, 0.35),
        0 0 0 1px rgba(139, 92, 246, 0.3);
}

.event-card:hover::before {
    transform: scaleX(1);
}

.event-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(124, 58, 237, 0.1));
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(124, 58, 237, 0.95));
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
    backdrop-filter: blur(10px);
    z-index: 2;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.event-card:hover .event-date {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.5);
}

.event-card h3 {
    padding: 1.75rem 2rem 1rem;
    margin: 0;
}

.event-card h3 a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: all 0.3s ease;
}

.event-card:hover h3 a {
    color: #7c3aed;
}

.event-card p {
    padding: 0 2rem 2rem;
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* Empty State */
.events-grid p:only-child {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 20px;
}

.events-grid p:only-child::before {
    content: '📅';
    display: block;
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .events {
        padding: 3rem 0;
    }

    .events .section-title a {
        font-size: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-image {
        height: 200px;
    }

    .event-card h3 {
        padding: 1.5rem 1.5rem 0.75rem;
    }

    .event-card h3 a {
        font-size: 1.25rem;
    }

    .event-card p {
        padding: 0 1.5rem 1.5rem;
        font-size: 0.9375rem;
    }

    .event-date {
        padding: 0.625rem 1.25rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ================= PARTNERS ================= */
.partners {
    padding: 90px 0 120px;
    text-align: center;
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin-top: 110px;
}

.partners::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(106, 90, 249, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.partners::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6a5af9 0%, #41458a 50%, #2e3d9a 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #6a5af9, #c471ed, #f093fb);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(106, 90, 249, 0.4);
}

.partners-carousel {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.partners-carousel::-webkit-scrollbar {
    display: none;
}

.partners-carousel img {
    width: 200px;
    height: 140px;
    object-fit: contain;
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    padding: 25px;
    box-shadow:
        0 10px 30px rgba(106, 90, 249, 0.08),
        0 0 0 1px rgba(106, 90, 249, 0.05);
    position: relative;
    filter: grayscale(0.3) opacity(0.9);
}

.partners-carousel img::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #6a5af9, #c471ed, #f093fb);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partners-carousel img:hover {
    transform: scale(1.1) translateY(-10px) rotate(2deg);
    box-shadow:
        0 20px 60px rgba(106, 90, 249, 0.25),
        0 0 0 2px rgba(106, 90, 249, 0.1);
    filter: grayscale(0) opacity(1);
}

.partners-carousel img:hover::before {
    opacity: 1;
}

/* Alternating hover rotations for visual interest */
.partners-carousel img:nth-child(even):hover {
    transform: scale(1.1) translateY(-10px) rotate(-2deg);
}

/* Animated shimmer effect */
.partners-carousel img::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmerSlide 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerSlide {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.partners-bottom {
    margin-top: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #6a5af9 0%, #c471ed 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(106, 90, 249, 0.15);
    background-color: white;
    background-image: linear-gradient(135deg, #6a5af9 0%, #c471ed 100%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(106, 90, 249, 0.15);
    }
    50% {
        box-shadow: 0 8px 35px rgba(106, 90, 249, 0.25);
    }
}

/* Auto-scroll animation for infinite carousel effect */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Decorative elements */
.partners-carousel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, #f8f9ff, transparent);
    z-index: 2;
    pointer-events: none;
}

.partners-carousel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, #f8f9ff, transparent);
    z-index: 2;
    pointer-events: none;
}

/* Staggered animation delays */
.partners-carousel img:nth-child(1) {
    animation-delay: 0s;
}

.partners-carousel img:nth-child(2) {
    animation-delay: 0.1s;
}

.partners-carousel img:nth-child(3) {
    animation-delay: 0.2s;
}

.partners-carousel img:nth-child(4) {
    animation-delay: 0.3s;
}

.partners-carousel img:nth-child(5) {
    animation-delay: 0.4s;
}

.partners-carousel img:nth-child(6) {
    animation-delay: 0.5s;
}

.partners-carousel img:nth-child(7) {
    animation-delay: 0.6s;
}

/* Floating badge decorations */
.partners::before {
    content: '🤝';
    position: absolute;
    top: 50px;
    right: 100px;
    font-size: 40px;
    opacity: 0.1;
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .partners-carousel img {
        width: 160px;
        height: 120px;
    }

    .partners-bottom {
        font-size: 0.9rem;
        padding: 12px 30px;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .welcome-inner {
        flex-direction: column;
        text-align: center;
    }

    .welcome-image img {
        width: 100%;
        max-width: 400px;
    }

    .stats-box {
        justify-content: center;
    }
}
