/* ========================================
   CLEAN HOW IT WORKS PAGE STYLES
   ======================================== */


/* Banner Section */
.banner {
    max-height: 420px;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url(../source/how-background.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 4px solid rgba(235,89,95,0.8);

}

.content {
    width: 100%;
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
}

.content h1 {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

/* Main Container */
.m1, .m3, .m5 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}


/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Step Container */
.step-container {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step-container.reverse {
    flex-direction: row-reverse;
}

.step-container:last-child {
    margin-bottom: 0;
}

/* Step Number */
.step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: #eb595f;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(235, 89, 95, 0.4);
}

.step-container.reverse .step-number {
    left: auto;
    right: 20px;
}

/* Step Content */
.step-content {
    display: flex;
    width: 100%;
    min-height: 400px;
}

.step-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.step-container:hover .step-image img {
    transform: scale(1.05);
}

.step-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-info h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.detail-item {
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 3px solid #eb595f;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item h3 {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 10px;
    font-weight: 600;
}

.detail-item p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* CTA Button */
.cta-button {
    font-size: 17px;
    width: 200px;
    padding: 12px 0;
    text-align: center;
    margin-top: 20px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #eb595f;
    background: transparent;
    color: #eb595f;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.cta-button:hover {
    background: #eb595f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(235, 89, 95, 0.3);
}

.cta-button.primary {
    font-size: 25px;
    width: 200px;
    padding: 4px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #eb595f;
    background: transparent;
    color: black;
    cursor: pointer;
    position: relative;
}

.cta-button.primary:hover {
    background-color: #eb595f;
    color: white;
}

/* Milestone Sections */
.milestone-section {
    background: #41303e;
    padding: 40px 20px;
    text-align: center;
    margin: 60px 0;
}

.milestone-section.final {
    background: #41303e;
}

.milestone-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 20px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.milestone-badge i {
    font-size: 2rem;
    color: white;
}

.milestone-badge span {
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
}

/* Team Section */
.team-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #eb595f;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-info p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    position: relative;
    background-image: url('../source/bk.jpg');
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-size: cover;
    height: 400px;
}

.cta-content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.cta-content h1 {
    font-size: 35px;
    color: black;
    margin-bottom: 30px;
    font-weight: 600;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .banner {
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .content h1 {
        font-size: 28px;
        line-height: 1.2;
    }
      .section-header h1 {
        font-size: 28px;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .step-container {
        flex-direction: column !important;
        margin-bottom: 40px;
    }
    
    .step-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .step-image {
        height: 250px;
    }
    
    .step-number {
        top: 10px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-info {
        padding: 30px 20px;
    }
      .step-info h2 {
        font-size: 24px;
        text-align: center;
    }
    
    .detail-item {
        padding: 15px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-image {
        width: 100px;
        height: 100px;
    }
      .cta-content h1 {
        font-size: 28px;
    }
    
    .m1, .m3, .m5 {
        padding: 60px 15px;
    }
    
    .milestone-section {
        margin: 40px 0;
        padding: 30px 15px;
    }
    
    .milestone-badge {
        flex-direction: column;
        gap: 10px;
        padding: 20px 30px;
    }
    
    .milestone-badge span {
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 28px;
    }
    
    .section-header h1 {
        font-size: 28px;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .step-info h2 {
        font-size: 22px;
    }
    
    .detail-item h3 {
        font-size: 18px;
    }
    
    .cta-content h1 {
        font-size: 28px;
    }
    
    .cta-button.primary {
        padding: 10px 25px;
        font-size: 18px;
    }
}