:root {
    --blue : rgb(43, 47, 131);
    --green : #1F562A;
    --dark-blue : rgba(34, 113, 94, 60%);
    --light-blue : rgba(83, 255, 161, 30%);
    --blue3: #1d4ed8;
    --glass-border: rgba(255, 255, 255, 0.18);
    --transition: all 0.3s ease;
}
  
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'),
        url('../fonts/Vazirmatn-Bold.ttf') format('ttf');
    font-weight: 800;
    font-display: swap;
}
  
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'),
        url('../fonts/Vazirmatn-Regular.ttf') format('ttf');
    font-weight: 600;
    font-display: swap;
}


body{
    overflow-x: hidden !important;
    font-family: 'Vazirmatn' !important;
    min-height: 100vh;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 !important;
    padding: 0 !important;
}

/* header */

.header-div {
    background-image: url(../img/Frame\ 45.png);
    height: 700px;
}

.header-div ul {
    padding: 10px 15px;
    height: 80px;
    background-color: rgb(34, 113, 94, 2%);
    box-shadow: 0 0px 20px rgba(34, 113, 94, 0.2);
}

.header-div li{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin: 0 13px;
}

.header-div li:hover{
    background-color: var(--blue);
    border-radius: 20px;
    transition: all 0.3s ease;;
}

.header-div li:hover a{
    color: white !important;
}

.menu-icon{
    width: 26px;
    height: 23px;
    margin-left: 15px;
    transition: all 0.3s ease;;
}

.header-div li:hover path{
    fill: white !important;
}

li a{
    font-size: 19px !important;
    font-weight: 800 !important;
}

h1{
    font-weight: 800 !important;
    font-size: 30px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.datara {
    color: var(--blue);
}

.datara-img {
    width: 172px;
    height: 100px;
}

.header-div p {
    font-weight: 600 !important;
    font-size: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-div .first-btn {
    background-color: var(--green);
    width: 150px;
    height: 35px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.3s ease-out;
}

.header-div .first-btn:hover {
    background-color: #22715fab;
    box-shadow: 6px 6px 20px rgba(34, 113, 94, 0.5);
    transform: scale(1.1, 1.1);
    color: #ffffff !important;
}

.arrow{
    fill: white;
    transition: all 0.3s ease-out;
}


.header-div .first-btn:hover .arrow{
    transform: translate(-10px);
}

.navbar-toggler {
    border: none !important;
    position: relative;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0), 
                inset 0 0 0 rgba(0, 0, 0, 0) !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1100;
    overflow: hidden;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
    /* background-color: #2fa08567;
    box-shadow: 6px 6px 20px rgba(34, 113, 94, 0.5) !important; */
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(91, 134, 229, 0.3);
    outline: none;
}

.navbar-toggler::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120% !important;
    height: 120% !important;
    /* background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%) !important; */
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out, scale 0.3s ease;
}

.navbar-toggler:hover::after {
    transform: translate(-50%, -50%) scale(1.2) !important;
    opacity: 0.3 !important;
}

.navbar-toggler-icon {
    width: 40px !important;
    height: 40px !important;
    filter: drop-shadow(0 1px 1px rgb(34, 113, 94, 0.5));
    background-image: none !important;
    transition: scale 0.3s ease;
}

.navbar-toggler-icon:hover {
    transform: scale(1.2) !important;
    filter: drop-shadow(3px 2px 20px rgb(34, 113, 94, 0.5)) !important;
    background-image: none !important;
}

.navbar-toggler-icon[aria-expanded="true"] {
    background-image: url(../icons/close.png);
}

h2 {
    font-size: 27px !important;
    font-weight: 800 !important;
    color: var(--blue);
    text-align: center;
}

p{
    font-size: 16px !important;
    font-weight: 600 !important;
    color: black !important;
    text-align: center;
}

.buttons{
    font-size: 15px;
    font-weight: 800;
    background-color: var(--green);
    color: #ffffff;
    border-radius: 15px;
    transition: all 0.3s ease-out;
}

.buttons:hover {
    background-color: #22715fab;
    box-shadow: 6px 6px 20px rgba(34, 113, 94, 0.5);
    transform: scale(1.1, 1.1);
    color: #ffffff;
}

/* why datara boxes */

.why-datara {
    width: fit-content;
    padding: 55px 0 70px;
}

