@media (min-width:768px) and (max-width:1200px) {
    .main-menu ul li.megamenu .menu-wrapper {
        width: 940px
    }
}

@media (max-width:991px) {
    
    .sticky nav {
        /*margin-top: 3px*/
    }

    nav {
        margin-top: 15px
    }

    header {
        padding-bottom: 10px
    }

    header.sticky {
        padding-bottom: 0
    }

    #get_quote h3,
    a.btn_quote {
        text-align: center;
    }
    
   

    .main-menu ul li.megamenu .menu-wrapper {
        width: auto;
        margin-top: 20px
    }

    a.btn_quote {
        float: none;
        margin: 10px auto auto;
        width: 170px;
        display: block
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    body {
        font-size: 17px; /* Reduce font size for smaller screens */
        /*line-height:1.7;*/
    }
}

/* Adjust for very small screens like mobile devices */
@media (max-width: 480px) {
    
    body {
        font-size: 18px; /* Further reduce font size */
    }
}

@media (max-width:768px) {
    .bg_content div {
        padding: 0 10%;
        font-size: 14px;
    }

    /*.bg_content div h3 {*/
    /*    font-size: 24px;*/
    /*}*/

    .step {
        padding: 20px 31px
    }
}

@media (max-width:767px) {

    #position,
    #top_line,
    .bg_content div h3:after,
    .bg_content div h3:before {
        display: none
    }

    .bg_content div h3:after,
    .stepy-titles li {
        margin-left: 0
    }

    header {
        /*padding-top: 0*/
    }

    header.sticky {
        padding-top: 7px
    }

    header.sticky .cmn-toggle-switch {
        margin-top: 5px;
    }

    .main_title {
        font-size: 14px
    }

    .main_title h2 {
        font-size: 24px
    }

    .main_title p {
        font-size: 16px
    }

    .margin_60 {
        padding-top: 30px;
        padding-bottom: 30px
    }

    .margin_30 {
        margin-top: 15px;
        margin-bottom: 15px
    }

    .bg_content {
        height: 380px
    }

    .bg_content>div {
        padding: 20px 5% 0;
        font-size: 13px
    }

    .bg_content div h3 {
        font-size: 20px
    }

    .bg_content div h3:before {
        margin-right: 0
    }

    .banner p {
        padding-right: 0
    }

    .banner a {
        position: relative;
        top: 15px;
        right: 0;
        left: 0;
        margin-bottom: 20px
    }

    .banner h4 {
        font-size: 24px
    }

    ul.stepy-titles li {
        width: 100%;
        display: block
    }

    #sub_header .main_title p {
        font-size: 12px
    }
}

@media (max-width:480px) {

    .intro_title h1,
    .intro_title p,
    .a.button_intro {
        display: none
    }

    #sub_header {
        padding-top: 80px
    }

    .box_style_1 {
        padding: 15px
    }

    #get_quote h3 {
        font-size: 22px
    }
}



/* ----------------- RESPONSIVE ADJUSTMENTS (MOBILE) ----------------- */
@media (max-width: 768px) {
  .design-resources {
    flex-direction: column;
    gap: 15px;                 /* space between items */
    padding-left: 15px;         /* horizontal space */
    padding-right: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .resource-item {
    width: 90%;                 /* slightly less than full width */
    max-width: 500px;           /* optional max width */
    margin: 0 auto;             /* center horizontally */
    border-left: none;
    border-top: 1px solid #D6D6D6;
    min-height: 60px;           /* reduced height */
    padding: 0;                 /* remove padding from container */
    flex-direction: row;        /* icon + text horizontally */
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;         /* optional rounded corners */
    background: #eef1f9;
    position: relative;
  }

  /* Make the entire box clickable */
  .resource-item a.resource-link {
    display: flex;
    flex-direction: row;        /* horizontal layout */
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 14px 26px;         /* spacing inside clickable link */
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
  }

  /* Icon adjustments */
  .resource-item i,
  .resource-item img.icon {
    margin-bottom: 0;           /* remove vertical spacing */
    margin-right: 20px;         /* space between icon and text */
    width: 28px;
    height: 28px;
    font-size: 28px;
  }

  /* Text adjustments */
  .resource-item span {
    font-size: 18px;
    color: #111;
  }

  /* Title Section */
  .resource-item.title {
    flex: none;
    width: 95%;
    max-width: 600px;
    margin: 0 auto;
    padding: 15px 15px;
    border-top: none;
    justify-content: flex-start; /* left align */
    border-radius: 8px;
    background: #fff;
  }

  /* Title text */
  .resource-item.title h2 {
    text-align: left;            /* left align text */
    font-size: 24px;
    font-weight: 400;            /* non-bold */
    margin: 0;
  }
  
  
}



