﻿.header {
    width: 1100px;
    margin: 30px auto;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    direction: rtl;
}

.img img {
    width: 100%;
    height: 420px;
    object-fit: contain;
}

.title {
    padding: 20px;
}

    .title h1 {
        margin: 0;
        font-size: 24px;
    }

    .title p {
        color: #6b7280;
        line-height: 2;
        margin-top: 10px;
    }

/* =========================
   CONTENT
========================= */
.content {
    width: 1100px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
}

/* =========================
   MAIN CONTENT
========================= */
.main {
    flex: 3;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    direction:rtl
}

    .main p {
        line-height: 2;
        color: #374151;
        margin-bottom: 15px;
    }

/* =========================
   SIDEBAR
========================= */
.side {
    flex: 1;
}

/* BOX DESIGN (MODERN DARK) */
.box {
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #fff;
    padding: 16px;
    margin-bottom: 15px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;direction:rtl
}

    /* glow effect */
    .box::before {
        content: "";
        position: absolute;
        top: -40px;
        right: -40px;
        width: 120px;
        height: 120px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
    }

    /* title */
    .box h3 {
        color: ghostwhite;
        margin-top: 0;
        padding-right: 10px;
        border-right: 3px solid #60a5fa;
        font-size: 21px;
    }

    /* links */
    .box a {
        display: block;
        padding: 8px 0;
        text-decoration: none;
        color: #cbd5e1;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        transition: 0.2s;
    }

        .box a:hover {
            color: #fff;
            padding-right: 5px;
        }

    /* contact text */
    .box div {
        color: #cbd5e1;
        margin: 6px 0;
        font-size: 13px;
    }

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px) {

    .header,
    .content {
        width: 95%;
        flex-direction: column;
    }

    .img img {
        height: 260px;
    }
}
