/* Styles for Open Account (contact) page */

.open-account-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;
}
.open-account-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;
}

.open-account-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Split Section */
.open-account-split-section {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

/* Left Section: Info and Buttons */
.open-account-info-section {
    flex: 1;
    min-width: 350px;
}
.open-account-info-section h2 {
    color: #113670;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}
.open-account-info-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #fceb5d;
    border-radius: 2px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
    font-weight: 500;
}
.benefits-list li i {
    color: #1dd2b0;
    font-size: 18px;
    margin-right: 15px;
    background: rgba(29, 210, 176, 0.1);
    padding: 8px;
    border-radius: 50%;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.quick-links-grid .full-width {
    grid-column: 1 / -1;
}
.btn-quick-link {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
    color: #113670;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.btn-quick-link:hover {
    background-color: #1dd2b0;
    color: #fff;
    border-color: #1dd2b0;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(29,210,176,0.2);
}

/* Right Section: Form */
.open-account-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 #fceb5d;
    position: relative;
}
.open-account-form-section h3 {
    color: #333;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 800;
}
.open-account-form-section p.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}
.form-group {
    margin-bottom: 20px;
}
.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;
    background-color: #fcfcfc;
}
.form-control:focus {
    outline: none;
    border-color: #113670;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(17, 54, 112, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}
.form-row .form-group {
    flex: 1;
}

.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) {
    .open-account-header {
        padding: 60px 20px;
    }
    .open-account-header h1 {
        font-size: 28px;
    }
    .open-account-container {
        padding: 30px 15px;
    }
    .open-account-split-section {
        flex-direction: column;
        gap: 30px;
    }
    .open-account-info-section, .open-account-form-section {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .open-account-info-section h2 {
        font-size: 24px;
    }
    .open-account-form-section {
        padding: 25px 20px;
    }
    .open-account-form-section h3 {
        font-size: 22px;
    }
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
