/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h2 {
    font-size: 2rem;
    color: #34495e;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #2c3e50;
}

h4 {
    font-size: 1.25rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Links */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Buttons */
.btn-primary, .cta-button, .submit-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover, .cta-button:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
    color: white;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #3498db;
    padding: 12px 30px;
    border: 2px solid #3498db;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

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

.nav-brand h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
}

.nav-brand a {
    color: #2c3e50;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #2c3e50;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

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

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    background: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #777;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.blog-card h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: #3498db;
}

.read-more {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-align: center;
}

.newsletter h2, .newsletter p {
    color: white;
}

.subscription-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 2rem auto 0;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.form-group input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.submit-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.submit-btn:hover {
    background: white;
    color: #3498db;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #bdc3c7;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #34495e;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-image img {
    width: 40px;
    height: 40px;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
  color: white;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background: #27ae60;
    color: white;
}

.btn-accept-all:hover {
    background: #219a52;
}

.btn-necessary {
    background: #f39c12;
    color: white;
}

.btn-necessary:hover {
    background: #e67e22;
}

.btn-settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-settings:hover {
    background: white;
    color: #2c3e50;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
}

.cookie-modal-content h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.cookie-option {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-save {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.btn-close {
    background: #95a5a6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Thanks Page */
.thanks-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-content h1 {
    color: #27ae60;
    margin-bottom: 1.5rem;
}

.thanks-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
}

.thanks-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.thanks-info ul {
    list-style-position: inside;
    color: #555;
}

.thanks-info ul li {
    margin-bottom: 0.5rem;
}

.thanks-actions {
    margin: 2rem 0;
}

.contact-info {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    border-bottom: 3px solid #3498db;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cookie-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-settings-link {
    text-align: center;
    margin: 2rem 0;
}

/* Blog Article Styles */
.blog-article {
    padding: 120px 0 80px;
}

.article-header {
    margin-bottom: 3rem;
}

.breadcrumb {
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.article-meta {
    color: #777;
    margin: 1rem 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-image {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
}

.article-content {
    max-width: none;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.article-content > * {
    grid-column: 1;
}

.article-sidebar {
    grid-column: 2;
    grid-row: 1 / -1;
}

.related-articles,
.contact-sidebar {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.related-articles h3,
.contact-sidebar h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.related-articles ul {
    list-style: none;
}

.related-articles ul li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #3498db;
    text-decoration: none;
}

.related-articles a:hover {
    text-decoration: underline;
}

.article-cta {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    grid-column: 1 / -1;
}

.article-cta h3,
.article-cta p {
    color: white;
}

.article-cta .cta-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
}

.article-cta .cta-button:hover {
    background: white;
    color: #3498db;
}

/* Specialized Article Styles */
.highlight-box {
    background: #e8f5e8;
    padding: 2rem;
    border-left: 4px solid #27ae60;
    border-radius: 0 15px 15px 0;
    margin: 2rem 0;
}

.services-list,
.esg-pillars,
.fintech-stats,
.growth-diagnostic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-item,
.pillar,
.stat-box,
.diagnostic-pillar {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #3498db;
}

.service-item h4,
.pillar h4,
.stat-box h4,
.diagnostic-pillar h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.stat-item {
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.kpi-categories,
.financing-stages,
.operational-excellence {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.kpi-category,
.stage,
.excellence-area {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.performance-dashboard,
.investment-opportunities,
.growth-risks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.dashboard-section,
.opportunity,
.risk-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-top: 4px solid #3498db;
}

.services-esg,
.ripple-fintech-services,
.ripple-growth-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-esg,
.service-fintech,
.growth-service {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

.story {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #27ae60;
}

.story h4 {
    color: #27ae60;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .article-content {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        grid-column: 1;
        grid-row: auto;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .subscription-form {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .thanks-page {
        padding: 100px 0 60px;
    }
    
    .legal-page {
        padding: 100px 0 60px;
    }
    
    .blog-article {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .thanks-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .article-sidebar,
    .article-cta {
        display: none !important;
    }
    
    .article-content {
        grid-template-columns: 1fr !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .hero {
        background: white;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #2c3e50;
    }
}
