/* Google Fonts - Exact match for Graceful Theme & Bengali Typography */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Hind+Siliguri:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600;700&family=Noto+Serif+Bengali:wght@400;500;600;700&display=swap');

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', 'Noto Sans Bengali', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #010101;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #010101;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgba(1, 1, 1, 0.8);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: disc;
}

hr {
    border: none;
    border-bottom: 2px solid #e8e8e8;
    width: 100px;
    margin: 30px auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Times', serif;
    font-weight: 500;
}

h1 {
    clear: both;
    font-size: 40px;
    line-height: normal;
    margin: 0;
}

h2 {
    clear: both;
    font-size: 36px;
    line-height: normal;
    margin: 0;
}

h3 {
    clear: both;
    font-size: 30px;
    line-height: normal;
    margin: 0;
}

h4 {
    clear: both;
    font-size: 24px;
    line-height: normal;
    margin: 0;
}

h5 {
    clear: both;
    font-size: 22px;
    line-height: normal;
    margin: 0;
}

h6 {
    clear: both;
    font-size: 20px;
    line-height: normal;
    margin: 0;
}

p {
    margin-bottom: 15px;
}

::selection {
    color: #ffffff;
    background: #010101;
}

::-moz-selection {
    color: #ffffff;
    background: #010101;
}

/* Wrapped Content */
.wrapped-content {
    max-width: 1160px;
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */
.entry-header {
    background-color: #ffffff;
    text-align: center;
    padding: 20px 40px;
}

.site-branding {
    text-align: center;
}

.logo-img {
    display: inline-block;
    max-width: 400px;
}

.logo-img img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-description {
    font-size: 13px;
    color: #777;
    margin-top: 5px;
    display: none;
}

/* =========================
   MAIN NAVIGATION
========================= */
#main-navigation {
    background-color: #f1f1f1;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 999;
}

#main-navigation .wrapped-content {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.site-menu-wrapper {
    flex: 1;
}

#site-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

#site-menu li {
    position: relative;
}

#site-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000000;
    transition: color 0.3s ease;
}

#site-menu li a:hover,
#site-menu li.current-menu-item > a {
    color: #010101;
    background-color: rgba(0,0,0,0.05);
}

/* Navigation Search */
.main-navigation-search {
    margin-left: 15px;
}

.navigation-search-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 8px;
    font-size: 14px;
    color: #000;
}

.navigation-search-button .fa-times {
    display: none;
}

/* Search Overlay */
.search-overlay {
    display: none;
    position: absolute;
    top: 100%;
    right: 40px;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-overlay.active {
    display: block;
}

.search-overlay input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    font-size: 13px;
    width: 220px;
    outline: none;
}

.search-overlay button[type="submit"] {
    padding: 8px 15px;
    background: #555;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

.search-overlay button[type="submit"]:hover {
    background: #010101;
}

/* Responsive Menu Button */
.responsive-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    font-size: 16px;
    color: #000;
}

/* =========================
   MAIN CONTENT AREA
========================= */
.main-content {
    background-color: #ffffff;
    padding: 0 40px;
}

.main-content .wrapped-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 30px 0 60px 0;
}

.content-wrap {
    width: calc(100% - 307px);
    padding-right: 37px;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: #030303;
}

/* Post Content */
.post-page-content {
    line-height: 1.8;
}

.post-page-content h2 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: #030303;
}

.post-page-content h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #030303;
}

.post-page-content p {
    font-size: 18px;
    letter-spacing: 0.02em;
    line-height: 32px;
}

.post-page-content strong {
    font-weight: 700;
}

.post-page-content a {
    color: #010101;
    text-decoration: underline;
}

.post-page-content a:hover {
    color: rgba(1, 1, 1, 0.8);
}

.post-page-content ul {
    margin: 0 0 20px 20px;
    padding: 0;
}

.post-page-content ul li {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 32px;
}

.post-page-content hr {
    border: none;
    border-bottom: 2px solid #e8e8e8;
    width: 100px;
    margin: 30px auto;
}

