/* Partners Page Styles */

/* Partner Form */
.partner-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4A5568;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: #2D3748;
    transition: all 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0EA5E9;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
    outline: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #E53E3E;
}

/* Notification Messages */
.error-message,
.success-message {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1002;
    width: calc(100% - 2rem);
    max-width: 400px;
    text-align: center;
}

.error-message {
    background: #E53E3E;
}

.success-message {
    background: #38A169;
}

.error-message.show,
.success-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Form Submit Button */
.partner-form .primary-btn {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #0EA5E9, #7C3AED, #EC4899);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    -webkit-appearance: none;
}

.partner-form .primary-btn:hover {
    opacity: 0.9;
}

.partner-form .primary-btn:disabled {
    background: #CBD5E0;
    cursor: not-allowed;
}

/* Hero Section */
.partners-hero {
    padding: 3rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.partners-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2D3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.partners-content {
    max-width: 600px;
}

.partners-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners-image img {
    width: 300px;
    height: auto;
}

/* Steps Cards */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.step {
    position: relative;
    min-height: 270px;
    perspective: 1000px;
}

.step-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.step-front, .step-back {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 2rem;
    border-radius: 16px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-front {
    background: linear-gradient(135deg, #0EA5E9, #7C3AED, #EC4899);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-front i {
    font-size: 2.5rem;
    color: white;
}

.step-back {
    background: rgba(255, 255, 255, 0.9);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: linear-gradient(135deg, #0EA5E9, #7C3AED, #EC4899);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.25rem;
    color: #2D3748;
    margin-bottom: 1rem;
}

.step p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .partners-content {
        max-width: 100%;
    }

    .partners-image img {
        width: 200px;
    }
} 