/* ============================================
   PARTNERS PAGE STYLES
   (Header & Footer from landing-page styles.css)
   ============================================ */

/* === PARTNERS HERO SECTION === */
.partners-hero {
    background: white;
    padding: 64px 0;
}

.partners-hero .section-badge {
    display: inline-block;
    background: rgba(64, 184, 178, 0.25);
    padding: 8px 24px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.partners-hero .section-badge p {
    color: #1d8279;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.partners-hero h1 {
    font-size: 80px;
    font-weight: 900;
    color: #1d8279;
    margin-bottom: 24px;
    line-height: 1.2;
}

.partners-hero p {
    font-size: 32px;
    font-weight: 600;
    color: #3b3b3a;
    max-width: 1000px;
    line-height: 1.55;
}

.partners-hero p strong {
    font-weight: 700;
}

/* === CONSORTIUM SECTION === */
.consortium-section {
    background: #f5f5f5;
    padding: 80px 0;
}

.consortium-header {
    text-align: center;
    margin-bottom: 64px;
}

.consortium-header h2 {
    font-size: 40px;
    font-weight: 900;
    color: #3b3b3a;
    margin-bottom: 32px;
}

.consortium-description {
    font-size: 16px;
    font-weight: 500;
    color: #3b3b3a;
    max-width: 900px;
    line-height: 1.6;
    margin: 0 auto 48px;
    text-align: center;
}

.consortium-description strong {
    font-weight: 700;
}

/* ============================================
   PARTNER CARDS GRID (4 COLUMNS)
   ============================================ */

.partners-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.partner-card-new {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-card-new:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* ============================================
   ACTIVE PARTNER CARD STATE (Dropdown Open)
   ============================================ */

.partner-card-new.active {
    background: #1d8279;
    color: white;
    box-shadow: 0 8px 24px rgba(29, 130, 121, 0.3);
    transform: translateY(0);
}
.partner-card-new.active .partner-card-inner {
    background: #1d8279;
}
.partner-card-new.active:hover {
    box-shadow: 0 8px 24px rgba(29, 130, 121, 0.4);
}

.partner-card-new.active .partner-logo-new {
    background: white;
}

.partner-card-new.active .partner-logo-new img {
    mix-blend-mode: normal;
}

.partner-card-new.active .partner-category {
    color: rgba(255, 255, 255, 0.85);
}

.partner-card-new.active .partner-link {
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.partner-card-new.active .partner-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.partner-card-new.active .contacts-btn-new {
    background: white;
    color: #1d8279;
    font-weight: 700;
}

.partner-card-new.active .contacts-btn-new:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #1d8279;
}

.partner-card-inner {
    display: flex;
    background: #FDFDFD;
    flex-direction: column;
    height: 100%;
    padding: 24px;
}

.partner-logo-new {
    width: 100%;
    height: 140px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.partner-logo-new img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    mix-blend-mode: multiply;
    transition: mix-blend-mode 0.3s ease;
}

.partner-info-new {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.partner-info-new h3 {
    display: none;
}

.partner-category {
    font-size: 13px;
    color: #3B3B3A;
    margin: 0 0 16px 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.partner-link {
    color: #3B3B3A;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    padding: 0;
    display: inline-block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-link:hover {
    color: #1d8279;
    text-decoration: underline;
}

.contacts-btn-new {
    background: #3B3B3A;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.contacts-btn-new:hover {
    background: #2a2a29;
}

.contacts-btn-placeholder {
    width: 100%;
    height: 40px;
    margin-top: auto;
    visibility: hidden;
}

/* ============================================
   CONTACTS DROPDOWN SYSTEM
   ============================================ */

.contact-dropdown-new {
    grid-column: 1 / -1;
    background: #1d8279;
    color: white;
    border-radius: 12px;
    display: none;
    margin-top: 24px;
    margin-bottom: 24px;
    overflow: hidden;
    max-height: 0;
    padding: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.contact-dropdown-new.show {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 1000px;
    padding: 20px 24px;
}

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

.dropdown-header-new {
    background: #1d8279;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-header-new span {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.close-btn-new {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.close-btn-new:hover {
    opacity: 0.7;
}

.dropdown-content-new {
    padding: 32px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    animation: fadeInContent 0.3s ease;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.contact-column-new {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item-new {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: white;
    padding: 16px;
    border-radius: 10px;
    color: #3b3b3a;
}

.contact-avatar-new {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d8279 0%, #40B8B2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.contact-info-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-name-new {
    font-weight: 700;
    font-size: 14px;
    color: #3b3b3a;
    line-height: 1.3;
    word-break: break-word;
}

.contact-role-new {
    font-size: 12px;
    color: #555;
    line-height: 1.3;
}

.contact-linkedin-new {
    width: 32px;
    height: 32px;
    background: #3B3B3A;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.contact-linkedin-new:hover {
    background: #084D94;
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (max-width 399px)
   ============================================ */

@media (max-width: 399px) {
    .partners-hero {
        padding: 64px 0;
    }

    .partners-hero h1 {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .partners-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 8px 24px;
        border-radius: 24px;
        margin-bottom: 16px;
    }

    .partners-hero .section-badge p {
        color: #1d8279;
        font-size: 12px;
        font-weight: 600;
        margin: 0;
    }

    .partners-hero p {
        font-size: 16px;
        max-width: 100%;
        line-height: 1.6;
    }

    .consortium-header h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .consortium-description {
        font-size: 14px;
        max-width: 100%;
        line-height: 1.5;
    }

    .partners-grid-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partner-logo-new {
        height: 120px;
        margin-bottom: 14px;
        background: white;
    }

    .partner-info-new h3 {
        font-size: 15px;
        min-height: 45px;
    }

    .partner-card-inner {
        padding: 16px;
    }

    .partner-category {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .partner-link {
        font-size: 13px;
    }

    .contacts-btn-new {
        font-size: 12px;
        padding: 14px 16px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contacts-btn-placeholder {
        height: 48px;
    }

    .contact-dropdown-new.show {
        padding: 12px 16px 0px 16px;
    }

    .dropdown-content-new {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px 0;
    }

    .contact-avatar-new {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .contact-name-new {
        font-size: 13px;
    }

    .contact-role-new {
        font-size: 11px;
    }

    .dropdown-header-new {
        padding: 12px 0;
    }

    .dropdown-header-new span {
        font-size: 16px;
    }
}

/* ============================================
   RESPONSIVE - SMALL DEVICE (400px - 767px)
   ============================================ */

@media (min-width: 400px) and (max-width: 767px) {
    .partners-hero {
        padding: 64px 0;
    }

    .partners-hero h1 {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .contact-dropdown-new.show {
        padding: 12px 16px 0px 16px;
    }

    .partners-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 8px 24px;
        border-radius: 24px;
        margin-bottom: 16px;
    }

    .partners-hero .section-badge p {
        color: #1d8279;
        font-size: 12px;
        font-weight: 600;
        margin: 0;
    }

    .partners-hero p {
        font-size: 16px;
        max-width: 100%;
        line-height: 1.6;
    }

    .consortium-header h2 {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .consortium-description {
        font-size: 14px;
        max-width: 100%;
        line-height: 1.5;
    }

    .partners-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .partner-logo-new {
        height: 120px;
        margin-bottom: 14px;
        background: white;
    }

    .partner-info-new h3 {
        font-size: 15px;
        min-height: 45px;
    }

    .partner-card-inner {
        padding: 16px;
    }

    .partner-category {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .partner-link {
        font-size: 13px;
    }

    .contacts-btn-new {
        font-size: 12px;
        padding: 14px 16px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contacts-btn-placeholder {
        height: 48px;
    }

    .dropdown-content-new {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px 0;
    }

    .contact-avatar-new {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .contact-name-new {
        font-size: 13px;
    }

    .contact-role-new {
        font-size: 11px;
    }

    .dropdown-header-new {
        padding: 16px 0;
    }

    .dropdown-header-new span {
        font-size: 16px;
    }
}

/* ============================================
   RESPONSIVE - TABLET (768px - 1023px)
   ============================================ */

@media (min-width: 768px) and (max-width: 1023px) {
    .partners-hero {
        padding: 80px 32px;
    }

    .partners-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 8px 24px;
        border-radius: 24px;
        margin-bottom: 24px;
    }

    .partners-hero .section-badge p {
        color: #1d8279;
        font-size: 20px;
        font-weight: 600;
        margin: 0;
    }

    .partners-hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .partners-hero p {
        font-size: 32px;
        max-width: 700px;
        line-height: 1.5;
    }

    .consortium-section {
        padding: 96px 32px;
    }

    .consortium-header {
        margin-bottom: 80px;
    }

    .consortium-header h2 {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .consortium-description {
        font-size: 16px;
        max-width: 900px;
        line-height: 1.6;
    }

    .partners-grid-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .partner-logo-new {
        height: 140px;
        margin-bottom: 16px;
        background: white;
    }

    .partner-info-new h3 {
        font-size: 16px;
        min-height: 48px;
    }

    .partner-card-inner {
        padding: 20px;
    }

    .dropdown-content-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 24px 0;
    }
}

/* ============================================
   RESPONSIVE - DESKTOP (1024px+)
   ============================================ */

@media (min-width: 1024px) {
    .partners-hero {
        padding: 96px 0;
    }

    .partners-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 10px 28px;
        border-radius: 24px;
        margin-bottom: 32px;
    }

    .partners-hero .section-badge p {
        color: #1d8279;
        font-size: 24px;
        font-weight: 600;
        margin: 0;
    }

    .partners-hero h1 {
        font-size: 80px;
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .partners-hero p {
        font-size: 32px;
        max-width: 1200px;
        line-height: 1.45;
    }

    .consortium-section {
        padding: 100px 0;
    }

    .consortium-header {
        margin-bottom: 80px;
    }

    .consortium-header h2 {
        font-size: 40px;
        margin-bottom: 32px;
        line-height: 1.2;
    }

    .consortium-description {
        font-size: 16px;
        max-width: 900px;
        line-height: 1.6;
    }

    .partners-grid-new {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .partner-logo-new {
        height: 160px;
        margin-bottom: 20px;
        background: white;
    }

    .partner-info-new h3 {
        font-size: 18px;
        min-height: 54px;
    }

    .partner-card-inner {
        padding: 24px;
    }

    .dropdown-content-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        padding: 32px 0;
    }
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP (1440px+)
   ============================================ */

@media (min-width: 1440px) {
    .partners-hero {
        padding: 120px 0;
    }

    .partners-hero .section-badge {
        display: inline-block;
        background: rgba(64, 184, 178, 0.25);
        padding: 10px 28px;
        border-radius: 24px;
        margin-bottom: 40px;
    }

    .partners-hero .section-badge p {
        font-size: 26px;
        font-weight: 600;
        color: #1d8279;
        margin: 0;
    }

    .partners-hero h1 {
        font-size: 80px;
        margin-bottom: 32px;
    }

    .partners-hero p {
        font-size: 32px;
        max-width: 1200px;
        line-height: 1.45;
    }

    .consortium-section {
        padding: 120px 0;
    }

    .consortium-header {
        margin-bottom: 100px;
    }

    .consortium-header h2 {
        font-size: 48px;
        margin-bottom: 40px;
    }

    .consortium-description {
        font-size: 18px;
        max-width: 1000px;
        line-height: 1.7;
    }

    .partners-grid-new {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }

    .partner-logo-new {
        height: 180px;
        margin-bottom: 24px;
        background: white;
    }

    .partner-info-new h3 {
        font-size: 20px;
        min-height: 60px;
    }

    .partner-card-inner {
        padding: 28px;
    }

    .partner-link {
        font-size: 16px;
    }

    .contacts-btn-new {
        font-size: 13px;
        padding: 12px 18px;
    }
}