/* =======================================================
       1. GLOBAL OVERFLOW LOCK (ডানপাশের স্ক্রলবার অদৃশ্য করার কোড)
       ======================================================= */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ব্রাউজার থেকে স্ক্রলবার হাইড করার ট্রিক */
    ::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari, Opera */
    }
    html {
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE and Edge */
    }

    /* =======================================================
       2. CIVIL & CARPENTRY LAYOUT
       ======================================================= */
    .civil-carpentry-container {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        max-width: 1200px;
        margin: 40px auto;
        padding: 20px;
        color: #333333;
        box-sizing: border-box;
    }

    /* Intro Section Styling */
    .civil-intro {
        text-align: center;
        margin-bottom: 50px;
        padding: 0 15px;
    }
    .civil-intro h1 {
        font-size: 2.3rem;
        color: #0d47a1; /* Theme Blue */
        margin-bottom: 15px;
        font-weight: 700;
        line-height: 1.3;
    }
    .civil-intro p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #333333; /* স্পষ্ট রিডিবিলিটির জন্য ডার্ক টেক্সট */
        max-width: 850px;
        margin: 0 auto;
    }

    /* Responsive Grid Layout */
    .civil-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
    }

    /* Card Styling */
    .civil-card {
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 30px;
        position: relative;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .civil-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-color: #0d47a1;
    }

    /* Card Number Badge */
    .civil-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
        font-weight: 800;
        color: #e3f2fd;
        user-select: none;
    }

    .civil-card h2 {
        font-size: 1.35rem;
        color: #1565c0;
        margin-bottom: 20px;
        padding-right: 40px;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 10px;
        line-height: 1.4;
    }

    /* List inside Cards */
    .civil-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .civil-list li {
        font-size: 0.98rem;
        line-height: 1.6;
        margin-bottom: 15px;
        color: #444444;
        position: relative;
        padding-left: 20px;
    }
    /* Custom Blue Bullet Points */
    .civil-list li::before {
        content: "•";
        color: #1e88e5;
        font-weight: bold;
        font-size: 1.2rem;
        position: absolute;
        left: 0;
        top: -1px;
    }
    .civil-list li strong {
        color: #111111;
    }

    /* Tip Box at Bottom */
    .civil-tip-box {
        background-color: #fff9c4;
        border-left: 5px solid #fbc02d;
        padding: 20px;
        border-radius: 4px 8px 8px 4px;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .civil-tip-icon {
        font-size: 1.5rem;
    }
    .civil-tip-box p {
        margin: 0;
        font-size: 0.95rem;
        color: #5d4037;
        line-height: 1.5;
    }

    /* Responsive Adjustments for Tablets and Mobile */
    @media (max-width: 768px) {
        .civil-grid {
            grid-template-columns: 1fr; /* ছোট স্ক্রিনে কার্ডগুলো এক কলামে নিচে নিচে চলে আসবে */
            gap: 20px;
        }
        .civil-intro h1 {
            font-size: 1.8rem;
        }
        .civil-card {
            padding: 20px;
        }
        .civil-intro p {
            font-size: 1rem;
        }
    }
    
    
    
    
    .general1-img{
        width: 100%;
    }