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 – MODERN LOOK
   ============================== */

.contact-page {
    padding: 80px 0;
    background: #f3f5fb; /* açıq fon */
}

/* Başlıq */
.contact-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e2754;
    letter-spacing: 0.6px;
    margin: 0 auto 30px;
    max-width: 1100px;
}

/* FORM CONTAINER */
.contact-form {
    width: 90%;
    max-width: 100%;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(17, 35, 90, 0.12);
    border: 1px solid #e0e5fb;
}

/* ROWLAR */
.form-row {
    display: grid;
    grid-template-columns: 280px auto;
    align-items: stretch;
    margin-bottom: 22px;
}

/* Label tərəfi */
.form-row label {
    background: #e4e6fb;
    padding: 14px 18px;
    font-size: 14px;
    border: 1px solid #c2c8f1;
    border-right: none;
    color: #232b5c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 10px 0 0 10px;
    display: flex;
    align-items: center;
}

/* Input & textarea */
.form-row input,
.form-row textarea {
    
    padding: 14px 16px;
    border: 1px solid #c2c8f1;
    font-size: 15px;
    outline: none;
    resize: none;
    border-radius: 0 10px 10px 0;
    font-family: "Montserrat", sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background-color: #fafbff;
}

/* Focus effekti */
.form-row input:focus,
.form-row textarea:focus {
    border-color: #4a64ff;
    box-shadow: 0 0 0 3px rgba(74, 100, 255, 0.15);
    background-color: #ffffff;
}

/* Textarea xüsusi ölçü */
.textarea-row {
    grid-template-columns: 280px auto;
}

.textarea-row textarea {
    min-height: 220px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-page {
        padding: 50px 20px;
    }

    .contact-form,
    .contact-title {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row label {
        border-radius: 10px 10px 0 0;
        border-right: 1px solid #c2c8f1;
    }

    .form-row input,
    .form-row textarea {
        border-radius: 0 0 10px 10px;
    }

    .textarea-row textarea {
        min-height: 180px;
    }
}

/* Geri düyməsi */
.back-btn-box {
    margin-top: 25px;
    max-width: 1100px;
}

.back-btn {
    background: #4a64ff;
    color: #ffffff;
    border: none;
    padding: 10px 26px;
    font-size: 15px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    font-weight: 500;
}

.back-btn:hover {
    background: #394fde;
    box-shadow: 0 8px 18px rgba(57, 79, 222, 0.35);
    transform: translateY(-1px);
}

.back-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(57, 79, 222, 0.25);
}








.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;
}



/* ================================
   14" ekran üçün FIT (NO SCROLL)
   Sonda əlavə et (override)
   ================================ */

/* Tipik 14" laptop: 1366x768 və oxşar hündürlüklər */
@media (min-width: 992px) and (max-height: 820px) {

  html, body{
    height: 100%;
    overflow: hidden; /* SCROLL YOX */
  }

  /* HEADER daha incə */
  .header{
    padding: 10px 24px !important;
  }
  .logo img{
    height: 52px !important;
  }

  /* MAIN həmişə ekrana sığsın */
  .main{
    height: calc(100vh - 72px) !important; /* header-in təxmini hündürlüyü */
    margin-top: 0 !important;
  }

  /* Sağ blok padding az, mətnlər balaca */
  .right{
    padding: 26px !important;
  }

  .menu li{
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }

  .contact{
    margin-top: 18px !important;
  }
  .contact p{
    font-size: 14px !important;
  }

  /* Ümumi səhifə section-ları sıxlaşdır */
  .page,
  .services-page,
  .law-page,
  .process-page{
    padding: 30px 32px !important;
  }

  .page .text{
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .page .text h2,
  .page-title,
  .contact-title{
    font-size: 18px !important;
    margin-bottom: 16px !important;
  }

  /* Services dairələri + başlıqlar kiçilsin */
  .services-grid{
    gap: 18px !important;
  }
  .circle{
    width: 110px !important;
    height: 110px !important;
    border-width: 3px !important;
    margin: 0 auto 12px !important;
  }
  .service-item h3{
    font-size: 16px !important;
    margin-bottom: 8px !important;
    min-height: 36px !important;
  }
  .service-item ul{
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  /* Process hissəsi sıx */
  .process-text{
    font-size: 14px !important;
    width: 100% !important;
    margin-bottom: 18px !important;
  }
  .process-row{
    gap: 14px !important;
  }
  .process-box .circle{
    width: 110px !important;
    height: 110px !important;
  }
  .process-box h3{
    font-size: 15px !important;
    min-height: 34px !important;
    margin-bottom: 6px !important;
  }
  .process-box p{
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  /* Contact form çox yer tutursa – daha yığcam */
  .contact-page{
    padding: 30px 0 !important;
  }
  .contact-form{
    padding: 18px 18px !important;
    border-radius: 12px !important;
  }
  .form-row{
    margin-bottom: 12px !important;
    grid-template-columns: 220px auto !important;
  }
  .form-row label{
    padding: 10px 12px !important;
    font-size: 12px !important;
  }
  .form-row input,
  .form-row textarea{
    padding: 10px 12px !important;
    font-size: 13px !important;
  }
  .textarea-row textarea{
    min-height: 120px !important;
  }

  /* Geri düyməsi də kiçik */
  .back-btn-box{
    margin-top: 14px !important;
  }
  .back-btn{
    padding: 8px 14px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }
}