.first-child { 
    width: 230px;
    height: 250px;
    line-height: 32px;
    font-size: 15px;
    background-color: var(--blue);
    color: #ffffff;
    border-radius: 0 30px 0 30px;
    padding: 30px 15px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.25);
    margin: 0 50px 0 0px;
}

.sec-child, .forth-child{ 
    width: 230px;
    height: 250px;
    border-radius: 0 30px 0 30px;
    padding: 20px 15px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 0 30px 0 30px;
}
.sec-child div, .forth-child div{ 
    width: 80px;
    height: 80px;
    margin: 0 auto;
    padding: 0px;
    border-radius: 15px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, var(--dark-blue), var(--light-blue));
    display: flex;
    justify-content: center;
    align-items: center;
}
.sec-child svg, .forth-child svg{ 
    width: 60px !important;
    height: 60px !important;
}
.sec-child path, .forth-child path{ 
    fill: #ffffff;
}
.sec-child h6, .forth-child h6, .third-child h6{ 
    font-size: 23px !important;
    margin: 15px 0 !important;
}
.sec-child p, .forth-child p, .third-child p{ 
    font-size: 15px !important;
    font-weight: 600 !important;
}

.third-child { 
    width: 230px;
    height: 250px;
    padding: 20px 15px;
    background-color: var(--blue);
    font-size: 15px;
    font-weight: 600;
    border-radius: 0 30px 0 30px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.third-child p, .third-child h6{ 
    color: #ffffff !important;
}

.third-child div{ 
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 15px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.third-child img{ 
    width: 60px;
    height: 60px;
}


/* -==================section 2 start================= */


.container {
    max-width: 1200px;
}

/* بهبود اسلایدر */
.members-slider-container {
    direction: ltr !important;
}

.members-slider {
    padding: 60px 0 30px;
    margin-bottom: 120px;
    overflow: hidden;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}

.members-card {
    background: var(--light-blue);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    width: 100%;
    max-width: 260px;
    height: 250px;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
}

.members-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* تصحیح اساسی بخش تصویر */
.members-image-container {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: relative;
    top: -50px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.members-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.members-card:hover .members-image {
    transform: scale(1.1);
}

.members-content {
    padding: 0px 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: center;
}

.members-title {
    font-size: 16px !important;
    font-weight: 800;
    color: var(--blue);
    padding-bottom: 16px !important;
}

.members-excerpt {
    font-size: 14px !important;
    font-weight: 600;
    line-height: 25px !important;
}

/* دکمه های ناوبری */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    color: var(--blue) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--green);
    color: white !important;
    transform: scale(1.1);
}

/* Pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    opacity: 0.7;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background-color: var(--blue) !important;
    opacity: 1;
    transform: scale(1.2);
}

/* رسپانسیو */
@media (max-width: 768px) {

    .members-card {
        height: 300px;
        max-width: 280px;
    }

    .members-image-container {
        width: 90px;
        height: 90px;
        top: -45px;
    }
}

@media (max-width: 480px) {


    .members-card {
        height: 250px;
        max-width: 240px;
    }

    .members-content {
        padding: 0px 15px 15px;
    }

    .members-title {
        font-size: 15px !important;
    }

    .members-excerpt {
        font-size: 13px !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

/*  =====================section 2 ends======================== */ 

/*----- meeting our team -----*/

.meeting {
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

.bg-color {
    background-image: url(../img/bg.png);
    margin: 0 auto;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.team-shot img{
    box-shadow: 0 4px 30px 7px rgba(25, 117, 74, 0.5);
    width: 740px;
    height: 350px;
    border: 20px solid var(--green);
    border-radius: 20px;
}

/* -----fast order----- */

.form-datara{
    padding: 0 50px;
}

.form-datara img{
    width: 424px;
    height: 407px;  
}

.form-datara svg{
    width: 20px;
    height: 20px;
}

.form-datara path{
    fill: var(--green) !important;
}


.form-control, .form-select{
    font-family: 'Vazirmatn';
    font-size: 11px;
    font-weight: 600;
    padding: 10px;
}

.service-form {
    box-shadow: 0 4px 20px rgba(25, 117, 74, 0.5);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #BDBDBD;
    height: fit-content;
}

.service-form input, .form-select{
    direction: rtl !important;
    height: 50px;
    border-radius: 10px;
    background-color: #F9F9F9;
    border: 1px solid #828282;
}

.service-form textarea{
    direction: rtl !important;
    height: 140px;
    border-radius: 10px;
    background-color: #F9F9F9;
    border: 1px solid #828282;
}

.service-form .btn{
    width: 100%;
    height: 45px;
    border-radius: 24px;
    background-color: var(--green);
    border: 1px solid var(--green);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.service-form .btn:hover{
    margin: 0 auto;
    border-radius: 20px;
    font-size: 16px;
    background-color: #22715fab;
    box-shadow: 6px 6px 20px rgba(34, 113, 94, 0.5);
    transform: scale(1.04, 1.04);
}

/* -----مقالات اخیر----- */

.main-article h4{
    font-size: 23px;
    font-weight: 800;
    color: #ffffff !important;
}

.main-article p{
    font-size: 16px !important;
    font-weight: 600;
    text-align: start;
    color: #ffffff !important;
    line-height: 30px;
}

.main-article {
    position: relative; 
    width: 700px;
    height: 430px;
    display: flex;
    justify-content: start;
    align-items: end;
    padding: 0 45px 20px;
    margin-right: 10px !important;
    transition: all 0.3s ease;
}

.main-article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/thought-catalog-UK78i6vK3sc-unsplash.jpg);
    background-repeat: no-repeat;
    background-clip: border-box;
    background-position: center;
    background-size: cover;
    z-index: 1;
    opacity: 85%;
}
  
.main-article::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35) !important; /* مشکی با 35% opacity */
    z-index: 2;
}

.news {
    position: relative;
    z-index: 3;
}

.top-article h5, .bottom-article h5 {
    font-weight: 800;
    color: #ffffff;
}

.top-article p, .bottom-article p {
    font-size: 14px !important;
    font-weight: 600;
    color: #ffffff !important;
    text-align: start;
    line-height: 25px;
}

.top-article, .bottom-article {
    position: relative; 
    width: 400px;
    height: 211px;
    display: flex;
    justify-content: start;
    align-items: end;
    padding: 0 30px 10px;
}

.top-article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/corinne-kutz-tMI2_-r5Nfo-unsplash.jpg);
    background-repeat: no-repeat;
    background-clip: border-box;
    background-position: center;
    background-size: cover;
    z-index: 1;
    opacity: 85%;
}

