/* How It Works Page Styles */

/* Hero Section */
.how-it-works-hero {
    background-color: var(--secondary-color);
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/home-hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
}

.how-it-works-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.how-it-works-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Tabs Navigation */
.process-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.process-tab-btn {
    padding: 15px 40px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.process-tab-btn.active,
.process-tab-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Process Steps */
.process-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.process-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.step-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.step-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.step-card h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Feature Section */
.features-section {
    background: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 80px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-content h2 {
    font-size: 2rem;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.feature-content p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Check List Styles */
.check-list {
    list-style: none !important; /* Removes the dots */
    padding-left: 0 !important; /* Remove default padding */
    margin-left: 0 !important; /* Remove default margin */
    margin-top: 20px;
}

.check-list li {
    list-style-type: none !important; /* Double check for li items */
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--heading-color);
    display: flex;
    align-items: center;
}

/* Ensure no pseudo-element bullets interfere */
.check-list li::before {
    content: none !important;
    display: none !important;
}

.check-list li i {
    margin-right: 15px;
    color: #28a745; /* Success color */
    min-width: 20px;
    text-align: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--secondary-color);
    color: #fff;
    padding: 80px 0;
    border-radius: 12px;
    margin-bottom: 80px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .how-it-works-hero h1 {
        font-size: 2.2rem;
    }
    
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .process-tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
