/* Beautiful Interactive Dashboard - Vibrant Teal & Light Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d9488;
    --secondary: #06b6d4;
    --dark: #134e4a;
    --card: #ffffff;
    --text: #134e4a;
    --text-muted: #475569;
    --bg-main: #f0fdfa;
    --border-color: #99f6e4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text);
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #14b8a6, transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #f59e0b, transparent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
    opacity: 0.15;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -100px) scale(1.1); }
    66% { transform: translate(-100px, 100px) scale(0.9); }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    margin-top: 0.5rem;
    stroke: var(--primary);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 30px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.15);
    border: 1px solid var(--border-color);
}

.floating-nav a {
    display: block;
    padding: 1rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.floating-nav a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.2);
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 20px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

/* Map Section */
.map-container {
    background: var(--card);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(13, 148, 136, 0.1);
    border: 2px solid var(--border-color);
    position: relative;
}

#india-map {
    width: 100%;
    height: 600px;
    background: #f0fdfa;
    border-radius: 20px;
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.stat-card {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    min-width: 140px;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.1);
    border-color: var(--primary);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    margin-top: 0.3rem;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    animation: glow 1.5s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 15px rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 0 25px rgba(13, 148, 136, 0.7); }
}

/* Policy Boxes */
.policy-box {
    margin-top: 1rem;
    padding: 1.2rem;
    background: #f0fdfa;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.policy-box:hover {
    background: #ccfbf1;
    transform: translateX(5px);
}

.policy-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .insights-grid { grid-template-columns: 1fr; }
}

.insight-card {
    background: var(--card);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid var(--border-color);
}

.insight-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(13, 148, 136, 0.2);
    border-color: var(--primary);
}

.insight-icon {
    font-size: 3rem; /* Controlled emoji size */
    margin-bottom: 1rem;
    display: block;
}

.insight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.insight-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.insight-stat {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #ccfbf1;
    border-radius: 15px;
    font-weight: 600;
    color: var(--primary);
}

/* Policy Timeline */
.policy-timeline {
    position: relative;
    padding-left: 60px;
}

.policy-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-color);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -50px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(13, 148, 136, 0.4); }
    50% { box-shadow: 0 0 30px rgba(13, 148, 136, 0.7); }
}

.timeline-content {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 25px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.policy-impact {
    margin-top: 1rem;
    padding: 1rem;
    background: #ccfbf1;
    border-radius: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* Policy Grid Styles */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.policy-category {
    background: var(--card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.policy-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.category-icon {
    font-size: 2rem; /* Controlled emoji size */
    margin-bottom: 1rem;
    display: block;
}

.policy-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.data-support {
    padding: 0.8rem;
    background: #ccfbf1;
    border-radius: 10px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Success Metrics */
.success-metrics {
    background: #ccfbf1;
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
}

.metrics-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text);
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.metric-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.metric-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Charts Grid */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.chart-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--border-color);
}

.chart-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-insight {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #f0fdfa;
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

/* Footer */
.footer {
    background: white;
    padding: 4rem 2rem 2rem;
    margin-top: 100px;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13, 148, 136, 0.4);
}

.footer-credits {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content h1 { font-size: 3rem; }
    .charts-grid { grid-template-columns: 1fr; }
    .floating-nav { display: none; }
    #india-map { height: 400px; }
    .map-stats { grid-template-columns: 1fr; }
}
