/* ================================================= */
/* 1. Global Variables and Base Reset */
/* ================================================= */

:root {
    --primary-color: #333;
    --secondary-color: #e6b800; /* Yellowish color (Used for highlights) */
    --text-color: #444;
    --bg-color: #f7f7f7;
    --white-color: #ffffff;
    --footer-bg: #8B4513; 
    --footer-text: #fff;
    --hero-text-color: #000; 
    --highlight-color: #e6b800; /* Added for clarity */
    --ac-card-color: #9c27b0; /* এসি কার্ডের শিরোনাম/বোতামের জন্য বেগুনি রং */
}

* {
    box-sizing: border-box; /* এখানে border-sizing এর বদলে border-box করা হলো */
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    direction: rtl; /* For Arabic/Right-to-Left feel */
}

body {
    background-color: var(--bg-color);
    line-height: 1.6;
    /* আপনার দেওয়া অনির্বাচিত টেক্সট স্টাইল যোগ করা হলো */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    /* মোবাইল ফুল স্ক্রিনের জন্য ডিফল্ট প্যাডিং সামান্য কমানো হলো */
    padding: 10px; 
}
/* ================================================= */
/* 2. Header and Navigation (Mobile First) */
/* ================================================= */

.header {
    background-color: var(--white-color);
    /* মোবাইলে বাম/ডানে প্যাডিং দরকার নেই যদি কন্টেইনার ফুল স্ক্রিন হয় */
    padding: 15px 10px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo Styling */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    order: 3; 
}

.logo-link img {
    height: 50px; 
    width: 50px; 
    object-fit: cover; 
    border-radius: 50%; 
    color: transparent; 
}

/* Header Text Styling (for "تركيب جبس بورد") */
.header-text {
    flex-grow: 1; 
    text-align: center; 
    padding: 0;
    margin: 0; 
    order: 2; 
}

.header-text h1 {
    font-size: 20px; 
    color: var(--primary-color); 
    margin: 0; 
    white-space: nowrap; 
}


/* Menu Button and Toggle */
.menu-toggle {
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
    position: relative;
    z-index: 1001; 
    order: 1; 
}

.nav-menu {
    list-style: none;
    display: none;
    position: fixed; 
    top: 0;
    right: 0;
    width: 70%; 
    max-width: 300px;
    height: 100%;
    background-color: var(--white-color);
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    padding-top: 60px; 
    z-index: 999;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%); 
}

