/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Bengali', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Navigation */
.main-nav {
    background-color: #1a1a1a;
    padding: 10px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
}

.main-nav a:hover {
    background-color: #333;
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo-img {
    max-height: 60px;
    width: auto;
}

.customer-service-btn {
    background-color: #25D366;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.customer-service-btn:hover {
    background-color: #128C7E;
}

/* Secondary Navigation */
.secondary-nav {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 2px solid #ddd;
}

.secondary-nav .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.secondary-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 5px;
}

.secondary-nav a:hover {
    color: #25D366;
    background-color: rgba(37, 211, 102, 0.1);
}

.secondary-nav a.active {
    color: #fff;
    background-color: #25D366;
}

.home-icon {
    height: 24px;
    width: 24px;
}

/* Banner */
.banner {
    margin: 20px 0;
    text-align: center;
}

.banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Page Title */
.page-title {
    text-align: center;
    margin: 30px 0;
}

.page-title h1 {
    font-size: 2rem;
    color: #1a1a1a;
}

.page-title a {
    color: #25D366;
    text-decoration: none;
}

/* Agent Finder */
.agent-finder {
    background-color: #fff;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.agent-finder h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.search-box {
    margin-bottom: 20px;
}

.search-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.search-box input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.agent-type-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.agent-type-selector select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Agent Section */
.agent-section {
    background-color: #fff;
    padding: 30px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.agent-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 3px solid #25D366;
    padding-bottom: 10px;
}

.agent-section h6 {
    font-size: 1rem;
    margin: 20px 0 10px;
    color: #666;
    font-weight: 600;
}

/* Agent Table */
.agent-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    overflow-x: auto;
    display: block;
}

.agent-table thead {
    background-color: #25D366;
    color: #fff;
}

.agent-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #ddd;
}

.agent-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.agent-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.agent-table tbody tr:hover {
    background-color: #e9ecef;
}

.agent-table a {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
}

.agent-table a:hover {
    text-decoration: underline;
}

.app-link {
    background-color: #25D366;
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 3px;
    display: inline-block;
}

.app-link:hover {
    background-color: #128C7E;
    text-decoration: none !important;
}

.complain-btn {
    background-color: #dc3545;
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 3px;
    display: inline-block;
}

.complain-btn:hover {
    background-color: #c82333;
    text-decoration: none !important;
}

/* Customer Service */
.customer-service {
    background-color: #fff;
    padding: 30px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.customer-service h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 3px solid #25D366;
    padding-bottom: 10px;
}

/* Content Images */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* SEO Content */
.seo-content {
    background-color: #fff;
    padding: 40px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.seo-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.4;
}

.seo-content h2 {
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.seo-content h3 {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
}

.seo-content h4 {
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #666;
}

.seo-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.seo-content ul,
.seo-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.seo-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    color: #666;
    font-style: italic;
}

/* Notice */
.notice {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    padding: 30px;
    margin: 30px 0;
    border-radius: 10px;
}

.notice h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #856404;
}

.notice p {
    margin-bottom: 15px;
    color: #856404;
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: #25D366;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Notification Toast */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 9999;
    font-weight: 600;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Table Responsive Wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Shuffle Button (optional) */
.shuffle-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin: 20px 0;
    transition: background-color 0.3s;
}

.shuffle-btn:hover {
    background-color: #0056b3;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

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

    .secondary-nav .container {
        flex-direction: column;
        gap: 10px;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }

    .agent-table {
        font-size: 0.9rem;
    }

    .agent-table th,
    .agent-table td {
        padding: 8px;
    }

    .seo-content {
        padding: 20px;
    }

    .seo-content h1 {
        font-size: 1.5rem;
    }

    .seo-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .agent-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .page-title h1 {
        font-size: 1.2rem;
    }
}
