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

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #1e40af;
    --accent-color: #fbbf24;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #e5e7eb;
    --text-color: #374151;
    --text-light: #6b7280;
    --wb-blue: #1e3a8a;
    --wb-gold: #fbbf24;
    --wb-light-blue: #dbeafe;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--light-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* West Bengal Header */
.wb-header {
    background: linear-gradient(135deg, var(--wb-blue) 0%, #1e40af 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid var(--wb-gold);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wb-logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 2px;
    font-weight: 700;
    color: white;
}

.logo-text .bengali {
    font-size: 1.1rem;
    color: var(--wb-gold);
    margin: 0;
    font-weight: 600;
}

.logo-text .tagline {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-top: 5px;
    color: #e0e7ff;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--wb-blue) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--wb-gold);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand img {
    width: 50px;
    height: 50px;
}

.nav-brand h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.tagline {
    font-size: 0.85rem;
    opacity: 0.9;
    color: var(--wb-gold);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    border: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(251, 191, 36, 0.2);
    border-color: var(--wb-gold);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.1rem;
    color: #e5e7eb;
}

.hero-section p.bengali {
    color: #fde68a;
    font-weight: 500;
    margin-top: 10px;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-color);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--wb-blue) 0%, var(--secondary-color) 100%);
    color: white;
    border: 2px solid var(--wb-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.4);
    border-color: var(--wb-gold);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--light-color);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Info Section */
.info-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-section h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

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

.info-section li {
    padding: 10px 0;
    font-size: 0.95rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s;
}

.success-modal .success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.tracking-info {
    margin: 30px 0;
}

.tracking-id {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
    letter-spacing: 2px;
    border: 2px dashed var(--primary-color);
}

.help-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Track Page */
.track-container {
    max-width: 800px;
    margin: 0 auto;
}

.track-form {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.loading-state {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    margin-bottom: 30px;
}

.spinner {
    border: 4px solid var(--light-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.result-container {
    margin-top: 30px;
}

.status-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-color);
}

.status-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.in_progress {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.resolved {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.detail-value {
    font-weight: 600;
    color: var(--dark-color);
}

.description-section,
.resolution-section {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.description-section h4,
.resolution-section h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.status-timeline {
    margin-top: 30px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    bottom: -10px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    background: white;
}

.timeline-item.active .timeline-dot {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.status-guide {
    display: grid;
    gap: 20px;
}

.status-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.status-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.pending {
    background: #fef3c7;
}

.status-dot.in-progress {
    background: #dbeafe;
}

.status-dot.resolved {
    background: #d1fae5;
}

.status-dot.rejected {
    background: #fee2e2;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        text-align: center;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 20px;
    }

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

    .form-actions button {
        width: 100%;
    }

    .status-header {
        flex-direction: column;
        gap: 15px;
    }

    .modal-content {
        padding: 20px;
    }
}

/* Landing Page Styles */
.landing-page {
    background: linear-gradient(to bottom, #f0f9ff 0%, white 50%);
}

.bengali {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--wb-blue) 0%, #1e40af 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(251,191,36,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 2px solid #fbbf24;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e5e7eb !important;
}

.hero-description-bengali {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #fde68a !important;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 220px;
}

.hero-btn span {
    font-size: 1.1rem;
}

.hero-btn small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-btn-primary {
    background: var(--wb-gold);
    color: var(--wb-blue);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.hero-btn-primary:hover {
    background: #fcd34d;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--wb-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.1);
    transition: all 0.4s;
    cursor: pointer;
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.2);
    border-color: var(--wb-gold);
}

.service-icon {
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--wb-blue);
    margin-bottom: 8px;
}

.service-card .bengali {
    font-size: 1.3rem;
    color: var(--wb-gold);
    margin-bottom: 20px;
    display: block;
}

.service-desc {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-btn {
    background: linear-gradient(135deg, var(--wb-blue) 0%, #1e40af 100%);
    color: white;
    border: 2px solid var(--wb-gold);
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.service-btn:hover {
    background: var(--wb-gold);
    color: var(--wb-blue);
}

/* Info Section for Landing Page */
.landing-page .info-section {
    padding: 80px 0;
    background: var(--wb-light-blue);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--wb-blue);
    margin-bottom: 50px;
}

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

.step-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: scale(1.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--wb-blue) 0%, #1e40af 100%);
    color: var(--wb-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 3px solid var(--wb-gold);
}

.step-card h4 {
    color: var(--wb-blue);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.step-card .bengali {
    color: var(--wb-gold);
    margin-bottom: 12px;
    font-size: 1rem;
}

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

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: white;
}

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

.category-item {
    background: var(--wb-light-blue);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--wb-blue);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-item:hover {
    background: var(--wb-blue);
    color: white;
    border-color: var(--wb-gold);
    transform: translateY(-3px);
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--wb-blue) 0%, #1e40af 100%);
    color: white;
}

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

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--wb-gold);
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--wb-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
}

.stat-card .bengali {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Footer */
.wb-footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 0 0;
}

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

.footer-section h4 {
    color: var(--wb-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--wb-gold);
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
}

.footer-bottom p {
    margin: 5px 0;
    opacity: 0.8;
}

.footer-bottom .bengali {
    color: var(--wb-gold);
}

/* Responsive for Landing Page */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-badge {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-description-bengali {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-btn {
        min-width: auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
