/* Client Connect Page Styles */
:root {
    --primary-color: #1a5f9c;
    --secondary-color: #4caf50;
    --accent-color: #8d6e63;
    --dark-color: #333;
    --light-color: #f9f9f9;
    --text-color: #444;
    --white: #fff;
    --black: #000;
    --gray: #eee;
    --dark-gray: #777;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

/* Client Hero Section */
.client-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/client-hero-bg.jpg') no-repeat center center/cover;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.client-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.client-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.client-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.client-hero .btn-primary {
    margin-right: 15px;
}

/* Partnership Benefits */

.partnership-benefits {
    opacity: 1 !important;
    animation: none !important;
}

.partnership-benefits {
    padding: 80px 0;
    background-color: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2rem; /* Makes ₹ larger */
    font-weight: bold; /* Optional: makes it bolder */
    margin-bottom: 10px; /* Adds spacing below */
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(26, 95, 156, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Partnership Process */
.partnership-process {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--gray);
    z-index: 1;
}

.process-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 200px;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    font-weight: bold;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Current Partners */
.current-partners {
    padding: 80px 0;
    background-color: var(--light-color);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.logo-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Partnership Form */
.partnership-form {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.form-container {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

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

.form-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--dark-gray);
}

#partnerForm .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#partnerForm .form-row .form-group {
    flex: 1;
}

#partnerForm .form-group {
    margin-bottom: 20px;
}

#partnerForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

#partnerForm input,
#partnerForm select,
#partnerForm textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#partnerForm input:focus,
#partnerForm select:focus,
#partnerForm textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

#partnerForm textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

#formStatus {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    text-align: center;
}

#formStatus.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    display: block;
}

#formStatus.error {
    background-color: #ffebee;
    color: #c62828;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background-color: var(--light-color);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e6f0f8;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .client-hero h1 {
        font-size: 2.8rem;
    }
    
    .process-steps {
        gap: 20px;
    }
    
    .process-card {
        width: 180px;
    }
}

@media (max-width: 992px) {
    .client-hero {
        height: 60vh;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-card {
        width: 100%;
        max-width: 400px;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .partner-logos {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .client-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .client-hero h1 {
        font-size: 2.2rem;
    }
    
    .client-hero p {
        font-size: 1.1rem;
    }
    
    .client-hero .btn-primary,
    .client-hero .btn-secondary {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    #partnerForm .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .client-hero h1 {
        font-size: 1.8rem;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    .logo-item img {
        height: 40px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.partnership-benefits,
.partnership-process,
.current-partners,
.partnership-form,
.faq-section {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.partnership-process {
    animation-delay: 0.2s;
}

.current-partners {
    animation-delay: 0.4s;
}

.partnership-form {
    animation-delay: 0.6s;
}

.faq-section {
    animation-delay: 0.8s;
}

/* Form Validation Styles */
.invalid {
    border-color: #c62828 !important;
}

.error-message {
    display: none;
    color: #c62828;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}