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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

h1 {
    font-size: 2.5rem;
    color: #1a365d;
}

h2 {
    font-size: 2rem;
    color: #2d3748;
}

h3 {
    font-size: 1.5rem;
    color: #4a5568;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5aa0;
}

/* Header and Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a365d;
}

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

.nav-menu a {
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3182ce;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 80px;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f7fafc;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-graphic {
    margin-top: 3rem;
}

/* Buttons */
.cta-button {
    background: #3182ce;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
}

.secondary-button {
    background: transparent;
    color: #3182ce;
    padding: 1rem 2rem;
    border: 2px solid #3182ce;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.secondary-button:hover {
    background: #3182ce;
    color: white;
}

/* Grid Layouts */
.info-grid,
.analysis-grid,
.services-grid,
.reviews-grid,
.blog-grid {
    display: grid;
    gap: 2rem;
}

.info-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.analysis-grid,
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Cards */
.info-card,
.analysis-card,
.service-card,
.review-card,
.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.analysis-card:hover,
.service-card:hover,
.review-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Info Cards */
.info-card {
    text-align: center;
}

.info-card svg {
    margin-bottom: 1rem;
}

/* Analysis Cards */
.chart-placeholder,
.tech-icons,
.market-chart {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* Service Cards */
.service-card {
    text-align: center;
}

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

/* Review Cards */
.stars {
    color: #f6ad55;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.reviewer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.reviewer strong {
    display: block;
    color: #2d3748;
}

.reviewer span {
    color: #718096;
    font-size: 0.9rem;
}

/* Blog Cards */
.blog-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.blog-card.featured h2 a {
    color: white;
}

.blog-date {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card.featured .blog-date {
    color: rgba(255, 255, 255, 0.8);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.blog-card.featured .blog-meta {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.category {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-card.featured .category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.read-more {
    font-weight: 600;
    color: #3182ce;
}

.blog-card.featured .read-more {
    color: white;
}

/* Newsletter Section */
.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #3182ce;
}

.newsletter-form button {
    background: #3182ce;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #2c5aa0;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links h3 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

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

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

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

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

.footer-section a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    text-align: center;
    color: #cbd5e0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.cookie-buttons button:first-child {
    background: #3182ce;
    color: white;
}

.cookie-buttons button:first-child:hover {
    background: #2c5aa0;
}

.cookie-buttons button:nth-child(2) {
    background: #e2e8f0;
    color: #4a5568;
}

.cookie-buttons button:nth-child(2):hover {
    background: #cbd5e0;
}

.cookie-buttons button:last-child {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-buttons button:last-child:hover {
    background: white;
    color: #2d3748;
}

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

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-category input[type="checkbox"] {
    margin: 0;
}

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

.cookie-modal-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cookie-modal-buttons button:first-child {
    background: #3182ce;
    color: white;
}

.cookie-modal-buttons button:first-child:hover {
    background: #2c5aa0;
}

.cookie-modal-buttons button:last-child {
    background: #e2e8f0;
    color: #4a5568;
}

.cookie-modal-buttons button:last-child:hover {
    background: #cbd5e0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Blog Content */
.blog-content {
    padding: 4rem 0;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Article Content */
.article-content {
    padding: 2rem 0;
}

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

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

.breadcrumb a {
    color: #3182ce;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: #718096;
    margin-top: 1rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.article-body .lead {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.chart-section,
.highlight-box,
.innovation-box,
.case-study,
.conclusion-box {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #3182ce;
}

.chart-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.tech-highlight {
    background: #e6fffa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #319795;
}

.investment-chart {
    text-align: center;
    margin: 2rem 0;
}

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

.area-card {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.financing-section {
    background: #fef5e7;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #d69e2e;
}

.risk-analysis {
    background: #fed7d7;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #e53e3e;
}

.future-outlook {
    background: #f0fff4;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #38a169;
}

.timeline {
    margin: 2rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-year {
    font-weight: bold;
    color: #3182ce;
    font-size: 1.2rem;
    min-width: 60px;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.renewable-potential {
    margin: 2rem 0;
}

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

.potential-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.potential-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3182ce;
    margin: 1rem 0;
}

.hydrogen-section {
    background: #ebf8ff;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #3182ce;
}

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

.challenge-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.oil-industry-impact {
    background: #fef5e7;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #d69e2e;
}

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

.opportunity-card {
    background: #f0fff4;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #c6f6d5;
}

.article-footer {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.share-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    background: #e2e8f0;
    color: #4a5568;
    transition: background 0.3s ease;
}

.share-buttons button:hover {
    background: #cbd5e0;
}

.back-to-blog {
    text-align: center;
}

.back-to-blog a {
    color: #3182ce;
    font-weight: 600;
}

/* Related Articles */
.related-articles {
    background: #f7fafc;
    padding: 4rem 0;
}

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

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

.related-card:hover {
    transform: translateY(-2px);
}

/* Thank You Page */
.thank-you-section {
    padding: 6rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.next-steps {
    margin: 4rem 0;
}

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

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #3182ce;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.newsletter-info {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.thank-you-actions {
    margin: 3rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-follow {
    margin-top: 4rem;
}

.related-content {
    background: #f7fafc;
    padding: 4rem 0;
}

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

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

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

/* Legal Pages */
.legal-page {
    padding: 2rem 0 4rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.last-updated {
    color: #718096;
    font-style: italic;
}

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

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

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

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

.contact-info {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

/* Cookie Tables */
.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.cookie-table tr:last-child td {
    border-bottom: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-graphic svg {
        width: 100%;
        height: auto;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .cookie-modal-buttons {
        flex-direction: column;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }

    .potential-grid,
    .challenges-grid,
    .investment-opportunities {
        grid-template-columns: 1fr;
    }

    .transformation-areas {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .cta-button,
    .secondary-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

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

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .related-grid,
    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 0 1rem;
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .cookie-banner,
    .cookie-modal,
    header,
    footer,
    .share-buttons,
    .back-to-blog {
        display: none !important;
    }

    main {
        margin-top: 0;
    }

    .section {
        page-break-inside: avoid;
    }

    .article-content {
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}

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

    html {
        scroll-behavior: auto;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero {
        background: #000;
        color: #fff;
    }

    .bg-light {
        background: #f0f0f0;
    }

    .info-card,
    .analysis-card,
    .service-card,
    .review-card,
    .blog-card {
        border: 2px solid #000;
    }
}
