
/* =========================================
   CONTACT PAGE - PROFESSIONAL DESIGN
   LEGAL MANAGEMENT SYSTEM
========================================= */

:root {
    --contact-primary-dark: #283957;
    --contact-primary: #3b527c;
    --contact-accent: #f80707;
    --contact-bg: #f4f6fa;
    --contact-white: #ffffff;
    --contact-text: #263449;
    --contact-muted: #718096;
    --contact-border: #e5eaf1;
}


/* =========================================
   PAGE CONTAINER
========================================= */

.page-container {
   .page-container {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}
}


/* =========================================
   CONTACT CARD
========================================= */

.address_side {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    box-sizing: border-box;
}

.address_side:hover {
    box-shadow:
        0 8px 25px rgba(40, 57, 87, 0.09);
}


/* =========================================
   CONTACT HEADING
========================================= */

.address_side h1 {
    position: relative;

    margin: 0 0 28px;
    padding-bottom: 17px;

    color: var(--contact-primary-dark);

    font-size: 25px;
    font-weight: 700;

    letter-spacing: -0.4px;

    border-bottom: 1px solid var(--contact-border);
}

.address_side h1::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -1px;

    width: 65px;
    height: 3px;

    background: var(--contact-primary);

    border-radius: 5px;
}


/* =========================================
   CONTACT INFORMATION ROW
========================================= */

.address_side .addres,
.address_side .mail,
.address_side .number {

    display: flex;
    align-items: center;

    gap: 17px;

    width: 100%;
    min-height: 65px;

    margin-bottom: 14px;
    padding: 15px 18px;

    background: #fafbfd;

    border: 1px solid var(--contact-border);
    border-radius: 9px;

    box-sizing: border-box;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* =========================================
   CONTACT ICON
========================================= */

.address_side .addres img,
.address_side .mail img,
.address_side .number img {

    display: block;

    width: 25px;
    height: 25px;

    object-fit: contain;

    flex-shrink: 0;
}


/* =========================================
   CONTACT TEXT
========================================= */

.address_side .addres span,
.address_side .mail a,
.address_side .number a {

    color: var(--contact-text);

    font-size: 15px;
    font-weight: 500;

    line-height: 1.7;

    text-decoration: none;

    overflow-wrap: anywhere;
    word-break: normal;
}


/* =========================================
   CONTACT HOVER EFFECT
========================================= */

.address_side .addres:hover,
.address_side .mail:hover,
.address_side .number:hover {

    background: var(--contact-white);

    border-color: #b8c7dc;

    transform: translateY(-2px);

    box-shadow:
        0 4px 12px rgba(40, 57, 87, 0.06);
}


/* =========================================
   EMAIL LINK
========================================= */

.address_side .mail a {

    color: var(--contact-primary);

    transition: color 0.2s ease;
}

.address_side .mail a:hover {

    color: var(--contact-accent);

    text-decoration: underline;
}


/* =========================================
   PHONE LINK
========================================= */

.address_side .number a {

    color: var(--contact-primary);

    font-weight: 600;

    transition: color 0.2s ease;
}

.address_side .number a:hover {

    color: var(--contact-accent);
}


/* LAST ROW */
.address_side .number {
    margin-bottom: 0;
}


/* =========================================
   PAGE LAYOUT PROTECTION
========================================= */

.page-layout {
    width: 100%;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: stretch;
}

body {
    overflow-x: hidden;
}

main-header {
    /* Header-এর নিজস্ব CSS অপরিবর্তিত থাকবে */
    flex-shrink: 0;
}

/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 768px) {

   .page-container {
        padding: 20px 14px;
    }

    
     .page-layout {
        height: calc(100vh - 62px);
    }

    .address_side {
        padding: 25px 18px;
        margin: 15px auto;
    }

    .address_side h1 {
        font-size: 22px;

        margin-bottom: 23px;
    }

    .address_side .addres,
    .address_side .mail,
    .address_side .number {

        gap: 13px;

        min-height: 60px;

        padding: 13px;
    }

    .address_side .addres span,
    .address_side .mail a,
    .address_side .number a {

        font-size: 14px;
    }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 480px) {

    .page-container {
        padding: 18px 12px;
    }

    .address_side {

        margin: 15px auto;

        padding: 22px 15px;

        border-radius: 9px;
    }

    .address_side h1 {

        font-size: 20px;

        margin-bottom: 20px;

        padding-bottom: 14px;
    }

    .address_side .addres,
    .address_side .mail,
    .address_side .number {

        gap: 10px;

        padding: 12px 10px;

        min-height: 55px;

        border-radius: 8px;
    }

    .address_side .addres img,
    .address_side .mail img,
    .address_side .number img {

        width: 22px;
        height: 22px;
    }

    .address_side .addres span,
    .address_side .mail a,
    .address_side .number a {

        font-size: 13px;

        line-height: 1.6;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .page-container {
        padding: 15px 8px;
    }

    .address_side {
        padding: 20px 12px;
    }

    .address_side h1 {
        font-size: 19px;
    }

    .address_side .addres,
    .address_side .mail,
    .address_side .number {
        gap: 8px;
        padding: 10px 8px;
    }

}