/* Media & Text Block (Our Brands layout) */
.wp-block-media-text {
    display: grid;
    grid-template-columns: 48% 1fr;
    grid-template-rows: auto;
    align-items: center;
    gap: 30px;
    margin: 25px 0;
}

.wp-block-media-text__media {
    margin: 0;
}

.wp-block-media-text__media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.wp-block-media-text__content {
    word-break: break-word;
}

.wp-block-media-text__content p {
    font-size: 18px;
    letter-spacing: 0.02em;
    line-height: 32px;
    margin: 0;
}

.wp-block-media-text__content a {
    color: #010101;
    text-decoration: underline;
}

.wp-block-media-text__content a:hover {
    color: rgba(1, 1, 1, 0.8);
}

/* =========================
   CUSTOMER SERVICE TABLES
========================= */
.service-table-container {
    border: 1.5px solid #222;
    padding: 15px;
    margin: 20px 0 40px 0;
    background: #fff;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.service-table:last-child {
    margin-bottom: 0;
}

.service-table th,
.service-table .table-header-title {
    background-color: #ededed;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 12px 15px;
    text-align: left;
    border: none;
}

.service-table td {
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    border: none;
    vertical-align: middle;
}

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

.service-table .col-num {
    width: 40px;
}

.service-table .col-title {
    width: 45%;
}

.service-table .col-whatsapp {
    width: 60px;
    text-align: center;
}

.service-table .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    vertical-align: middle;
}

.service-table .whatsapp-btn img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.service-table .whatsapp-btn:hover img {
    transform: scale(1.15);
}

.service-table .col-phone {
    text-align: left;
}

.service-table .col-phone a {
    color: #111;
    text-decoration: underline;
    font-weight: 700;
}

@media (max-width: 600px) {
    .service-table-container {
        padding: 8px;
        overflow-x: auto;
    }

    .service-table td,
    .service-table th,
    .service-table .table-header-title {
        padding: 9px 6px;
        font-size: 12px;
    }

    .service-table .col-num {
        width: 25px;
    }

    .service-table .whatsapp-btn img {
        width: 22px;
        height: 22px;
    }
}

/* =========================
   SIDEBAR
========================= */
.sidebar-right-wrap {
    width: 307px;
}

.sidebar-right {
    padding-left: 37px;
}

/* Widget */
.graceful-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 12px 7px;
    margin-bottom: 0;
    background: #eeeeee;
    color: #010101;
    position: relative;
    border-bottom: 1px solid #dcdcdc;
    line-height: 1.4;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #a8a8a8;
    z-index: 2;
}

/* Menu Widget */
.widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_nav_menu ul li {
    border-bottom: 1px solid #e8e8e8;
}

.widget_nav_menu ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #010101;
    transition: all 0.3s ease;
}

.widget_nav_menu ul li a:hover,
.widget_nav_menu ul li.current-menu-item a {
    background-color: #f9f9f9;
    color: rgba(1, 1, 1, 0.8);
}

/* Chat Widget */
.widget-chat-image {
    text-align: center;
    padding: 15px;
}

.widget-chat-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* =========================
   FOOTER
========================= */
#site-footer {
    background-color: #f6f6f6;
    color: #333333;
    padding: 20px 0;
    border-top: 1px solid #e0dbdb;
}

.footer-bottom-wrap {
    text-align: center;
    font-size: 13px;
    color: #333;
    position: relative;
}

.footer-credits {
    text-align: center;
}

.footer-credits a {
    color: #333;
}

.footer-credits a:hover {
    color: #010101;
}

/* Scroll to Top */
.scrolltop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 3px;
    font-size: 20px;
    z-index: 999;
    transition: background 0.3s;
}

.scrolltop:hover {
    background: rgba(0, 0, 0, 0.7);
}

.scrolltop.visible {
    display: flex;
}

/* Intercom-like Chat Button */
.chat-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1f8eed;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 10000;
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* =========================
   RESPONSIVE
========================= */

