/* Modern Pages Stylesheet - Shared across Services & Projects */

:root {
    --primary-color: #8B1538;
    --primary-dark: #6B0F2B;
    --primary-light: #A31D45;
    --secondary-color: #0060ff;
    --dark-gray: #2d3748;
    --medium-gray: #4a5568;
    --light-gray: #718096;
    --bg-light: #f7fafc;
    --bg-lighter: #edf2f7;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
}

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(/images/background/pattern-16.png);
    opacity: 0.08;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
}

.modern-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.modern-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 25px;
    margin: 5px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

/* Content Section Styles */
.content-section {
    padding: 80px 0;
}

.content-section.bg-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Modern Feature Cards */
.feature-card-modern {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.feature-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: white;
}

.feature-title-modern {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.feature-desc-modern {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list-modern {
    list-style: none;
    padding: 0;
}

.feature-list-modern li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.feature-list-modern li:before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Content Cards */
.content-card-modern {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.content-card-modern:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.content-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.content-card-body {
    padding: 30px;
}

.content-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.content-card-text {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Tech Stack / Integration Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tech-name {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
}

/* Benefits / Features Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.benefit-text {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Process Steps */
.process-steps {
    position: relative;
    padding: 40px 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.step-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin: 0;
}

/* Stats Banner */
.stats-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section-modern {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a202c 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.4);
    background: var(--primary-light);
    color: white;
    text-decoration: none;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Sidebar Styles */
.modern-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-gray);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 12px;
}

.sidebar-list li a {
    display: block;
    padding: 12px 15px;
    color: var(--medium-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-list li a:hover,
.sidebar-list li.active a {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateX(5px);
}

/* Accordion Styles */
.modern-accordion .accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.modern-accordion .accordion-button {
    background: white;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 20px 30px;
    border: none;
}

.modern-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: none;
}

.modern-accordion .accordion-body {
    padding: 25px 30px;
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-hero-title {
        font-size: 2rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-right: 20px;
    }
    
    .benefits-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .content-section {
        padding: 60px 0;
    }
    
    .modern-sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}
