/**
 * How Tinidazole Works Page - Enhanced Styles
 * Educational content with step-by-step process visualization
 */

/* Banner Area */
.banner-area.bg-color {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    padding: 80px 0;
}

.banner-area .banner-text h1 {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-area .banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
}

/* Mechanism Area */
.mechanism-area {
    background: white;
    padding: 80px 0;
}

.mechanism-area .section-title h2 {
    color: #333;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.mechanism-area .section-title p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.mechanism-content {
    padding-right: 30px;
}

.mechanism-content h3 {
    color: #0066cc;
    font-size: 24px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    line-height: 1.3;
}

.mechanism-content h3:first-child {
    margin-top: 0;
}

.mechanism-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.mechanism-image {
    text-align: center;
}

.mechanism-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Steps Container */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #0066cc;
    display: flex;
    gap: 20px;
}

.step-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.step-content {
    flex-grow: 1;
}

.step-content h4 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.step-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Timeline Area */
.timeline-area {
    background: #f8f9fa;
    padding: 80px 0;
}

.timeline-area .section-title h2 {
    color: #333;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.timeline-area .section-title p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.timeline-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #0066cc;
    height: 100%;
}

.timeline-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.timeline-box h4 {
    color: #0066cc;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.timeline-box p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px 0;
}

.timeline-box p:last-child {
    margin-bottom: 0;
}

.timeline-box strong {
    color: #333;
    font-weight: 600;
}

/* Effectiveness Area */
.effectiveness-area {
    background: white;
    padding: 80px 0;
}

.effectiveness-area .section-title h2 {
    color: #333;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.effectiveness-area .section-title p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.advantage-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f1ff 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #0066cc;
    margin-bottom: 30px;
}

.advantage-box:hover {
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
    transform: translateY(-4px);
}

.advantage-box i {
    font-size: 40px;
    color: #0066cc;
    margin-bottom: 15px;
    display: block;
}

.advantage-box h3 {
    color: #0066cc;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.advantage-box p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Factors Area */
.factors-area {
    background: #f8f9fa;
    padding: 80px 0;
}

.factors-area .section-title h2 {
    color: #333;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.factor-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.factor-box h3 {
    color: #0066cc;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.factor-box .list-style-one {
    list-style: none;
    padding: 0;
    margin: 0;
}

.factor-box .list-style-one li {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.factor-box .list-style-one li:last-child {
    margin-bottom: 0;
}

.factor-box .list-style-one li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: 700;
    font-size: 16px;
}

/* Utility Classes */
.mb-50 {
    margin-bottom: 50px;
}

.ptb-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.bg-light {
    background: #f8f9fa;
}

.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .banner-area .banner-text h1 {
        font-size: 40px;
    }

    .mechanism-area .section-title h2 {
        font-size: 36px;
    }

    .mechanism-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .mechanism-content h3 {
        font-size: 22px;
    }

    .steps-container {
        gap: 25px;
    }

    .step-item {
        padding: 25px;
    }

    .step-number {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .step-content h4 {
        font-size: 17px;
    }

    .advantage-box {
        padding: 25px;
    }

    .advantage-box i {
        font-size: 36px;
    }

    .advantage-box h3 {
        font-size: 18px;
    }

    .factor-box {
        padding: 25px;
    }

    .factor-box h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .banner-area {
        padding: 50px 0;
    }

    .banner-area .banner-text h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .banner-area .banner-text p {
        font-size: 16px;
    }

    .mechanism-area {
        padding: 60px 0;
    }

    .mechanism-area .section-title h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .mechanism-area .section-title p {
        font-size: 15px;
    }

    .mechanism-content h3 {
        font-size: 20px;
        margin: 20px 0 12px 0;
    }

    .mechanism-content p {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .mechanism-image {
        margin-top: 30px;
    }

    .mechanism-image img {
        border-radius: 10px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .step-item {
        padding: 20px;
        gap: 15px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .step-content h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 14px;
    }

    .timeline-area {
        padding: 60px 0;
    }

    .timeline-area .section-title h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .timeline-area .section-title p {
        font-size: 15px;
    }

    .timeline-box {
        padding: 25px;
        margin-bottom: 25px;
    }

    .timeline-box h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .timeline-box p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .effectiveness-area {
        padding: 60px 0;
    }

    .effectiveness-area .section-title h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .effectiveness-area .section-title p {
        font-size: 15px;
    }

    .advantage-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .advantage-box i {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .advantage-box h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .advantage-box p {
        font-size: 14px;
    }

    .factors-area {
        padding: 60px 0;
    }

    .factors-area .section-title h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .factor-box {
        padding: 20px;
        margin-bottom: 20px;
    }

    .factor-box h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .factor-box .list-style-one li {
        font-size: 14px;
        padding-left: 26px;
        margin-bottom: 10px;
    }

    .mb-50 {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .banner-area {
        padding: 40px 0;
    }

    .banner-area .banner-text h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .banner-area .banner-text p {
        font-size: 14px;
    }

    .mechanism-area {
        padding: 40px 0;
    }

    .mechanism-area .section-title h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .mechanism-area .section-title p {
        font-size: 14px;
    }

    .mechanism-content h3 {
        font-size: 18px;
        margin: 18px 0 10px 0;
    }

    .mechanism-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .steps-container {
        gap: 15px;
        margin-top: 30px;
    }

    .step-item {
        padding: 18px;
        gap: 12px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .step-content h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .step-content p {
        font-size: 13px;
        line-height: 1.6;
    }

    .timeline-area {
        padding: 40px 0;
    }

    .timeline-area .section-title h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .timeline-area .section-title p {
        font-size: 14px;
    }

    .timeline-box {
        padding: 18px;
        margin-bottom: 18px;
        border-left-width: 3px;
    }

    .timeline-box h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .timeline-box p {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.6;
    }

    .effectiveness-area {
        padding: 40px 0;
    }

    .effectiveness-area .section-title h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .effectiveness-area .section-title p {
        font-size: 14px;
    }

    .advantage-box {
        padding: 18px;
        margin-bottom: 18px;
        border-width: 1px;
    }

    .advantage-box i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .advantage-box h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .advantage-box p {
        font-size: 13px;
        line-height: 1.6;
    }

    .factors-area {
        padding: 40px 0;
    }

    .factors-area .section-title h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .factor-box {
        padding: 18px;
        margin-bottom: 18px;
    }

    .factor-box h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .factor-box .list-style-one li {
        font-size: 13px;
        padding-left: 24px;
        margin-bottom: 8px;
        line-height: 1.6;
    }

    .factor-box .list-style-one li::before {
        font-size: 14px;
    }

    .mb-50 {
        margin-bottom: 20px;
    }
}
