:root {
    --primary-color: #10b981;
    --secondary-color: #059669;
    --accent-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #374151;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    z-index: -1;
}

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

/* Header */
.header {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-brand i {
    margin-right: 10px;
    font-size: 1.8rem;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.9) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff20" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatGrid 20s linear infinite;
}

@keyframes floatGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 30px rgba(255,255,255,0.3); }
    to { text-shadow: 0 0 50px rgba(255,255,255,0.5), 0 0 70px rgba(255,255,255,0.3); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
}

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

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.hero-feature:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-feature i {
    font-size: 1.5rem;
    color: #fbbf24;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

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

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image i {
    font-size: 15rem;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

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

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.calculator-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.carbon-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.form-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.form-section h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.form-section h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.submit-btn i {
    margin-right: 10px;
}

/* Results Section */
.results-section {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.results-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.result-card {
    text-align: center;
    margin-bottom: 2rem;
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.result-value .unit {
    font-size: 1.5rem;
    opacity: 0.8;
}

.result-comparison {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.result-comparison p {
    margin-bottom: 0.5rem;
}

.breakdown {
    margin-bottom: 2rem;
}

.breakdown h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.breakdown-item span:first-child {
    min-width: 80px;
    font-weight: 500;
}

.progress-bar {
    flex: 1;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: width 1s ease;
}

.breakdown-item span:last-child {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
}

.recommendations h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.recommendations ul {
    list-style: none;
}

.recommendations li {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

/* World Map Section */
.world-map-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.world-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%2310b98110"/><circle cx="50" cy="50" r="30" fill="%2305966910"/><circle cx="50" cy="50" r="20" fill="%2310b98110"/></svg>') no-repeat center;
    background-size: 300px 300px;
    opacity: 0.1;
    animation: rotateBackground 30s linear infinite;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.world-map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.world-map-section h2::after {
    content: '🌍';
    display: block;
    font-size: 3rem;
    margin-top: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.world-map {
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.world-map::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    opacity: 0.3;
    pointer-events: none;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.map-legend {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.map-legend h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 10px;
    box-shadow: var(--shadow-sm);
}

.country-stats {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-value span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
}

.country-details h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

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

.country-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: left 0.6s;
}

.country-card:hover::before {
    left: 100%;
}

.country-card::after {
    content: '📍';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.3;
    transition: var(--transition);
}

.country-card:hover::after {
    opacity: 0.8;
    transform: scale(1.2);
}

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

.country-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.country-flag {
    font-size: 2.5rem;
}

.country-info h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.country-emissions {
    color: var(--primary-color);
    font-weight: 600;
}

.country-initiatives {
    margin-top: 1rem;
}

.country-initiatives h5 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.initiative-list {
    list-style: none;
}

.initiative-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.initiative-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Modal Styles */
.country-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.modal-header .country-flag {
    font-size: 3rem;
}

.modal-header .country-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
}

.emissions-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.emission-level-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.level-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-badge.very-low {
    background: #10b98120;
    color: #10b981;
    border: 1px solid #10b981;
}

.level-badge.low {
    background: #84cc1620;
    color: #84cc16;
    border: 1px solid #84cc16;
}

.level-badge.medium {
    background: #f59e0b20;
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.level-badge.high {
    background: #f9731620;
    color: #f97316;
    border: 1px solid #f97316;
}

.level-badge.very-high {
    background: #ef444420;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.level-description {
    color: var(--text-color);
    font-size: 0.9rem;
    font-style: italic;
}

.initiatives-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.initiatives-list li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.initiatives-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.initiatives-list li:hover i {
    transform: scale(1.2);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.emissions-chart {
    margin-bottom: 2rem;
}

.emissions-chart h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.emissions-bar {
    background: #e9ecef;
    height: 30px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.emissions-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    transition: width 1s ease;
}

.emissions-comparison {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-color);
}

.country-emissions {
    font-weight: 600;
    color: var(--primary-color);
}

.initiatives-section h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.initiatives-list {
    list-style: none;
}

.initiatives-list li {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

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

.initiatives-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image i {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .result-value {
        font-size: 2rem;
    }
    
    .breakdown-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .breakdown-item span:first-child,
    .breakdown-item span:last-child {
        min-width: auto;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .world-map {
        height: 350px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .country-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header .country-flag {
        font-size: 2rem;
    }
    
    .modal-header .country-info h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .emissions-comparison {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .calculator-section h2,
    .info-section h2 {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .results-section {
        padding: 1.5rem;
    }
}
