/* Home Page Specific Styles */
body {
    padding-top: 40px;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2C5282 0%, #2B6CB0 100%);
    padding: 80px 0;
    margin: 0;
    width: 100%;
    color: white;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #F56565;
    color: white;
}

.btn-primary:hover {
    background: #E53E3E;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2C5282;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2C5282;
    color: #2C5282;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2C5282;
    color: white;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #F56565;
}

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

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #4A5568;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border-top: 4px solid #F56565;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.service-icon img {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2C5282;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card p {
    color: #4A5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: #4A5568;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F56565;
    font-weight: bold;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Recent Articles Section */
.recent-articles {
    padding: 100px 0;
    background: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.article-card.featured {
    grid-column: span 2;
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-card.featured .article-image {
    height: 300px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #F56565;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-content {
    padding: 24px;
}

.article-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.4;
}

.article-card.featured .article-content h3 {
    font-size: 1.5rem;
}

.article-content h3 a {
    color: #2C5282;
    text-decoration: none;
}

.article-content h3 a:hover {
    color: #F56565;
}

.article-content p {
    color: #4A5568;
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 0.9rem;
}

.view-all-articles {
    text-align: center;
    margin-top: 40px;
}

/* Methodology Section */
.methodology {
    padding: 100px 0;
    background: #f8f9fa;
}

.methodology-steps {
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
}

.step-number {
    background: #2C5282;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2C5282;
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 600;
}

.step-content p {
    color: #4A5568;
    line-height: 1.6;
}

/* ROI Calculator Section */
.roi-calculator {
    padding: 100px 0;
    background: linear-gradient(135deg, #2C5282 0%, #2B6CB0 100%);
    color: white;
}

.calculator-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.calculator-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.calculator-info p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.benefit-icon {
    font-size: 1.5rem;
}

.calculator-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    color: #2C5282;
}

.calculator-form h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2C5282;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2C5282;
}

.calculator-form .btn-primary {
    width: 100%;
    margin-top: 20px;
}

.roi-results {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
}

.result-value {
    color: #F56565;
    font-weight: 700;
}

/* Newsletter Section */
.newsletter {
    padding: 100px 0;
    background: #f8f9fa;
}

.newsletter-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    color: #2C5282;
    margin-bottom: 20px;
    font-weight: 700;
}

.newsletter-text p {
    font-size: 1.2rem;
    color: #4A5568;
    margin-bottom: 30px;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-benefits .benefit {
    color: #4A5568;
    font-weight: 500;
}

.newsletter-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.newsletter-form h3 {
    margin-bottom: 24px;
    color: #2C5282;
    font-size: 1.8rem;
    font-weight: 600;
}

.newsletter-form .form-group {
    display: flex;
    gap: 12px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #2C5282;
}

.newsletter-form .btn-primary {
    white-space: nowrap;
}

.form-note {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 12px;
}

.newsletter-message {
    padding: 12px;
    border-radius: 6px;
    margin-top: 16px;
    text-align: center;
}

.newsletter-message.success {
    background: #C6F6D5;
    color: #22543D;
    border: 1px solid #9AE6B4;
}

.newsletter-message.error {
    background: #FED7D7;
    color: #742A2A;
    border: 1px solid #FC8181;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.faq-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #F56565;
}

.faq-item h3 {
    color: #2C5282;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
}

.faq-item p {
    color: #4A5568;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .stat {
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card.featured {
        grid-column: span 1;
    }
    
    .calculator-content,
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .calculator-info h2,
    .newsletter-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services,
    .recent-articles,
    .methodology,
    .roi-calculator,
    .newsletter,
    .faq {
        padding: 60px 0;
    }
    
    .service-card,
    .calculator-form,
    .newsletter-form {
        padding: 24px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.responsive-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    .responsive-table {
        min-width: auto;
        display: block;
        white-space: nowrap;
    }
    
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
    }
    
    .responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .responsive-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        padding: 10px;
    }
    
    .responsive-table td {
        border: none;
        position: relative;
        padding-left: 50% !important;
        text-align: left;
        white-space: normal;
    }
    
    .responsive-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        text-align: left;
        font-weight: bold;
    }
}