.nav-menu.active {
    display: block;
    transform: translateX(0); 
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.nav-menu li a:hover {
    background-color: #f0f0f0;
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 20px; 
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
}

/* ================================================= */
/* 3. Hero Section and CTA */
/* ================================================= */

.hero-image-container {
    max-height: 300px; 
    overflow: hidden;
    margin-bottom: 0; 
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-text-section {
    background-color: var(--white-color); 
    /* কন্টেইনার প্যাডিং কমানোর কারণে এখানেও প্যাডিং কমানো হলো */
    padding: 15px 10px; 
    text-align: right; 
    margin-bottom: 10px; /* মার্জিন কমানো হলো */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-text-section h1 {
    font-size: 30px; 
    font-weight: 900; 
    margin-bottom: 5px; 
    color: var(--hero-text-color); 
    line-height: 1.2;
}

.hero-text-section h2 {
    font-size: 30px; 
    font-weight: 900; 
    color: var(--hero-text-color);
    margin-bottom: 5px;
    line-height: 1.2;
}

.hero-text-section .number {
    color: #d82d2d; 
    font-weight: 900;
}

.hero-text-section p {
    font-size: 26px; 
    font-weight: 900;
    color: var(--hero-text-color);
    margin-bottom: 5px;
    line-height: 1.2;
}

/* ================================================= */
/* 4. Fixed Contact Buttons (Floating CTAs) */
/* ================================================= */

.fixed-contact {
    position: fixed;
    /* মোবাইলে কিনারা পর্যন্ত যেতে প্যাডিং কমানো হলো */
    left: 10px; 
    bottom: 10px; 
    top: auto;
    transform: none; 
    display: flex;
    flex-direction: column;
    gap: 10px; 
    z-index: 100;
}

.contact-btn {
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px; 
    text-decoration: none;
    color: var(--white-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.contact-btn.call { 
    background-color: #4caf50; 
    border: 2px solid var(--white-color); 
} 
.contact-btn.whatsapp { 
    background-color: #25d366; 
    border: 2px solid var(--white-color); 
} 
.contact-btn.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #ffae38 45%, #fd1d1d 60%, #bc1888 90%); 
    border: 2px solid var(--white-color); 
    border-radius: 50%; 
    position: relative;
    overflow: hidden;
}
.contact-btn:hover {
    transform: scale(1.1);
}
/* ================================================= */
/* 5. Table of Content (TOC) and Content Sections (FIXED) - চূড়ান্ত সংশোধিত */
/* ================================================= */

/* প্রধান কন্টেইনার: details ট্যাগ */
.toc-box {
    background-color: var(--white-color);
    border: 1px solid #ddd;
    padding: 0; 
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 
    display: block; 
}

/* TOC শিরোনাম/Summary: যা ক্লিক করলে খুলে/বন্ধ হয় */
.toc-box summary {
    list-style: none; /* ডিফল্ট তীর চিহ্ন লুকানোর জন্য */
    cursor: pointer;
    background-color: #f5f5f5;
    padding: 15px 10px; 
    border-radius: 5px;
    font-weight: bold;
    color: var(--primary-color);
    outline: none;
    transition: background-color 0.2s;
    display: flex; 
    align-items: center;
    justify-content: flex-end; /* RTL এর জন্য ডানদিকে এলাইন */
    position: relative;
    user-select: none;
}
.toc-box summary:hover {
    background-color: #eee;
}

/* Custom Icon (ভিডিওর মতো লিস্ট আইকন - শিরোনামের জন্য) */
.toc-box summary::before {
    content: '\2630'; /* Unicode for list icon (☰) */
    font-size: 20px;
    margin-left: 10px; 
    color: var(--primary-color);
    order: 1; /* RTL এর জন্য বাম দিকে থাকবে */
}

/* TOC-এর ভিতরের শিরোনাম (h3) */
.toc-box summary h3 {
    border-bottom: none; 
    padding-bottom: 0;
    margin-bottom: 0;
    color: var(--primary-color);
    font-size: 20px; 
    font-weight: bold;
    flex-grow: 1;
    text-align: right; /* RTL এর জন্য ডান দিকে টেক্সট */
    order: 2;
}

/* TOC UL (তালিকা) স্টাইল */
.toc-box ul {
    list-style: none; 
    padding: 5px 10px 10px 10px; 
    border-top: 1px solid #eee; 
    margin: 0; 
}

/* TOC LI স্টাইল (কাস্টম বুলেট যোগের জন্য পরিবর্তন) */
.toc-box ul li {
    background-color: var(--white-color); 
    transition: background-color 0.3s, color 0.3s;
    border-radius: 3px;
    margin: 3px 0;
    position: relative; /* কাস্টম বুলেট পজিশন করার জন্য */
}

/* কাস্টম স্টার বুলেট যোগ (আপনার চাওয়া ইউনিক ডিজাইন) */
.toc-box ul li::before {
    content: "⭐"; /* Star Unicode */
    font-size: 14px; /* সাইজ অ্যাডজাস্টমেন্ট */
    position: absolute;
    right: 0; /* RTL এর জন্য ডানদিকে ফিক্সড */
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color); /* রঙের মাধ্যমে হাইলাইট */
}

/* TOC লিঙ্ক স্টাইল (স্পষ্টতা ও ক্লিকযোগ্যতা বৃদ্ধি) */
.toc-box a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    /* আইকনের জন্য ডানদিকে প্যাডিং অ্যাডজাস্ট করা হলো */
    padding: 8px 10px 8px 10px; 
    padding-right: 25px; /* স্টার আইকন থেকে টেক্সটকে দূরে সরাতে */
    font-size: 16px; 
    font-weight: 600; 
}

/* হোভার ইফেক্ট */
.toc-box ul li:hover {
    background-color: var(--secondary-color); 
}

.toc-box ul li:hover a {
    color: var(--primary-color); 
    font-weight: bold;
}


.content-section {
    background-color: var(--white-color);
    padding: 15px 10px; 
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.keyword-link {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

/* ================================================= */
/* 6. Gallery and Image Styling (Zoom-In Edition)    */
/* ================================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
    /* পেজ স্থির রাখার জন্য overflow নিয়ন্ত্রণ */
    overflow: hidden; 
}

.gallery-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;

    /* শুরুর অবস্থা: ছোট এবং অদৃশ্য */
    opacity: 0;
    transform: scale(0.6); 
    
    /* অ্যানিমেশন ট্রানজিশন: cubic-bezier এটি একটি পপ-আপ ইফেক্ট দিবে */
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.7s ease-out;
    will-change: transform, opacity;
}

/* যখন স্ক্রল করে ১৫% সামনে আসবে তখন এই ক্লাসটি যুক্ত হবে */
.gallery-item.reveal {
    opacity: 1;
    transform: scale(1);
}

.gallery-item img {
    width: 100%;
    height: auto; 
    max-height: 400px;
    object-fit: contain; /* ছবি কাটবে না */
    display: block;
    transition: transform 0.5s ease;
    background-color: #f8f8f8;
}

/* হোভার করলে হালকা জুম ইন */
.gallery-item:hover img {
    transform: scale(1.05);
}

.caption-box {
    padding: 15px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #eee;
}

.caption-box p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
}

/* ফ্লোটিং বাটন যাতে সবসময় উপরে দেখা যায় এবং কাটা না পড়ে */
#back-to-top, .whatsapp-float, .call-float {
    z-index: 9999 !important;
    position: fixed;
}

