/* ==========================================
   EU Carbon Market Reform Blog - CSS
   Design: Modern, Professional, Animated
   ========================================== */

:root {
    --primary-color: #0052cc;
    --secondary-color: #003d99;
    --accent-color: #ff6b35;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --light-bg: #f8f9fa;
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    background: linear-gradient(135deg, #eaf0fa 0%, #c3cfe2 100%);
    padding: 80px 20px;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 82, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-text);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button-large {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.banner-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.banner-img:hover {
    transform: scale(1.03);
}

/* ==========================================
   Section Styles
   ========================================== */

section {
    padding: 80px 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.icon-accent {
    color: var(--primary-color);
    font-size: 42px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 20px auto 0;
    border-radius: 2px;
    animation: expandWidth 0.6s ease-out;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

/* ==========================================
   Overview Section
   ========================================== */

.overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef7 100%);
}

.overview-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.overview-text:hover {
    color: var(--primary-color);
}

.overview-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ==========================================
   Content Section
   ========================================== */

.content-section {
    padding: 60px 20px;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef7 100%);
}

.content-body {
    max-width: 900px;
    margin: 0 auto;
}

.content-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 18px;
}

.content-body p strong {
    color: var(--primary-color);
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

/* ==========================================
   Custom Lists
   ========================================== */

.custom-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.custom-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.7;
    transition: all 0.3s ease;
}

.custom-list li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.custom-list.check-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--success-color);
    font-size: 18px;
}

.custom-list.dot-list li::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 5px;
    top: 14px;
    color: var(--primary-color);
    font-size: 8px;
}

.custom-list.arrow-list li::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 2px;
    top: 12px;
    color: var(--accent-color);
    font-size: 14px;
}

/* ==========================================
   Highlight / Callout Boxes
   ========================================== */

.highlight-box {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin: 25px 0;
}

.highlight-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.highlight-box i {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-box p {
    margin: 0;
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.7;
}

.info-callout {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: var(--shadow-sm);
}

.info-callout p {
    color: var(--dark-text) !important;
    font-weight: 500;
}

/* ==========================================
   Benefits Grid
   ========================================== */

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

.benefit-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.benefit-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   Two Column Layout
   ========================================== */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.two-col .col-block {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.two-col .col-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.two-col .col-block h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================
   References Section
   ========================================== */

.references-list {
    list-style: none;
    padding: 0;
}

.references-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.references-list li:last-child {
    border-bottom: none;
}

.references-list li:hover {
    padding-left: 10px;
}

.references-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.references-list a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ==========================================
   Responsive Design
   ========================================== */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .section-title {
        font-size: 28px;
        flex-direction: column;
        gap: 10px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-content {
        gap: 30px;
    }

    .hero {
        padding: 40px 15px;
    }

    section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .icon-accent {
        font-size: 32px;
    }

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

    .content-body p {
        font-size: 15px;
    }

    .section-subtitle {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero {
        padding: 30px 10px;
    }

    section {
        padding: 40px 10px;
    }

    .section-title {
        font-size: 20px;
    }

    .cta-button, .cta-button-large {
        padding: 12px 30px;
        font-size: 14px;
    }

    .benefit-card {
        padding: 20px 15px;
    }

    .highlight-box {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================
   Print Styles
   ========================================== */

@media print {
    .hero { min-height: auto; padding: 30px 0; }
    section { padding: 20px 0; }
    .cta-button, .cta-button-large { display: none; }
    .banner-img { box-shadow: none; }
}
