body {
    margin: 0;
 font-family: "Montserrat", sans-serif;
    background-color: #ffffff;
}

/* HEADER */
.header {
    padding: 20px 40px;
}

.logo img {
    height: 80px;      /* Desktop üçün fix height */
    width: auto;       /* eni avtomatik uyğunlaşır */
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .logo img {
        height: 65px;
    }
}

/* Mobil */
@media (max-width: 600px) {
    .logo img {
        height: 55px;
    }
}


/* MAIN SECTION */
.main {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left {
    width: 60%;
}

.left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right {
    width: 40%;
    background: #6f8ec5;
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    font-size: 24px;
    margin-bottom: 18px;
    font-weight: 600;
}

.contact {
    margin-top: 40px;
}

.contact p {
    margin: 5px 0;
    color: #dfe8ff;
    font-size: 18px;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .main {
        flex-direction: column;
        height: auto;
    }

    .left, .right {
        width: 100%;
        height: auto;
    }

    .right {
        padding: 40px;
    }
}



.page {
    display: flex;
    gap: 40px;
    padding: 60px 80px;
    align-items: flex-start;
}

.page .text {
    width: 60%;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
}

.page .text h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d2d2d;
}

.page .image {
    width: 40%;
}

.page .image img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

/* =============================
   MOBILE RESPONSIVE
   ============================= */

/* Desktop üçün – burda artıq SCROLL-U AÇIRIQ */
@media (min-width: 992px) {
    html, body {
        height: auto;          /* 100% olmasına ehtiyac yoxdur */
    }

    body {
        overflow-y: auto;      /* scroll normal işləsin */
    }

    /* Content container-ın yuxarı/aşağı boşluğunu bir az azaldırıq */
    .container.my-4.my-md-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    /* İstəsən kontenti yenə limitləyə bilərsən, amma scroll-u bağlama! */
    .content-box {
        max-height: none;      /* istəyirsənsə bu sətri silmə, belə qalsın */
        overflow: visible;
    }

    /* Şəkillər desktopda bir az iri olsun */
    .home-side-img {
        height: 180px;
        margin-bottom: 16px;
    }
}


@media (max-width: 576px) {
    .page .text {
        font-size: 16px;
    }
}


.circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #4c6fbf;
    margin: 0 auto 20px;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.services-page {
    padding: 70px 80px;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

/* GRID – 5 sütun */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    text-align: center;
}

.service-item {
    width: 100%;
}

/* Dairələr */
.circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #4c6fbf;
    margin: 0 auto 20px;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Başlıqlar */
.service-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2d4a8a;
    margin-bottom: 15px;
    min-height: 55px;
}

/* List */
.service-item ul {
    list-style: none;
    padding: 0;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* Mobil */
@media(max-width: 1200px){
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px){
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}




.law-page {
    padding: 70px 80px;
}

.law-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #4a4a4a;
    letter-spacing: 0.5px;
}

.law-list {
    list-style: none;
    padding-left: 0;
    font-size: 18px;
    line-height: 2;
    color: #555;
}

.law-list li::before {
    content: "- ";
    margin-right: 4px;
}




.contact-page {
    padding: 70px 80px;
}

.contact-title {
    font-size: 20px;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 40px;
}

/* FORM STRUCTURE */
.contact-form {
    width: 100%;
    max-width: 1100px;
}

.form-row {
    display: grid;
    grid-template-columns: 300px auto;
    align-items: center;
    margin-bottom: 25px;
}

.form-row label {
    background: #d7d7ef;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #3b4a7f;
    border-right: none;
    color: #333;
    font-weight: 600;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #3b4a7f;
    font-size: 16px;
    outline: none;
    resize: none;
}

.textarea-row {
    grid-template-columns: 300px auto;
}

.textarea-row textarea {
    height: 230px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row label {
        border-right: 1px solid #3b4a7f;
    }

    .textarea-row textarea {
        height: 180px;
    }
}










.process-page {
    padding: 70px 80px;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #4a4a4a;
}

.process-text {
    font-size: 17px;
    width: 80%;
    margin-bottom: 50px;
    color: #666;
}

.process-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.process-box {
    width: 18%;
    text-align: center;
}

.process-box .circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #d5d4f5;
    border: 4px solid #475fa8;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.process-box h3 {
    font-size: 19px;
    color: #40558c;
    margin-bottom: 12px;
    min-height: 50px;
    font-weight: 700;
}

.process-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .process-row {
        flex-wrap: wrap;
    }
    .process-box {
        width: 45%;
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .process-box {
        width: 100%;
    }
}




.menu a {
    color: inherit;
    text-decoration: none;
}

.menu a:hover {
    text-decoration: underline;
}







.back-btn-box {
    margin-top: 40px;
    text-align: left; /* sola dayansın */
}

.back-btn {
    background: #4a64ff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.back-btn:hover {
    background: #3a52d0;
}
/* ======================
   HEADER UPGRADE (WORKS 100%)
   ====================== */

.header {
    padding: 26px 40px !important; /* больше воздуха сверху */
    background-color: #ffffff !important; 
    border-bottom: 1px solid #dbe2f2 !important; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
}

.header table, 
.header table td {
    vertical-align: middle !important;
}

/* ======================
   RIGHT BLOCK UPGRADE
   ====================== */

.right {
    background: linear-gradient(180deg, #6f8ec5 0%, #587bb5 100%) !important;
}

/* ======================
   FIX MAIN SPACING
   ====================== */

.main {
    margin-top: -8px !important; /* подтягивает контент к шапке */
}

.left img {
    filter: brightness(1.07) !important; /* картинка слегка светлее */
}

/* ======================
   MENU TEXT IMPROVED
   ====================== */

.menu li {
    font-size: 22px !important;
    margin-bottom: 14px !important;
}

.menu a {
    font-weight: 600 !important;
}




