/* Styles for Partner With Us page */

.partner-header {
    text-align: center;
    background-image: url('https://drishtishares.com/wp-content/uploads/2022/01/equity-page-banner-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
}
.partner-header h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin: 0;
    text-transform: uppercase;
}

.partner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

/* Text Section (Left) */
.partner-text-section {
    flex: 1;
    min-width: 350px;
}
.partner-text-section h2 {
    color: #113670;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
}
.partner-text-section p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.partner-text-section p:last-child {
    font-weight: 600;
    color: #113670;
    font-size: 18px;
    padding-top: 15px;
    border-top: 2px solid #fceb5d;
    display: inline-block;
}

/* Form Section (Right) */
.partner-form-section {
    flex: 1;
    min-width: 350px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 5px solid #1e3a8a;
    position: relative;
}
.partner-form-section::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: #fceb5d;
    border-radius: 50%;
    z-index: -1;
}

.partner-form-section h3 {
    color: #333;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.form-col {
    flex: 1;
    min-width: 200px;
    margin: 0;
}
.form-col label {
    display: block;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    display: inline-block;
    background: linear-gradient(to right, #1d4db5, #113670);
    color: #fff;
    padding: 14px 35px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(29,77,181,0.3);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}
.btn-submit:hover {
    box-shadow: 0 8px 20px rgba(29,77,181,0.4);
    transform: translateY(-2px);
    background: linear-gradient(to right, #113670, #0c2d61);
}

@media (max-width: 768px) {
    .partner-container {
        flex-direction: column;
    }
}