.bottom-article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/cover.jpg);
    background-repeat: no-repeat;
    background-clip: border-box;
    background-position: center;
    background-size: cover;
    z-index: 1;
    opacity: 85%;
}
  
.top-article::after, .bottom-article::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35) !important; /* مشکی با 35% opacity */
    z-index: 2;
}


/* -----footer----- */

footer{
    background: linear-gradient(to right, var(--dark-blue), var(--light-blue)) ;
    padding: 30px 50px 10px;
    margin-top: 90px;
}

.footer-h{
    font-size: 14px;
    font-weight: 800;
    color: var(--blue);
}

.custom-border {
    position: relative;
    padding: 10px 0;
    margin: 10px 0;
}

.custom-border::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.border-right::after {
    right: 0;
    width: 15%;
}

footer img{
    width: 115px;
    height: 67px;
}

footer svg{
    width: 20px;
    height: 20px;
}

footer path{
    fill: #ffffff;
}

.icons div {
    width: 45px;
    height: 45px;
    background-color: var(--green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 15px;
}

.main-div{
    margin-right: 100px;
}

.main-div a{
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    display: block;
    margin-top: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.main-div a:hover{
    font-size: 13px;
    color: var(--green);
    border-bottom: 1px solid var(--green);
    padding-bottom: 3px;
    margin: 0 1%; /* این مقدار طول border را کنترل می‌کند */
    display: inline-block;
}

.trust {
    margin-right: 100px;
    margin-left: 50px;
}

.trust img{
    width: 17px;
    height: 17px;
}

.trust span{
    font-size: 12px;
    font-weight: 600;
    color: #000000;
}

.trust div:nth-child(2), .trust div:nth-child(3), .trust div:nth-child(4){
    background: rgba(43, 47, 131, 0.25);
    border-radius: 20px;
    width: fit-content;
    padding: 2px 7px;
    margin-top: 15px;
}

.contact span{
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    margin: 0 15px;
}

.contact-icons {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--blue);
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.contact-icons svg{
    width: 15px;
    height: 15px;
}

footer p{
    margin-top: 20px;
    font-size: 12px !important;
}

@media (max-width: 576px) {

    /* header */

    

    

   
}


@media (max-width: 768px) {

    /* header */

    .header-div {
        background-image: url(../img/header-mobile.png);
        background-repeat: no-repeat;
        background-size: cover;
        height: 400px;
        width: 100%;
        padding-bottom: 50px;
    }

    h1{
        font-size: 17px !important;
        margin-top: 30px !important;
    }

    .header-div p {
        font-size: 11px !important;
        max-width: 400px;
        margin: 0 auto;
    }
    

    .datara-img {
        width: 120px !important;
        height: 70px !important;
    }

    

    .header-div .first-btn {
        width: 100px;
        height: 30px;
        border-radius: 13px;
        font-size: 12px !important;
    }
    
    .header-div .first-btn:hover {
        box-shadow: 6px 6px 20px rgba(34, 113, 94, 0.5);
        transform: scale(1.2, 1.2);
    }

    .arrow{
        width: 15px;
        height: 15px;
    }

    .header-div .first-btn .arrow{
        transform: translate(-6px);
    }

    /* ---------why datara --------- */

    h2 {
        font-size: 16px !important;
    }

    p {
        font-size: 12px !important;
    }

    .buttons {
        font-size: 12px;
        padding: 8px 15px !important;
    }

    .members-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .members-card:hover {
        transform: scale(1.1);
    }

    /* دکمه های ناوبری */
    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        color: var(--blue) !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--green);
        color: white !important;
        transform: scale(1.1);
    }

    /* Pagination */
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: #cbd5e1;
        opacity: 0.7;
        transition: var(--transition);
    }

    .swiper-pagination-bullet-active {
        background-color: var(--blue) !important;
        opacity: 1;
        transform: scale(1.2);
    }

    
    .first-child { 
        width: 190px;
        height: 210px;
        line-height: 27px;
        font-size: 12px;
        padding: 20px 10px;
        box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.25);
        margin: 0 0px;
    }

    .sec-child, .forth-child{ 
        width: 190px;
        height: 210px;
        padding: 10px 15px;
        margin: 0 0;
    }
    .sec-child div, .forth-child div{ 
        width: 65px !important;
        height: 65px !important;
    }
    .sec-child svg, .forth-child svg{ 
        width: 50px !important;
        height: 50px !important;
    }

    .sec-child h6, .forth-child h6, .third-child h6{ 
        font-size: 22px !important;
        margin: 13px 0 7px!important;
    }
    .sec-child p, .forth-child p, .third-child p{ 
        font-size: 12px !important;
        line-height: 25px;
    }

    .third-child { 
        width: 190px;
        height: 210px;
        padding: 10px 15px;
    }

    .third-child div{ 
        width: 65px;
        height: 65px;
        margin: 0 auto 10px;
    }

    .third-child img{ 
        width: 50px;
        height: 50px;
    }

    /*----- meeting our team -----*/

    .meeting {
        min-height: 500px;
        margin-bottom: 100px;
    }

    .bg-color {
        background-image: url(../img/phone-back.png);
        margin: 0 auto;
        top: 0;
        right: 0;
        width: 100%;
        height: 500px;
        background-size: cover;
        background-position: center;
    }

    .team-shot img{
        width: 300px;
        height: 160px;
        border: 10px solid var(--green);
    }
  
    /* -----fast order----- */

    .form-datara{
        padding: 0 20px;
    }


    .form-control, .form-select{
        font-family: 'Vazirmatn';
        font-size: 11px;
    }

    .service-form {
        padding: 20px;
        margin-top: 20px !important;
    }

    .service-form input, .form-select{
        height: 40px;
    }

    .service-form textarea{
        height: 100px;
    }

    .service-form .btn{
        height: 30px;
        font-size: 12px !important;
    }

    .service-form .btn:hover{
        font-size: 14px !important;
    }

        /* -----مقالات اخیر----- */

    .main-article {
        width: 360px;
        height: 180px;
        padding: 0 20px 5px;
        margin: 10px auto !important;
    }

    .top-article h5, .bottom-article h5, .main-article h4 {
        font-size: 14px !important;
    }

    .top-article p, .bottom-article p, .main-article p {
        font-size: 12px !important;
        line-height: 20px;
        margin-top: 10px !important;
    }

    .top-article, .bottom-article {
        width: 360px;
        height: 180px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 20px 5px;
    }

    
    /* -------- footer -------- */

    footer{
        padding: 30px 50px 10px;
    }

    footer img{
        width: 86px;
        height: 50px;
    }

    .footer-h{
        font-size: 13px !important;
    }

    .custom-border {
        position: relative;
        padding: 10px 0;
        margin: 10px 0;
    }

    .custom-border::after {
        width: 10px;
        bottom: 0;
        height: 2px;
        
    }

    .border-right::after {
        right: 0;
        width: 15%;
    }

    footer svg{
        width: 18px;
        height: 18px;
    }

    .icons div {
        width: 35px;
        height: 35px;
        margin: 0 15px;
    }

    .main-div{
        margin-right: 0;
        margin-left: auto;
        width: fit-content;
    }

    .main-div a{
        font-size: 11px;
        margin-top: 10px;
    }

    .main-div a:hover{
        font-size: 12px;
        padding-bottom: 3px;
        margin: 0 1%; /* این مقدار طول border را کنترل می‌کند */
    }

    .trust {
        margin: 20px auto 20px;
    }

    .trust img{
        width: 16px;
        height: 16px;
    }

    .trust span{
        font-size: 11px;
    }

    .trust div:nth-child(2), .trust div:nth-child(3), .trust div:nth-child(4){
        padding: 2px 7px;
        margin-top: 15px;
    }

    .contact span{
        font-size: 10px;
        margin: 0 13px;
    }

    .contact-icons {
        width: 27px;
        height: 27px;
    }

    .contact-icons svg{
        width: 13px;
        height: 13px;
    }

    footer p{
        margin-top: 25px;
        font-size: 10px !important;
    }

}

