/* public/css/partnership.css - Premium Partnership Portal Styles */

:root {
    --brand-navy: #0a192f;
    --brand-red: #d90429;
    --brand-blue: #2563eb;
    --brand-blue-light: #eff6ff;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body.partnership-theme {
    background-color: var(--bg-light);
    color: var(--text-main);
}

.partnership-wrapper {
    width: 100%;
}

.container-clean {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Business Hero Redesign (Premium Dark) */
.partner-hero {
    position: relative;
    padding: clamp(6rem, 12vw, 12rem) 0 clamp(4rem, 8vw, 8rem) 0;
    background: #0f172a;
    color: #ffffff;
    overflow: hidden;
    text-align: left;
}

.partner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?q=80&w=1600'); /* Professional Business/Handshake fallback */
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    z-index: 1;
}

.partner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 2;
}

.partner-hero .container-clean {
    position: relative;
    z-index: 2;
}

.badge-outline {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-benefits li svg {
    color: var(--brand-red);
}

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary-red {
    background: linear-gradient(135deg, var(--brand-red) 0%, #bd0424 100%);
    color: #fff;
    padding: 16px 40px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 20px rgba(217, 4, 41, 0.2);
}

.btn-primary-red:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(217, 4, 41, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    padding: 15px 36px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Trust Stats Area */
.trust-stats-section {
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    padding: 40px;
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--border-color);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-navy);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Benefits Grid */
.benefits-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 15px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(15, 44, 89, 0.08);
    border-color: var(--brand-red);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--brand-navy);
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Requirements Section */
.requirements-section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
}

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.req-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.req-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.req-icon {
    width: 48px;
    height: 48px;
    background: #fff0f2;
    color: var(--brand-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.req-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--brand-navy);
}

.req-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

/* Application Form Card */
.form-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.partnership-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-control {
    height: 54px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    padding: 0 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 8px 20px rgba(217, 4, 41, 0.08);
    background: #fff;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-navy);
}

.form-trust-signals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--brand-blue-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-blue);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #fff;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--brand-navy);
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 200px;
    border-top: 1px solid var(--border-color);
}

/* Sticky Action Bar */
.sticky-partner-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(15px);
    padding: 14px 40px;
    border-radius: 6px;
    display: flex;
    gap: 40px;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.sticky-partner-bar.visible {
    transform: translateX(-50%) translateY(0);
}

.sticky-partner-bar a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-partner-bar a:hover {
    color: var(--brand-red);
}

/* Partnership Full-Width Layout */
.partnership-two-column-wrapper {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.partnership-two-column-wrapper .benefits-section,
.partnership-two-column-wrapper .requirements-section,
.partnership-two-column-wrapper .form-section,
.partnership-two-column-wrapper .faq-section {
    width: 100%;
    margin-bottom: 50px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    /* Handled by UMHS: .partner-hero standards, h1, p scaling */
    .partner-hero { text-align: center; }
    .hero-benefits { align-items: center; }
    .hero-ctas { justify-content: center; }
    
    .benefit-card p, .req-content p, .form-header p, .section-header p { text-align: justify; }
    
    .benefits-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 30px; }
    .stat-item:not(:last-child)::after { display: none; }
    .req-grid { grid-template-columns: 1fr; }
    .req-image { order: -1; height: 300px !important; margin-bottom: 30px; }
    .form-trust-signals { grid-template-columns: 1fr; gap: 10px; }
    .sticky-partner-bar { width: 95%; padding: 12px 15px; justify-content: space-around; gap: 10px; }
    .sticky-partner-bar a span { display: none; }
}