/* পুরো পেজ স্থির রাখার জন্য */
body {
    overflow-x: hidden;
    width: 100%;
}
/* ================================================= */
/* 6.5. সার্ভিস কার্ড স্টাইল (Service Card Styles) - নতুন সংযোজন */
/* ================================================= */

.service-card {
    display: flex;
    flex-direction: row-reverse; /* RTL এর জন্য */
    align-items: center; 
    background-color: var(--white-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    overflow: hidden; 
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 40%; 
    height: 300px;
    object-fit: cover;
    margin-right: 20px; 
    border-radius: 4px; 
}

/* ছবির লেআউট উল্টানোর জন্য */
.service-card.reverse .service-image {
    order: 2;
    margin-right: 0;
    margin-left: 20px;
}

/* কার্ডের ভেতরের কন্টেন্ট (শিরোনাম, বর্ণনা, বোতাম) */
.card-content {
    width: 60%; 
    padding-right: 15px; 
    text-align: right;
}

.card-title {
    font-size: 24px;
    color: var(--ac-card-color); 
    margin-bottom: 10px;
    font-weight: bold;
    border-bottom: 2px solid var(--ac-card-color); 
    display: inline-block;
    padding-bottom: 5px;
}

.card-description {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.btn-details {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--ac-card-color); 
    color: var(--white-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-details:hover {
    background-color: #7b1fa2; 
}

/* ================================================= */
/* Related Services Links Styling (Revised for Clarity) */
/* ================================================= */

.related-services-links {
    background-color: var(--white-color);
    padding: 20px 15px; 
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* সেকশন শিরোনাম (h3) */
.related-services-links h3 {
    font-size: 24px; /* ফন্ট সাইজ আরও বাড়ানো হলো */
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color); /* হলুদ হাইলাইট আন্ডারলাইন */
    padding-bottom: 8px;
    margin-top: 15px;
    margin-bottom: 15px; 
    font-weight: 800; /* আরও গাঢ় করা হলো */
}

/* তালিকা (ul) */
.related-services-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* তালিকার প্রতিটি আইটেম (li) */
.related-services-links ul li {
    display: flex;
    align-items: center;
    padding: 12px 0; 
    border-bottom: 1px solid #eee; /* হালকা ড্যাশড-এর বদলে সলিড লাইন */
    transition: background-color 0.3s;
    cursor: pointer;
}

.related-services-links ul li:last-child {
    border-bottom: none; 
}

.related-services-links ul li:hover {
    background-color: #fcfcfc; /* হোভার ইফেক্ট */
    padding-right: 5px; 
}

/* লিংক (a) */
.related-services-links ul li a {
    font-size: 19px; /* ফন্ট সাইজ আরও স্পষ্ট করা হলো */
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700; /* গাঢ় করা হলো */
    flex-grow: 1; 
    transition: color 0.3s;
}

.related-services-links ul li a:hover {
    color: var(--secondary-color); 
}

/* আইকন (i) */
.related-services-links ul li i {
    font-size: 22px; /* আইকন সাইজ আরও বাড়ানো হলো */
    color: var(--secondary-color); /* আইকনের রঙ হাইলাইট (হলুদ) করে দেওয়া হলো */
    margin-left: 10px; 
    min-width: 20px; 
}



/* ================================================= */
/* 7. FAQ (Accordion Styling) - FINAL STYLES */
/* ================================================= */

.faq-section { 
    background-color: var(--white-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-section details {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-section summary {
    display: block; 
    padding: 15px;
    background-color: var(--bg-color);
    color: var(--primary-color);
    cursor: pointer;
    font-weight: bold;
    outline: none;
    position: relative;
    padding-left: 40px; 
    transition: background-color 0.2s;
}

.faq-section summary:hover {
    background-color: #ebebeb;
}

/* Custom Marker for RTL (Right-to-Left) */
.faq-section summary::after {
    content: '+';
    position: absolute;
    left: 15px; 
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.2s;
}

.faq-section details[open] summary::after {
    content: '-';
}

.faq-section details[open] summary {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.faq-section details p {
    padding: 15px;
    font-size: 15px;
    color: var(--text-color);
}

/* ================================================= */
/* 8. Contact Section Styling - FINAL STYLES */
/* ================================================= */

.contact-section {
    padding: 40px 20px; 
    text-align: center; 
}

.contact-details-grid {
    display: flex;
    justify-content: center;
    gap: 30px; 
    margin: 30px auto;
    flex-wrap: wrap; 
    max-width: 900px;
}

.contact-item {
    text-align: center;
    background-color: var(--white-color);
    border: 1px solid #eee;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 250px; 
}

.contact-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-item h3 {
    color: var(--primary-color); 
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    display: inline-block;
}

/* মূল ফোন নম্বর ও ওয়েবসাইট ডেটা */
.contact-data {
    font-size: 24px;
    font-weight: 700; 
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: color 0.3s;
}

.contact-data:hover {
    color: var(--secondary-color);
}

.contact-data .icon {
    font-size: 28px;
    margin-left: 10px; 
    line-height: 1; 
    color: var(--secondary-color); 
}

/* Location Info Styling */
.location-info {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 8px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* ================================================= */
/* 9. Modal (Lightbox) */
/* ================================================= */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* ================================================= */
/* 10. Back to Top Button */
/* ================================================= */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px; 
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 99;
}

#back-to-top:hover {
    opacity: 1;
}

/* ================================================= */
/* 11. Footer Styles */
/* ================================================= */

.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer .contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer .contact-buttons .btn {
    background-color: var(--white-color);
    color: var(--footer-bg);
    padding: 10px 20px;
    border-radius: 8px; 
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.footer .contact-buttons .btn.call {
    background-color: #4CAF50; 
    color: var(--white-color);
}

.footer .contact-buttons .btn.whatsapp {
    background-color: #25D366; 
    color: var(--white-color);
}

.footer .contact-buttons .btn.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
    color: var(--white-color);
}

.footer .contact-buttons .btn:hover {
    opacity: 0.9;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* ================================================= */
/* 12. Media Queries (Desktop/Tablet) */
/* ================================================= */

@media (min-width: 768px) {
    /* Hide mobile menu toggle */
    .menu-toggle {
        display: none;
    }
    
    /* Display full navigation bar on desktop */
    .nav-menu {
        all: unset; 
        display: flex;
        list-style: none;
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        padding-top: 0;
        transform: none;
    }
    
    .nav-menu li a {
        border-bottom: none;
        padding: 10px 15px;
    }
    
    .close-btn {
        display: none;
    }

    /* ডেস্কটপ ভিউয়ে কন্টেইনারে স্বাভাবিক প্যাডিং ফিরিয়ে আনা হলো */
    .container {
        padding: 20px;
    }
    /* ডেস্কটপে হেডার প্যাডিং ঠিক করা হলো */
    .header {
        padding: 15px 20px;
    }
    
    /* ডেস্কটপে কন্টেন্ট সেকশন, TOC বক্স ইত্যাদির প্যাডিং ঠিক করা হলো */
    .hero-text-section, .content-section, .toc-box {
        padding: 20px;
        margin-bottom: 20px;
    }
    .fixed-contact {
        /* ডেস্কটপে ডানদিকে সরিয়ে দেওয়া হলো */
        left: 20px; 
        bottom: 20px; 
    }
}

/* ================================================= */
/* 12.5. সার্ভিস কার্ডের জন্য মিডিয়া কোয়েরি (Media Queries for Service Card) - নতুন সংযোজন */
/* ================================================= */

@media (max-width: 992px) {
    .service-card {
        flex-direction: column; 
        align-items: stretch;
    }

    .service-image, .card-content {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        order: initial !important; 
    }

    .service-image {
        height: 250px; 
        margin-bottom: 15px; 
    }

    .service-card.reverse .service-image {
        margin-left: 0;
    }
}


/* ================================================= */
/* NEW 13. Blog Page Styles (Added for blog.html) */
/* ================================================= */

.blog-grid {
    /* ডেক্সটপে মেইন পোস্ট এবং সাইডবার লেআউটের জন্য */
    display: grid;
    /* মোবাইলে ডিফল্টভাবে ১ কলাম */
    grid-template-columns: 1fr; 
    gap: 30px;
    margin-top: 10px; /* মার্জিন কমানো হলো */
}

.main-posts {
    /* মেইন কন্টেন্ট এরিয়াকে গ্রিড হিসেবে দেখানোর জন্য */
    display: grid;
    /* ডেক্সটপে ২ কলামের কার্ড দেখানোর জন্য */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background-color: var(--white-color);
    border-radius: 8px;
    /* আকর্ষণীয় শ্যাডো */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none; /* নিশ্চিত করতে যে লিংক কালার ঠিক থাকে */
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.post-image {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 20px;
    /* পোস্ট কার্ডের নিচে জায়গা ফিক্সড রাখতে */
    flex-grow: 1; 
}

.post-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-content p {
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 15px;
    /* ডেসক্রিপশন ৩ লাইনে সীমিত করার জন্য */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

/* Sidebar Styles (ডেক্সটপে CTA এবং ইন্টারনাল লিংক দেখানোর জন্য) */
.sidebar {
    background-color: #f0f0f0; 
    padding: 20px;
    border-radius: 8px;
    /* মোবাইলে পুরো প্রস্থ নেয় */
    margin-top: 10px; /* মার্জিন কমানো হলো */
}

.sidebar h3 {
    font-size: 1.2em;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

/* Media Query for Desktop View */
@media (min-width: 768px) {
    .blog-grid {
        /* ডেক্সটপে 2/3 কন্টেন্ট এবং 1/3 সাইডবার */
        grid-template-columns: 3fr 1fr; 
    }
    
    .sidebar {
        /* ডেক্সটপে সাইডবারের মার্জিন উপরে দরকার নেই */
        margin-top: 0;
    }
}
/* ================================================= */
/* 14. General CTA Button Styles (For use inside content) */
/* ================================================= */

/* Base style for all buttons with class 'btn' */
.btn {
    text-decoration: none; /* Removes underline from links */
    font-weight: bold;
    display: inline-flex; /* Allows icon and text to align properly */
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text */
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Specific styles for the 'call' button */
.btn.call {
    background-color: #4CAF50; /* Primary Green Color */
    color: var(--white-color); /* White text */
    border: none;
}

/* Specific styles for the 'whatsapp' button (যদি আপনি অন্য কোথাও ব্যবহার করেন) */
.btn.whatsapp {
    background-color: #25D366; /* WhatsApp Green */
    color: var(--white-color);
    border: none;
}

/* Hover effects */
.btn.call:hover {
    background-color: #45a049; /* Slightly darker green on hover */
    transform: translateY(-2px);
}

.btn.whatsapp:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

/* --- CSS Styles for Price Table --- */

/* Main Container Styling */
.price-table-full {
    max-width: 1000px;
    margin: 30px auto;
    padding: 25px; /* Added more padding */
    background-color: #F8F9FA; /* Very light gray background for the section */
    border-radius: 12px; /* Smoother corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Clearer shadow */
}

/* Header/Title Styles */
.price-header-title {
    font-size: 28px; /* Slightly larger font */
    text-align: right;
    color: #1A5276;
    margin-bottom: 25px;
    border-right: 5px solid #F39C12; /* Thicker vertical accent bar */
    padding-right: 12px;
    font-weight: 700;
}

/* Introduction Text Styles */
.price-intro-text {
    text-align: right;
    margin-bottom: 30px;
    color: #34495E;
    line-height: 1.8;
    font-size: 16px;
}

/* Table Wrapper and Shadow */
.table-container-custom {
    overflow-x: auto;
    border: 2px solid #ddd; /* Clearer main border */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Main Table Styling */
.gypsum-full-price {
    width: 100%;
    border-collapse: collapse; /* Essential for clean lines */
    text-align: right; 
    font-family: 'Arial', sans-serif;
}

/* Table Header */
.gypsum-full-price thead {
    background-color: #D6EAF8; /* Slightly darker light blue header background */
}

.gypsum-full-price th {
    padding: 18px 15px; /* More padding in header */
    border: 1px solid #AAB7B8; /* Border for all header cells */
    font-weight: 700;
    color: #1A5276;
    font-size: 17px;
    text-align: center; /* Center align header text for better balance */
}

/* Table Body */
.gypsum-full-price td {
    padding: 15px 15px; /* Increased padding in cells */
    border: 1px solid #EAECEE; /* Light border for all body cells */
    color: #333;
    font-size: 15px;
    vertical-align: middle;
}

/* Zebra Striping */
.gypsum-full-price tbody tr:nth-child(even) {
    background-color: #F0F3F4; /* Clearer alternating color */
}

/* Column Alignment for RTL */
.service-col-rtl {
    width: 50%;
    text-align: right;
    font-weight: 600; /* Service names slightly bolder */
    color: #2C3E50;
}

.unit-col-rtl {
    width: 25%;
    text-align: center;
}

.price-range-rtl {
    width: 25%;
    font-weight: 700;
    color: #1E8449; /* Dark Green for price */
    text-align: center;
}

/* Note Text Styling */
.price-note-text {
    text-align: right;
    margin-top: 35px;
    color: #C0392B; 
    font-weight: bold;
    font-size: 17px;
    padding: 10px;
    background-color: #FADBD8; /* Light red background for emphasis */
    border-radius: 6px;
}

