/* জেনারেল সেটিংস */
body { 
    margin: 0; 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background: #e3f2fd; 
    overflow-x: hidden; 
}

/* PC Header */
.header { 
    background: #0288d1; 
    color: white; 
    padding: 35px 15px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.header-center-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    max-width: 1100px;
}

.logo img { width: 115px; height: auto; }
.titles h1 { margin: 0; font-size: 34px; }
.titles h3 { margin: 5px 0; color: #ffd700; font-size: 22px; }
.slogan { font-size: 16px; font-style: italic; opacity: 0.9; }

/* Navbar */
.navbar { 
    background: #01579b; 
    text-align: center; 
    padding: 15px; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.navbar a { 
    color: white; 
    text-decoration: none; 
    padding: 0 20px; 
    font-weight: bold; 
    font-size: 16px; 
}

/* Page Indicator Badge */
.page-title-box { text-align: center; margin: 30px 0; }
.indicator-badge {
    background: #b3e5fc;
    padding: 12px 50px;
    border-radius: 15px;
    color: #01579b;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    border-bottom: 6px solid #0288d1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* পাঠাগার বাটন */
.library-container {
    max-width: 1100px;
    margin: 20px auto 0 auto;
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
}

.library-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffd700;
    color: #01579b;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #01579b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* কন্টাক্ট কন্টেইনার */
.contact-container {
    max-width: 1100px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    padding: 0 20px;
}

.contact-info, .contact-form, .social-box-full {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-bottom: 6px solid #0288d1;
}

.contact-info h2, .contact-form h2, .social-box-full h2 {
    color: #01579b;
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-info p { font-size: 18px; margin-bottom: 20px; color: #333; }

.map-box {
    width: 100%;
    height: 180px;
    background: #e3f2fd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #0288d1;
    color: #0288d1;
}

/* ফরম এলিমেন্ট */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background: #f9f9f9;
    box-sizing: border-box;
}

.send-btn {
    background: #0288d1;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    transition: 0.3s;
}

.send-btn:hover { background: #01579b; }

/* সোশ্যাল বক্স */
.social-box-full {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

.social-grid-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-card {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
}

.social-card.fb { background: #1877F2; }
.social-card.yt { background: #FF0000; }
.social-card.tg { background: #0088cc; }

.social-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.2); }

/* ফুটার */
.footer {
    background: #01579b;
    color: white;
    text-align: center;
    padding: 15px 10px;
    margin-top: 50px;
    border-top: 4px solid #ffd700;
    font-size: 14px;
}

/* =====================================
   শুধুমাত্র মোবাইলের জন্য (Mobile Only)
   ===================================== */
@media (max-width: 767px) {
    .header-center-wrapper { gap: 12px; }
    .logo img { width: 75px; }
    .titles h1 { font-size: 20px; }
    .titles h3 { font-size: 15px; }
    .slogan { font-size: 12px; }

    .navbar a { padding: 0 10px; font-size: 14px; }
    .indicator-badge { font-size: 18px; padding: 10px 30px; }

    .contact-container {
        grid-template-columns: 1fr; /* সাইড বাই সাইড থেকে নিচে নিচে */
        margin: 20px auto;
        padding: 0 15px;
    }

    .contact-info, .contact-form, .social-box-full {
        padding: 25px 20px;
    }

    .library-container { justify-content: flex-end; }
    .library-btn { font-size: 14px; padding: 8px 15px; }

    .social-grid-links {
        flex-direction: column;
    }
    .social-card {
        justify-content: center;
    }
    
    .footer { font-size: 12px; }
}