/* SINTALIS - Index Page Specific Styles */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background:
        linear-gradient(135deg, rgba(3, 54, 109, 0.95) 0%, rgba(3, 54, 109, 0.85) 100%),
        url('../images/hero-bg.png') center center / cover no-repeat;
    color: var(--text-white);
    padding: 12rem 0;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(212, 175, 55, 0.03) 50px,
        rgba(212, 175, 55, 0.03) 51px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    color: var(--text-white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    color: var(--text-white);
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions-section {
    background: var(--bg-light);
}

/* Solution Tabs */
.solution-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2.5rem;
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.service-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    border-top: 3px solid var(--gold);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--primary-color) 100%);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

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

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(20%) brightness(1.1);
    transition: all var(--transition-speed);
}

.service-card:hover .service-icon img {
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.375rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-speed);
    position: relative;
    overflow: visible;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.pricing-card.popular {
    border-color: var(--gold);
    border-width: 3px;
    box-shadow: var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-description {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-description p {
    color: var(--text-light);
    font-size: 1rem;
}

.pricing-body {
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-light);
}

.pricing-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-footer .btn {
    width: 100%;
}

/* ============================================
   WHY CHOOSE SECTION - PHOTO BACKGROUND DESIGN
   ============================================ */
.why-choose-section {
    background: var(--bg-white);
}

.features-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-speed);
    position: relative;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(3, 54, 109, 0.3);
}

.feature-card-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    overflow: hidden;
}

.feature-icon-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(3, 54, 109, 0.3) 0%,
        rgba(3, 54, 109, 0.7) 60%,
        rgba(3, 54, 109, 0.95) 100%
    );
    z-index: 1;
    transition: all var(--transition-speed);
}

.feature-card:hover .feature-icon-wrapper::before {
    background: linear-gradient(180deg,
        rgba(3, 54, 109, 0.2) 0%,
        rgba(3, 54, 109, 0.6) 60%,
        rgba(3, 54, 109, 0.9) 100%
    );
}

.feature-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon-wrapper img {
    transform: scale(1.08);
}

.feature-badge {
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.15;
    line-height: 1;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    z-index: 2;
    transition: all var(--transition-speed);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.feature-card:hover .feature-badge {
    opacity: 0.25;
    transform: scale(1.05);
}

.feature-card-body {
    padding: var(--spacing-md) var(--spacing-md) calc(var(--spacing-md) * 1.5);
    position: relative;
    z-index: 2;
}

.feature-card-body h3 {
    font-size: 1.75rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-card-body p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   METRICS SECTION
   ============================================ */
.metrics-section {
    background: var(--primary-color);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.metrics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}

.metrics-section .section-header h2,
.metrics-section .section-header p {
    color: var(--text-white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.metric-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all var(--transition-speed);
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-light);
    display: block;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   PARTNER SECTION
   ============================================ */
.partner-section {
    background: var(--bg-white);
    padding: var(--spacing-lg) 0;
    overflow: hidden;
}

.logo-slider-container {
    margin-top: var(--spacing-md);
}

.logo-slider {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track-content {
    display: flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all var(--transition-speed);
    width: 200px;
    min-width: 200px;
    padding: 0 20px;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.client-logo img {
    height: 60px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-speed);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    background:
        linear-gradient(135deg,
            rgba(3, 54, 109, 0.92) 0%,
            rgba(3, 54, 109, 0.88) 100%
        ),
        url('../images/cta-background.jpg') center center / cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
    z-index: 2;
}

.final-cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(212, 175, 55, 0.02) 50px,
            rgba(212, 175, 55, 0.02) 51px
        );
    pointer-events: none;
    z-index: 1;
}

.final-cta-section .section-header {
    position: relative;
    z-index: 3;
    margin-bottom: 3rem;
}

.final-cta-section .section-header h2 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1.2;
}

.final-cta-section .section-header p {
    color: var(--text-white);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta-section .cta-buttons {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content .subtitle {
        font-size: 1.125rem;
    }

    .hero {
        padding: var(--spacing-lg) 0;
        min-height: 500px;
    }

    .popular-badge {
        font-size: 0.75rem;
        padding: 0.4rem 2.5rem;
    }

    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-icon {
        width: 70px;
        height: 70px;
    }

    /* Final CTA Section - Mobile */
    .final-cta-section .section-header h2 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .final-cta-section .section-header p {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .final-cta-section .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .final-cta-section .cta-buttons .btn {
        width: 100%;
        max-width: 350px;
    }

    /* Why Choose Section - Tablet */
    .features-modern-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .feature-card {
        min-height: 350px;
    }

    .feature-badge {
        font-size: 4rem;
        right: 1rem;
        top: 1rem;
    }

    .feature-card-body h3 {
        font-size: 1.5rem;
    }

    .feature-card-body p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    .feature-number {
        font-size: 2rem;
    }

    .tab-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-card h3 {
        font-size: 1.125rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Why Choose Section - Mobile */
    .feature-card {
        min-height: 300px;
    }

    .feature-badge {
        font-size: 3rem;
        right: 0.75rem;
        top: 0.75rem;
    }

    .feature-card-body {
        padding: var(--spacing-sm);
    }

    .feature-card-body h3 {
        font-size: 1.25rem;
    }

    .feature-card-body p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}
