/* Telangana State-Specific Theme */

/* State Color Palette */
:root {
    --state-primary: #00695C;
    --state-secondary: #00897B;
    --state-accent: #E65100;
    --state-gold: #FFC107;
}

/* State Tag */
.state-tag {
    background: var(--state-accent);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Hero State Backgrounds */
.telangana-bg-1 {
    background: linear-gradient(135deg, #0D1B2A 0%, #1B3A4B 50%, #0D1B2A 100%);
}

.telangana-bg-2 {
    background: linear-gradient(135deg, #004D40 0%, #00695C 50%, #00897B 100%);
}

.telangana-bg-3 {
    background: linear-gradient(135deg, #1565C0 0%, #1976D2 50%, #2196F3 100%);
}

.telangana-bg-4 {
    background: linear-gradient(135deg, #37474F 0%, #455A64 50%, #546E7A 100%);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* State Emblem */
.state-emblem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Slide Content Enhancements */
.slide-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
}

.slide-content h1 .highlight {
    color: #00E5CC;
}

.slide-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.mini-stat {
    text-align: center;
}

.mini-stat .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #00E5CC;
}

.mini-stat .label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Industry Icons */
.industry-icons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.ind-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Compliance Highlights */
.compliance-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.comp-item {
    background: rgba(0, 229, 204, 0.2);
    color: #00E5CC;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Tanker Stats */
.tanker-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.t-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
}

.t-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00E5CC;
}

.t-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Slide Tags */
.industry-tag {
    background: rgba(156, 39, 176, 0.3);
}

.residential-tag {
    background: rgba(33, 150, 243, 0.3);
}

.tanker-tag {
    background: rgba(255, 152, 0, 0.3);
}

/* State Visual Card */
.slide-visual-state {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.state-visual-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 12px;
    animation: animate-float 4s ease-in-out infinite;
}

.state-image {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 14px;
}

.visual-caption {
    text-align: center;
    padding: 12px;
    font-size: 0.875rem;
    color: white;
    opacity: 0.9;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-tag {
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.benefit-metric {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Prototype Section */
.prototype-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: white;
}

.prototype-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.proto-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
}

.proto-tab:hover,
.proto-tab.active {
    background: var(--primary);
    border-color: var(--primary);
}

.prototype-viewer {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.proto-frame {
    flex: 1;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.proto-header {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.proto-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.proto-dots span:nth-child(1) {
    background: #ef4444;
}

.proto-dots span:nth-child(2) {
    background: #f59e0b;
}

.proto-dots span:nth-child(3) {
    background: #22c55e;
}

.proto-url {
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.proto-actions {
    display: flex;
    gap: 8px;
}

.customize-btn,
.fullscreen-btn {
    background: #e2e8f0;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    color: #475569;
    text-decoration: none;
}

.customize-btn:hover,
.fullscreen-btn:hover {
    background: #cbd5e1;
}

.proto-screen {
    min-height: 500px;
    background: #f8fafc;
}

.proto-content {
    display: none;
}

.proto-content.active {
    display: flex;
}

/* Dashboard Sidebar */
.dash-sidebar {
    width: 200px;
    background: #0f172a;
    color: white;
    padding: 1rem 0;
}

.sidebar-logo {
    padding: 0 1rem 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.sidebar-nav a {
    display: block;
    padding: 10px 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Dashboard Main */
.dash-main {
    flex: 1;
    padding: 1.5rem;
    overflow: auto;
}

.dash-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.dash-header-row h2 {
    font-size: 1.25rem;
    color: #1e293b;
    margin: 0;
}

.live-badge {
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 600;
}

.live-badge.pulse {
    animation: pulse-live 1.5s infinite;
}

.action-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* KPI Cards */
.kpi-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.kpi {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.kpi-label {
    font-size: 0.75rem;
    color: #64748b;
}

.kpi-trend {
    font-size: 0.7rem;
    margin-top: 4px;
}

.kpi-trend.up {
    color: #22c55e;
}

/* Charts */
.dash-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}

.chart-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chart-card h4 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: #475569;
}

.chart-placeholder svg {
    width: 100%;
    height: 80px;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
}

.bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    height: var(--height);
    position: relative;
}

.bar span {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    white-space: nowrap;
    color: #64748b;
}

/* Data Table */
.filter-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-row select,
.filter-row input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85rem;
}

.data-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 0.8fr 0.8fr 0.8fr 0.6fr;
    padding: 12px 16px;
    font-size: 0.8rem;
    align-items: center;
}

.table-header {
    background: #f1f5f9;
    font-weight: 600;
    color: #475569;
}

.table-row {
    border-bottom: 1px solid #e2e8f0;
}

.status {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    text-align: center;
}

.status.approved {
    background: #dcfce7;
    color: #16a34a;
}

.status.pending {
    background: #fef3c7;
    color: #d97706;
}

.status.review {
    background: #dbeafe;
    color: #2563eb;
}

.sm-btn {
    background: #e2e8f0;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
}

/* Monitoring View */
.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.monitor-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.monitor-card.warning {
    border: 2px solid #f59e0b;
}

.monitor-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.online {
    color: #22c55e;
    font-size: 0.75rem;
}

.monitor-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

.monitor-value small {
    font-size: 0.875rem;
    font-weight: 400;
    color: #64748b;
}

.monitor-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}

.bar-fill.warning {
    background: #f59e0b;
}

.monitor-limit {
    font-size: 0.75rem;
    color: #64748b;
}

/* Map View */
.map-container {
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder-full {
    height: 100%;
    background: linear-gradient(180deg, #e0f2f1 0%, #b2dfdb 100%);
    position: relative;
}

.tanker-pin,
.source-pin {
    position: absolute;
    font-size: 1.5rem;
    transform: translate(-50%, -50%);
}

.tanker-pin.moving {
    animation: move-tanker 6s ease-in-out infinite;
}

@keyframes move-tanker {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(calc(-50% + 30px), calc(-50% - 20px));
    }
}

/* Reports Grid */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.report-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.report-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.report-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.report-card p {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.report-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Customize Panel */
.customize-panel {
    width: 280px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    display: none;
}

.customize-panel.visible {
    display: block;
}

.customize-panel h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.customize-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.customize-options label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customize-options label span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.customize-options input,
.customize-options select {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.apply-customization {
    width: 100%;
    margin-top: 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

/* Feedback Section */
.feedback-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.feedback-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.feedback-form-card,
.testimonials-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.feedback-form-card h3,
.testimonials-card h3 {
    margin-bottom: 1.5rem;
}

.feedback-form .form-group {
    margin-bottom: 1.25rem;
}

.feedback-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
}

.feedback-types {
    display: flex;
    gap: 1rem;
}

.type-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.type-option span {
    font-weight: 400;
    font-size: 0.875rem;
}

/* Testimonials */
.testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial {
    padding: 1.25rem;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.quote {
    font-style: italic;
    color: #475569;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.author .name {
    font-weight: 600;
    display: block;
}

.author .role {
    font-size: 0.8rem;
    color: #64748b;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.contact-section h2 {
    color: white;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-label {
    font-size: 0.75rem;
    opacity: 0.8;
    display: block;
}

.contact-value {
    font-weight: 600;
}

/* State Footer */
.state-footer {
    background: #0A0E27;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .logo-mark {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.state-emblem-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kpi-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide-visual-state {
        display: none;
    }

    .monitoring-grid {
        grid-template-columns: 1fr;
    }

    .prototype-viewer {
        flex-direction: column;
    }

    .customize-panel {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .prototype-tabs {
        flex-wrap: wrap;
    }

    .dash-sidebar {
        display: none;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}