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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #25D366;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
}

body {
    font-family: 'Inter', 'SolaimanLipi', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.main-header {
    background: #ffffff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-image {
    width: 40%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.main-nav {
    background: #f5f5f5;
    border-bottom: 2px solid var(--border-color);
    padding: 0;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: #1a3a2a;
    color: #f5c400;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle i {
    font-size: 14px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover { background: #122a1e; }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 12px 0;
    margin: 0;
}

.nav-menu li { margin: 0; }

.nav-menu a, .nav-menu button {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 5px;
}

.nav-menu a:hover, .nav-menu button:hover {
    color: #f5c400;
    background: #1a3a2a;
}

.nav-menu a.active {
    color: #f5c400;
    background: #1a3a2a;
    font-weight: 600;
}

.search-toggle { font-size: 18px; }

.main-content { padding: 30px 0; }

.search-section,
.phone-search-section {
    background: white;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-family: 'SolaimanLipi', serif;
    font-size: 20px;
    margin-bottom: 18px;
    color: var(--text-dark);
    text-align: center;
    font-weight: 600;
}

.section-title.center { text-align: center; }

.search-form-container { max-width: 420px; margin: 0 auto; }
.search-form-container.center { text-align: center; }

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #1a3a2a;
    box-shadow: 0 0 0 2px rgba(26,58,42,0.15);
}

.btn-submit {
    width: 100%;
    padding: 10px;
    background: #1a3a2a;
    color: #f5c400;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    background: #122a1e;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(26,58,42,0.4);
}

.all-master-link {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.all-master-link a {
    animation: none !important;
    color: #1a3a2a;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid #1a3a2a;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    position: relative;
}

.all-master-link a:hover {
    background: #1a3a2a;
    color: #f5c400;
    transform: none !important;
}

.all-master-link a::before,
.all-master-link a::after { content: none !important; }

.all-master-link a.shake-off { animation: none !important; }

@keyframes arrowPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}
@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Agent Tables */
.agent-tables { margin-top: 30px; }

.agent-table-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    overflow: hidden;
}

.table-title {
    background: #1a3a2a;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #f5c400;
    margin: 0;
    text-align: center;
    letter-spacing: 0.3px;
}

.agent-table { width: 100%; border-collapse: collapse; }

.agent-table thead th {
    background: #1a3a2a;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: #f5c400;
    border-bottom: 2px solid #122a1e;
    font-size: 14px;
}

.agent-table tbody td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.agent-table tbody tr:hover { background: #f8f9fa; }
.agent-table tbody tr:nth-child(odd) { background: rgba(230,255,223,0.4); }
.agent-table tbody tr:nth-child(odd):hover { background: rgba(230,255,223,0.7); }

.agent-table a {
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: color 0.3s ease;
}

.agent-table a:hover { color: var(--secondary-color); }

.agent-table .fab.fa-whatsapp {
    background: var(--accent-color);
    color: white;
    padding: 8px;
    border-radius: 6px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.agent-table .fab.fa-whatsapp:hover { transform: scale(1.1); }

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    background: rgba(26,58,42,0.12);
    color: #1a3a2a;
    padding: 3px 9px;
    border-radius: 4px;
    margin: 2px;
}

.app-badge .check-icon { color: #1a3a2a; font-size: 11px; }

/* Sidebar */
.sidebar { position: sticky; top: 20px; }

.widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    overflow: hidden;
}

.widget-title {
    background: #1a3a2a;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #f5c400;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #122a1e;
}

.widget-content { padding: 20px; }

.quick-agent-item {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}
.quick-agent-item:last-child { border-bottom: none; }

.quick-agent-id {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.quick-agent-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.quick-agent-apps span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    background: rgba(26,58,42,0.12);
    color: #1a3a2a;
    padding: 3px 9px;
    border-radius: 4px;
}

.quick-agent-apps .check-icon { color: #25D366; font-size: 12px; }

.quick-agent-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1a3a2a;
    color: #f5c400;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.quick-agent-phone svg { flex-shrink: 0; }

.chat-image-container { position: relative; padding: 0; }

.chat-image-container a {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.chat-image-container a:hover { transform: scale(1.02); }

.chat-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 8px 8px;
}

.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.6);
    color: white;
}

/* Info Sections */
.info-section, .clean-platform, .offer-section, .contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.info-section h2, .clean-platform h2, .offer-section h2, .contact-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.info-section p, .clean-platform p, .offer-section p, .contact-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

.clean-platform span, .offer-section span {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Footer */
.main-footer {
    background: #1a3a2a;
    color: #f5c400;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-disclaimer, .footer-copyright {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(245,196,0,0.75);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-row {
    animation: fadeIn 0.5s ease-in-out;
    background-color: #fff9a8 !important;
}

/* Page Titles */
.page-main-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: var(--text-dark);
    text-align: center;
    padding: 30px 15px 10px;
    margin-bottom: 10px;
}

.intro-text {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #555;
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.75;
    padding: 0 15px;
}

.seo-helper-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.agent-list-heading {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.agent-tables-section > p {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

/* FAQ Button */
.faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2e7d52;
    font-size: 13.5px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    background: #f0faf4;
    padding: 9px 22px;
    border-radius: 8px;
    border: 1px solid #b2dfc5;
    transition: all 0.2s ease;
}

.faq-btn:hover {
    background: #e2f5ea;
    border-color: #7ec49e;
    color: #1e5c38;
}

/* Nav Pill Buttons */
.nav-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    background: #fff;
    border: 1.5px solid #1a3a2a;
    color: #1a3a2a;
    transition: all 0.2s ease;
}

.nav-pill-btn:hover { background: #1a3a2a; color: #f5c400; }
.nav-pill-btn i { font-size: 13px; }

.nav-pill-themed {
    background: #1a3a2a;
    border: 1px solid #1a3a2a;
    color: #f5c400;
    font-weight: 600;
}

.nav-pill-themed i { opacity: 1; color: #f5c400; }
.nav-pill-themed:hover { background: #122a1e; border-color: #122a1e; color: #f5c400; }

/* Search Icon */
.search-input-wrapper { position: relative; }

.search-input-wrapper .search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
    pointer-events: none;
}

.search-input-wrapper .form-control { padding-left: 38px; }

/* Skeleton Loader */
.skeleton-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 25px;
    overflow: hidden;
}

.skeleton-header { height: 46px; background: #1a3a2a; opacity: 0.7; }

.skeleton-row {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.skeleton-cell {
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    height: 14px;
    animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* FAQ Accordion */
.faq-accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-accordion-btn {
    width: 100%;
    background: #f7f8fa;
    border: none;
    padding: 15px 18px;
    text-align: left;
    font-size: 14.5px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #1a3a2a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s ease;
}

.faq-accordion-btn:hover { background: rgba(26,58,42,0.06); }

.faq-accordion-btn.open { background: #1a3a2a; color: #f5c400; }

.faq-accordion-btn.open .faq-icon i { transform: rotate(180deg); color: #f5c400; }

.faq-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-icon i {
    color: #1a3a2a;
    transition: transform 0.25s ease, color 0.2s ease;
    font-size: 13px;
}

.faq-accordion-body {
    display: none;
    padding: 16px 18px;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

.faq-accordion-body.open { display: block; }

/* Rules CTA */
.rules-cta {
    background: #1a3a2a;
    padding: 28px 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 35px;
}

.rules-cta p {
    color: #f5c400 !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px !important;
}

.rules-cta a {
    display: inline-block;
    background: #f5c400;
    color: #1a3a2a !important;
    font-weight: 700;
    padding: 11px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.rules-cta a:hover { background: #e6b800; }

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* Responsive */
@media (max-width: 992px) {
    .sidebar { position: static; margin-top: 30px; }
    .nav-menu { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .header-image { width: 40%; }

    .main-nav { padding: 0; background: transparent; border-bottom: none; }
    .main-nav .container { max-width: 100%; margin: 0; padding: 0; }

    .mobile-menu-toggle { display: flex; background: #1a3a2a; width: 100%; }

    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        background: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        max-width: 100%;
        margin: 0;
        gap: 0;
    }

    .nav-menu.active { display: flex; }

    .nav-menu li { width: 100%; border-bottom: 1px solid var(--border-color); }
    .nav-menu li:last-child { border-bottom: none; }

    .nav-menu a, .nav-menu button {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
        border-radius: 0;
        font-size: 13px;
    }

    .nav-menu a:hover, .nav-menu button:hover { background: var(--bg-light); }
    .nav-menu a.active { background: #1a3a2a; color: #f5c400; }

    .section-title { font-size: 20px; }
    .search-section, .phone-search-section { padding: 18px 15px; }
    .search-form-container { max-width: 100%; }
    .floating-chat-btn { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
    .page-main-title { font-size: 24px; padding: 20px 10px 8px; }
    .agent-list-heading { font-size: 22px; }
}

@media (max-width: 576px) {
    .header-image { width: 60%; }
    .agent-table { font-size: 12px; }
    .agent-table thead th, .agent-table tbody td { padding: 8px 6px; font-size: 12px; }
    .search-section, .phone-search-section { padding: 15px 12px; }
    .section-title { font-size: 20px; margin-bottom: 14px; }
    .form-group { margin-bottom: 12px; }
    .form-control { padding: 11px; font-size: 13px; }
    .btn-submit { padding: 9px; font-size: 14px; }
    .page-main-title { font-size: 20px; }
    .agent-list-heading { font-size: 18px; }
}

@media (max-width: 767px) {
    .container-fluid > .row > .search-section,
    .container-fluid > .row > #searchResults,
    .container-fluid > .row > .quick-agent-widget,
    .container-fluid > .row > #all-agents,
    .container-fluid > .row > .chat-widget {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 12px;
        padding-right: 12px;
    }
}