/* Additional Styles for New Pages */

/* Inner Hero for Non-Homepage Pages */
.hero-inner {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    text-align: center;
}

.hero-inner h1 {
    margin-bottom: 1rem;
}

.hero-inner .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-badges .badge {
    background-color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.hero-badges .badge i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo span {
    color: var(--primary-color);
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
    background-color: white;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-text h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-text li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.contact-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Portfolio Category */
.portfolio-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.portfolio-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-stats i {
    color: var(--secondary-color);
}

.btn-white-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Process Section for Portfolio */
.process-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.process-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.process-step i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step h3 {
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-light);
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 2rem;
}

.process-timeline .process-step {
    flex: 1;
    position: relative;
}

.process-timeline .process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-color);
}

/* Services Detail Grid */
.services-detail-section {
    padding: 4rem 0;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-detail-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-detail-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail-card h3 {
    margin-bottom: 1rem;
}

.service-detail-card ul {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.service-detail-card li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Results Section */
.results-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.stat-item {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

/* Case Study Preview */
.case-study-preview {
    background-color: white;
    padding: 4rem 0;
}

.case-study-text {
    max-width: 900px;
    margin: 0 auto;
}

.case-study-text h3 {
    margin-bottom: 1rem;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.case-study-results .result-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.case-study-results .result-item strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Featured Resource */
.featured-resource {
    background-color: white;
    padding: 4rem 0;
}

.featured-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

.featured-content {
    display: flex;
    gap: 2rem;
}

.featured-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.featured-text h2 {
    margin-bottom: 1rem;
}

.resource-image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Resource Type Badge */
.resource-type {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background-color: var(--primary-color);
    color: white;
}

.resource-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Download Form */
.download-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-form input {
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.download-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.modal-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.modal-body h2 {
    margin-bottom: 1rem;
}

/* Newsletter Card */
.newsletter-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.newsletter-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.newsletter-card h2 {
    color: white;
    margin-bottom: 1rem;
}

/* Resource Filter */
.resource-filter {
    background-color: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Portfolio Overlay Content */
.portfolio-overlay-content h3 {
    margin-bottom: 0.5rem;
}

.portfolio-overlay-content p {
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .process-timeline {
        flex-direction: column;
    }
    
    .process-timeline .process-step::after {
        content: '↓';
        right: auto;
        left: 50%;
        top: auto;
        bottom: -2.5rem;
        transform: translateX(-50%);
    }
    
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        padding: 60px 0 40px;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-results {
        grid-template-columns: 1fr;
    }
}