/* --- Tablet Breakpoint --- */
@media (max-width: 980px) {
    .wrapped-content {
        max-width: 100%;
    }

    .main-content .wrapped-content {
        flex-direction: column;
    }

    .content-wrap {
        width: 100%;
        padding-right: 0;
    }

    .sidebar-right-wrap {
        width: 100%;
        margin-top: 30px;
    }

    .sidebar-right {
        padding-left: 0;
    }

    #main-navigation .wrapped-content {
        padding: 0 20px;
    }

    .entry-header {
        padding: 15px 20px;
    }

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

    #site-footer .site-footer-wrap {
        padding: 0 20px !important;
    }
}

/* --- Mobile Breakpoint --- */
@media (max-width: 782px) {
    /* Header */
    .entry-header {
        padding: 15px 15px;
    }

    .logo-img {
        max-width: 300px;
    }

    /* Navigation */
    #main-navigation .wrapped-content {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    /* Show responsive menu button */
    .responsive-menu-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        background: none;
        border: none;
        border-top: none;
        cursor: pointer;
        font-size: 14px;
        color: #000;
    }

    /* Hide desktop menu, show on toggle */
    .site-menu-wrapper {
        width: 100%;
        display: none;
    }

    .site-menu-wrapper.active {
        display: block;
    }

    #site-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #site-menu li {
        border-bottom: 1px solid #e0e0e0;
    }

    #site-menu li:last-child {
        border-bottom: none;
    }

    #site-menu li a {
        display: block;
        padding: 10px 20px;
        font-size: 12px;
        letter-spacing: 1.5px;
        text-align: left;
    }

    #site-menu li a:hover,
    #site-menu li.current-menu-item > a {
        background-color: rgba(0, 0, 0, 0.03);
    }

    /* Hide search on mobile */
    .main-navigation-search {
        display: none;
    }

    /* Main Content */
    .main-content {
        padding: 0 15px;
    }

    .main-content .wrapped-content {
        padding: 20px 0;
    }

    /* Page Title */
    .page-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Content typography */
    .post-page-content h2 {
        font-size: 20px;
    }

    .post-page-content h3 {
        font-size: 17px;
    }

    .post-page-content p {
        font-size: 16px;
        line-height: 28px;
    }

    .post-page-content ul {
        margin-left: 15px;
    }

    .post-page-content ul li {
        font-size: 16px;
        line-height: 28px;
    }

    /* Media Text stack on mobile */
    .wp-block-media-text {
        grid-template-columns: 100% !important;
        gap: 15px;
        margin: 20px 0;
    }

    .wp-block-media-text__content p {
        font-size: 16px;
        line-height: 28px;
    }

    /* Sidebar on mobile - full width, stacked below */
    .sidebar-right-wrap {
        width: 100%;
        margin-top: 20px;
    }

    .sidebar-right {
        padding-left: 0;
    }

    .widget-title {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .widget_nav_menu ul li a {
        font-size: 13px;
        padding: 9px 15px;
    }

    .widget-chat-image {
        padding: 10px;
    }

    /* Footer */
    #site-footer {
        padding: 15px 0;
    }

    .footer-credits {
        font-size: 12px;
    }

    /* Chat FAB - smaller on mobile */
    .chat-fab {
        width: 46px;
        height: 46px;
        font-size: 20px;
        bottom: 18px;
        right: 18px;
    }

    /* Scroll to top */
    .scrolltop {
        width: 36px;
        height: 36px;
        font-size: 18px;
        bottom: 18px;
        right: 18px;
    }
}

/* --- Small Mobile Breakpoint --- */
@media (max-width: 480px) {
    .entry-header {
        padding: 12px 10px;
    }

    .logo-img {
        max-width: 240px;
    }

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

    .page-title {
        font-size: 20px;
    }

    .post-page-content h2 {
        font-size: 18px;
    }

    .post-page-content h3 {
        font-size: 16px;
    }

    .post-page-content p,
    .post-page-content ul li {
        font-size: 15px;
        line-height: 26px;
    }

    #site-menu li a {
        font-size: 11px;
        letter-spacing: 1px;
        padding: 9px 15px;
    }

    .widget_nav_menu ul li a {
        font-size: 12px;
    }

    hr {
        width: 80px;
        margin: 20px auto;
    }

    .post-page-content hr {
        width: 80px;
        margin: 20px auto;
    }
}
