/* assets/css/join-investor-style.css */
:root {
    --primary-navy: #3A4B5C;
    --secondary-gold: #FFC107;
    --light-gray: #F5F5F5;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --border-color: #E5E5E5;
    --success-green: #28A745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
	font-weight:900!important
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-gray);
}

/* Main wrapper styling */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('../images/680137b2fb5b5ef20f468626.png') center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
}
.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
	color:#fff;
}

/* Form Section */
.form-section {
    padding: 80px 0;
  
}

.investor-form-card {
    background: var(--white);
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.form-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0 auto;
}

/* Form Styling */
.investor-form {
   
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.95rem;
    padding: 15px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Select Dropdown Styling */
.form-select {
    background-image: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 45px;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    font-size: 0.8rem;
    margin-top: 12px;
}

/* Submit Button */
.btn-submit {
    background-color: var(--secondary-gold);
    color: var(--text-dark);
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #E0A800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background-color: var(--border-color);
    color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Validation States */
.form-control.is-valid {
    border-color: var(--success-green);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.8.8 3.42-3.42-.8-.8-2.62 2.62-1.18-1.18-.8.8z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4 1.4-1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

.invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 5px;
    display: block;
}

.valid-feedback {
    font-size: 0.85rem;
    color: var(--success-green);
    margin-top: 5px;
    display: block;
}

/* Loading State */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-light);
    border-top: 2px solid var(--text-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

/* Modal Styling */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
    padding: 20px 25px;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-body {
    padding: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 25px;
}

.btn-primary {
    background-color: var(--secondary-gold);
    border-color: var(--secondary-gold);
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: #E0A800;
    border-color: #E0A800;
    color: var(--text-dark);
}

/* Animations */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 991px) {
    .form-section {
        padding: 60px 0;
    }
    
    .investor-form-card {
        padding: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-section {
        padding: 40px 0;
    }
    
    .investor-form-card {
        padding: 30px;
        margin: 0 10px;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .form-description {
        font-size: 0.95rem;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .btn-submit {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .select-arrow {
        right: 12px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .investor-form-card {
        padding: 25px;
        margin: 0 5px;
    }
    
    .form-title {
        font-size: 1.4rem;
    }
    
    .form-description {
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    .btn-submit {
        padding: 10px 25px;
    }
    
    .modal-body {
        padding: 20px;
        font-size: 0.9rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 15px 20px;
    }
}