/* ===== SELL PROPERTY PAGE STYLES ===== */

/* ===== HERO SECTION ===== */
.sell-hero {
    position: relative;
    height: 70vh;
    max-height: 700px;
    display: flex;
    align-items: center;
    background: url('../images/bile.png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.sell-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 41, 66, 0.85), rgba(15, 41, 66, 0.95));
    z-index: 1;
}

.sell-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.sell-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sell-hero-title span {
    color: var(--primary-gold);
    display: inline-block;
}

.sell-hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-blue);
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.5);
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 80px 0;
    background-color: var(--white);
}

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

.benefit-card {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    border-radius: 15px;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.benefit-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--medium-blue), var(--primary-gold));
    opacity: 0;
    transition: all 0.3s ease;
}

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

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(15, 41, 66, 0.2);
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.benefit-description {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') center/300px repeat;
    opacity: 0.05;
    z-index: 1;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.process-steps {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--medium-blue));
    z-index: 1;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(15, 41, 66, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.step-content {
    margin-top: 20px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.step-description {
    color: var(--medium-gray);
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
    font-size: 15px;
}

/* ===== FORM SECTION ===== */
.sell-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white), var(--light-gray));
}

.sell-form-container {
    display: flex;
    align-items: stretch;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.sell-form-content {
    flex: 1;
    padding: 50px;
}

.form-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 30px;
}

.sell-form {
    margin-top: 20px;
}

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

.form-group {
    flex: 1;
    min-width: 0; /* Prevent overflow on small screens */
}

.form-group.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.sell-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 14px;
}

.required {
    color: #e74c3c;
    margin-right: 4px;
}

.sell-form input[type="text"],
.sell-form input[type="tel"],
.sell-form input[type="email"],
.sell-form input[type="number"],
.sell-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.sell-form input:focus,
.sell-form textarea:focus {
    border-color: var(--medium-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 99, 132, 0.1);
    background-color: white;
}

.sell-form textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-wrapper {
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--dark-gray);
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    transition: all 0.2s;
}

.checkbox-label:hover .checkmark {
    background-color: #e9e9e9;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--medium-blue);
    border-color: var(--medium-blue);
}

.checkbox-label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(15, 41, 66, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 41, 66, 0.3);
}

.sell-form-image {
    flex: 0 0 40%;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(15, 41, 66, 0.8);
    backdrop-filter: blur(5px);
    color: var(--white);
    z-index: 2;
}

.stats-card {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}

.stat {
    text-align: center;
    padding: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

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

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--medium-blue), var(--primary-gold));
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background-color: var(--medium-blue);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background-color: var(--white);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: var(--medium-gray);
}


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

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

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .benefits-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .sell-form-container {
        flex-direction: column;
    }
    
    .sell-form-image {
        flex: 0 0 300px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-step {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: right;
    }
    
    .step-number {
        margin: 0 20px 0 0;
    }
    
    .step-content {
        margin-top: 0;
    }
    
    .step-description {
        margin: 0;
    }
}

@media (max-width: 991px) {
    .sell-hero {
        height: 60vh;
    }
    
    .sell-hero-title {
        font-size: 36px;
    }
    
    .sell-hero-subtitle {
        font-size: 18px;
    }
    
    .benefits-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .sell-form-content {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .sell-hero {
        height: auto;
        padding: 100px 0;
    }
    
    .sell-hero-title {
        font-size: 28px;
    }
    
    .sell-hero-subtitle {
        font-size: 16px;
    }
    
    .hero-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    .benefits-section, 
    .process-section,
    .sell-form-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        max-width: 100%;
    }
    
    .sell-form-content {
        padding: 20px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
    
    .step-content {
        margin-top: 15px;
    }
    
    .step-description {
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .sell-hero-title {
        font-size: 24px;
    }
    
    .sell-hero-subtitle {
        font-size: 14px;
    }
    
    .benefit-card {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin: 0 0 15px 0;
    }
    
    .benefit-title {
        text-align: center;
    }
    
    .benefit-description {
        text-align: center;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 14px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-answer {
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }
    
    .faq-question h3 {
        font-size: 15px;
        line-height: 1.4;
    }
}