/* Additional responsive utilities */
@media (min-width: 768px) and (max-width: 991px) {
    .right-box {
        padding: 100px 40px 0 !important;
    }

    .left-box {
        margin: 80px 40px 0 0 !important;
    }

    .nav-icon img {
        display: none;
    }

    .card-div {
        padding: 0px 20px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .right-box {
        padding: 120px 60px 0 !important;
    }

    .left-box {
        margin: 100px 60px 0 0 !important;
    }
}



  /* --- Mobile redesigned navigation --- */
  @media (max-width: 991px) {
    .navbar { padding: 12px 8px; }

    /* make toggler visually stable */
    .navbar-toggler { border: none; z-index: 1200; }
    .navbar-toggler img.navbar-toggler-icon { display: block; width: 34px; height: 34px; object-fit: contain; }

    /* mobile slide panel */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0; /* RTL: menu slides in from right */
        left: auto;
        width: 82%;
        max-width: 360px;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        z-index: 1150;
        padding: 110px 16px 30px;
        transform: translateX(105%); /* hidden by default */
        transition: transform 0.45s cubic-bezier(.2,.9,.2,1);
        overflow-y: auto; /* scroll inside panel only */
        -webkit-overflow-scrolling: touch;
        box-shadow: -6px 0 30px rgba(0,0,0,0.25);
    }

    /* when opened */
    .navbar-collapse.show { transform: translateX(0); }

    /* make sure background (body) doesn't scroll when menu open */
    body.menu-open { height: 100%; overflow: hidden; }

    /* menu items animation */
    .navbar-nav { width: 100%; }
    .navbar-nav .nav-item { margin-bottom: 12px; opacity: 0; transform: translateY(20px); transition: all 0.38s ease; }
    .navbar-collapse.show .nav-item { opacity: 1; transform: translateY(0); }

    /* list styles */
    .navbar-nav .btn { width: 100%; text-align: right; font-weight: 800; font-size: 16px; }

    /* dropdown menu (mobile) */
    .dropdown-menu { width: 95%; margin: 6px auto; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.12); }

    /* keep desktop layout unaffected */
    .header-div ul { box-shadow: none; }
}

/* desktop reset */
@media (min-width: 992px) {
    .navbar-collapse { position: static; transform: none !important; height: auto; padding: 0; background: none; box-shadow: none; }
    .navbar-nav .nav-item { opacity: 1; transform: none; }
}