/* Shared Advantages Subpage Styles */

/* Page Header with Hero Image */
.advantage-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    margin-top: 60px;
    overflow: hidden;
}

.advantage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.85) 0%, rgba(28, 40, 52, 0.9) 100%);
    z-index: 1;
}

.advantage-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 40px;
}

.advantage-hero h1 {
    font-size: 56px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.advantage-hero .hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Stats Bar */
.stats-bar {
    background: #1c2834;
    padding: 40px 0;
}

.stats-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 16px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
.advantage-section {
    padding: 100px 0;
}

.advantage-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-section.alt-bg {
    background-color: #f8f9fa;
}

.advantage-section.dark-bg {
    background: linear-gradient(135deg, #1c2834 0%, #2d4156 100%);
    color: #fff;
}

/* Section Headers */
.section-label {
    color: #0071e3;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.dark-bg .section-label {
    color: #4da3ff;
}

.section-title {
    font-size: 42px;
    font-weight: 500;
    color: #242424;
    margin-bottom: 24px;
    line-height: 1.2;
}

.dark-bg .section-title {
    color: #fff;
}

.section-description {
    font-size: 18px;
    line-height: 1.7;
    color: #515154;
    max-width: 800px;
}

.dark-bg .section-description {
    color: rgba(255, 255, 255, 0.85);
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.column-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.column-image:hover img {
    transform: scale(1.03);
}

.column-content h2 {
    font-size: 36px;
    font-weight: 500;
    color: #242424;
    margin-bottom: 20px;
}

.dark-bg .column-content h2 {
    color: #fff;
}

.column-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #515154;
    margin-bottom: 24px;
}

.dark-bg .column-content p {
    color: rgba(255, 255, 255, 0.85);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    font-size: 16px;
    color: #515154;
}

.dark-bg .feature-list li {
    color: rgba(255, 255, 255, 0.85);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: bold;
    font-size: 18px;
}

.dark-bg .feature-list li::before {
    color: #4da3ff;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.dark-bg .feature-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0071e3 0%, #4da3ff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card .icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 500;
    color: #242424;
    margin-bottom: 16px;
}

.dark-bg .feature-card h3 {
    color: #fff;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #515154;
    margin: 0;
}

.dark-bg .feature-card p {
    color: rgba(255, 255, 255, 0.75);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0071e3, #4da3ff);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 24px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0071e3;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #515154;
    margin: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #0071e3;
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.4);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #0071e3 0%, #4da3ff 100%);
    border-radius: 20px;
    padding: 50px;
    color: #fff;
    margin-top: 60px;
}

.highlight-box h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.highlight-box p {
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.95;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1c2834 0%, #0071e3 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #0071e3;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Industry Cards */
.industry-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.industry-card {
    background: #fff;
    padding: 30px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #0071e3;
}

.industry-card .icon {
    width: 50px;
    height: 50px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.industry-card .icon svg {
    width: 24px;
    height: 24px;
    fill: #0071e3;
}

.industry-card h4 {
    font-size: 16px;
    font-weight: 500;
    color: #242424;
    margin: 0;
}

/* Tech Stack Section */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.tech-tag {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    color: #0071e3;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #d0e3ff;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #0071e3;
    color: #fff;
    border-color: #0071e3;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .two-column.reverse {
        direction: ltr;
    }
    
    .advantage-hero h1 {
        font-size: 42px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .advantage-hero {
        min-height: 400px;
    }
    
    .advantage-hero h1 {
        font-size: 32px;
    }
    
    .advantage-hero .hero-subtitle {
        font-size: 18px;
    }
    
    .advantage-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-cards {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .highlight-box {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        justify-content: center;
    }
}
