@media screen and (max-width: 767px){
/* Lead Magnet Modal - Mobile Optimization */
#exampleModalCenter .popup-laptop,
#exampleModalCenter .popup-tablet,
#exampleModalCenter .popup-pencil,
#exampleModalCenter .popup-pencil2 {
    display: none !important;
}

#exampleModalCenter .modal-content.modaal-div {
    padding: 12px !important;
}

#exampleModalCenter .modal-title {
    font-size: 18px !important;
    line-height: 22px !important;
}

#exampleModalCenter .modal-body p {
    font-size: 14px !important;
    line-height: 20px !important;
    margin-bottom: 10px !important;
}

#exampleModalCenter .banner-form input,
#exampleModalCenter .banner-form textarea,
#exampleModalCenter .banner-form button {
    padding: 10px !important;
    font-size: 16px !important;
}

#exampleModalCenter .g-recaptcha {
    transform: scale(0.85) !important;
    transform-origin: center center !important;
}

#exampleModalCenter .modal-dialog {
    width: 90vw !important;
    max-width: 500px !important;
}

/* Services dropdown */
.hasSubmenu>a::after{
    top: 90% !important;
}
.subMenu {
    left: -130px;
    top: 40px !important;
    text-align: left !important;
    background: #1b1b1b !important;
    box-shadow: 1px 3px 10px #1b1b1b !important;
    padding: 15px !important;
    min-width: fit-content !important;
}
.subMenu .col-6 {
    max-width: 200px !important;
    padding: 0 !important;
    width: 180px;
}
.subMenu li a {
    color: #fff !important;
    padding: 0px !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    margin: 10px 0 !important;
    padding: 5px !important;
}
.subMenu li:hover {
    background-color: #1b1b1b !important;
}
.subMenu li{
    padding: 0 !important;
}
ul.subMenu li img{
    width: 30px !important;
}

/* Homepage Responsive Fixes */
    .frame-margin {
    margin-left: 0;
}
.frame-bg {
    background-size: 100% 100%;
    height: 40vh;
}
.frame-bg2 {
    background-size: 100% 100%;
    height: 40vh;
}
.accordion .accordion-content p {
    font-size: 14px !important;
    line-height: 16px;
}
.frame-margin2 {
    margin-right: 0;
}
	.main-header {
    padding: 0px 6px;
}
.pad-top {
    padding-top: 10px;
}
.pad-btm-70 {
    padding-bottom: 30px;
}

/* Hero Section Mobile Fixes */
.banner-content h1 {
    font-size: 24px;
    line-height: 28px;
    color: #2e3079;
    font-weight: 600;
    display: block;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.banner-content h1 div {
    font-size: 24px;
    line-height: 28px;
    color: #eb7966;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    font-family: 'Rubik', sans-serif;
    justify-content: center;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.banner-content h1 b {
    font-size: 20px;
    line-height: 24px;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.banner-contents h1 {
    font-size: 24px;
    line-height: 28px;
    text-transform: uppercase;
    color: #2e3079;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    text-align: center;
}
.banner-contents h2 {
    font-size: 22px;
    line-height: 26px;
    text-align: center;
}
.banner-contents p {
    font-size: 16px;
    color: #2e071c;
    font-family: 'Rubik';
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

/* Form Mobile Fixes */
.banner-form {
    margin-top: 30px;
}
.banner-form input,
.banner-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.banner-form textarea {
    min-height: 100px;
    resize: vertical;
}
.banner-form button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 15px;
}
.g-recaptcha {
    margin: 15px 0;
    transform: scale(0.9);
    transform-origin: left center;
}

/* Layout Mobile Fixes */
.col-md-6 {
    margin-bottom: 30px;
}
.float img {
    max-width: 100%;
    height: auto;
}
.laptop img {
    max-width: 100%;
    height: auto;
}

/* Additional Mobile Improvements */
.container {
    padding-left: 15px;
    padding-right: 15px;
}
.row {
    margin-left: -15px;
    margin-right: -15px;
}
.col-md-12, .col-lg-4, .col-lg-3 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Mobile Navigation Improvements - Cleaned up */
.main-header {
    position: relative;
}

@media screen and (max-width: 767px) {
    .main-header {
        position: relative;
        padding: 10px 0;
    }
    
    .main-header .container-fluid {
        position: relative;
    }
}

/* Clean mobile menu - removed conflicting rules */
/* Removed conflicting mobile menu rules - now handled by the new implementation above */

.menu-Bar {
    display: none; /* Hidden by default on desktop */
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10000;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    outline: none;
}

/* Override any conflicting styles from other CSS files */
.menu-Bar {
    display: none !important;
}

/* Force visibility on mobile */
@media screen and (max-width: 1200px) {
    .menu-Bar {
        display: block !important;
    }
}



/* Ensure menu button is visible on mobile devices */
@media screen and (max-width: 1200px) {
    .menu-Bar {
        display: block !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        transform: none !important;
        z-index: 10001 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
        padding: 12px 10px !important;
        border-radius: 5px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
        transition: all 0.3s ease !important;
        width: auto !important;
        height: auto !important;
    }
}

.menu-Bar span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-Bar.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-Bar.open span:nth-child(2) {
    opacity: 0;
}

.menu-Bar.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
.menuWrap {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Mobile Form Improvements */
.banner-form .row {
    margin: 0;
}
.banner-form .col-md-12,
.banner-form .col-lg-4,
.banner-form .col-lg-3 {
    padding: 0;
    margin-bottom: 15px;
}

/* Fix for overlapping elements */
.modal-body {
    position: relative;
    z-index: 1;
}
.modal-content {
    position: relative;
    z-index: 1;
}

/* Mobile Text Improvements */
.banner-content h1,
.banner-contents h1,
.banner-contents h2 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Fix for flexing class */
.flexing {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}
.flexing div {
    margin: 0 2px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* Mobile Spacing Improvements */
.pad-top {
    padding-top: 20px;
}
.pad-btm-70 {
    padding-bottom: 40px;
}
.mt-50 {
    margin-top: 30px;
}

/* Lead Magnet Modal Responsive Fixes */
.modal-dialog,
.modal-dialog-centered,
#exampleModalCenter .modal-dialog {
    margin: 0 !important;
    max-width: 500px !important;
    position: fixed !important;
    top: 50vh !important;
    left: 50vw !important;
    transform: translate(-50%, -50%) !important;
    width: 85vw !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
    z-index: 1055 !important;
}
.modal-backdrop {
    z-index: 1050;
}
.modal-content,
.modaal-div {
    border-radius: 15px !important;
    overflow: hidden !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    background: white !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    padding: 15px !important;
}
.modal-header {
    padding: 10px 15px !important;
    border-bottom: 1px solid #eee !important;
    background: #f8f9fa !important;
    flex-shrink: 0 !important;
    margin-bottom: 10px !important;
    position: relative !important;
    z-index: 10 !important;
}
.modal-header h5 {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    margin: 0;
}
.modal-body {
    padding: 10px 15px !important;
    flex: 1 !important;
    overflow-y: auto !important;
    background: white !important;
    min-height: 0 !important;
    max-height: 50vh !important;
}
.modal-body p {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
}

/* Lead Magnet Form Mobile Fixes */
.modal-body .banner-form {
    margin-top: 0;
    width: 100%;
}
.modal-body .banner-form input,
.modal-body .banner-form textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.modal-body .banner-form .row {
    margin: 0;
}
.modal-body .banner-form .col-md-12,
.modal-body .banner-form .col-lg-6,
.modal-body .banner-form .col-lg-12 {
    padding: 0;
    margin-bottom: 10px;
}
.modal-body .banner-form textarea {
    min-height: 80px;
    resize: vertical;
}
.modal-body .banner-form button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 10px;
}
.modal-body .g-recaptcha {
    margin: 10px 0 !important;
    transform: scale(0.85) !important;
    transform-origin: center center !important;
}

/* Modal Images Mobile Fixes */
.popup-pencil,
.popup-pencil2 {
    text-align: center;
    margin: 15px 0;
}
.popup-pencil img,
.popup-pencil2 img {
    max-width: 80px;
    height: auto;
}

/* Modal Layout Mobile Fixes */
.modal-body .row {
    margin: 0;
}
.modal-body .col-md-12,
.modal-body .col-lg-6,
.modal-body .col-lg-12 {
    padding: 0;
    margin-bottom: 10px;
}
.modal-body .img-section {
    margin: 0;
}
.modal-body .img-section .row {
    margin: 0;
}
.modal-body .img-section .col-md-6 {
    padding: 0;
    margin-bottom: 0;
}

/* Additional Modal Mobile Improvements */
.modal,
#exampleModalCenter {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.modal.show {
    display: flex !important;
}
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modal-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: none;
}
.modal-header .close {
    font-size: 24px;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    border: none;
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    z-index: 20 !important;
}
.modal-header .close:hover {
    background: #e9ecef;
}

/* Modal Form Field Improvements */
.modal-body .banner-form input:focus,
.modal-body .banner-form textarea:focus {
    outline: none;
    border-color: #eb7966;
    box-shadow: 0 0 0 2px rgba(235, 121, 102, 0.2);
}
.modal-body .banner-form button:hover {
    background-color: #d66855;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Universal Lead Magnet Form Responsive Fixes */
#leadMagnetForm {
    width: 100%;
}
#leadMagnetForm input,
#leadMagnetForm textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* Universal Modal Responsive Fixes for All Pages */
.modal-dialog,
.modal-dialog-centered,
.modal-dialog-centered .modal-dialog,
#exampleModalCenter .modal-dialog,
.modal .modal-dialog {
    margin: 0 !important;
    max-width: 500px !important;
    position: fixed !important;
    top: 50vh !important;
    left: 50vw !important;
    transform: translate(-50%, -50%) !important;
    width: 85vw !important;
    max-height: 75vh !important;
    overflow-y: auto !important;
    z-index: 1055 !important;
}
#leadMagnetForm textarea {
    min-height: 80px;
    resize: vertical;
}
#leadMagnetForm button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 10px;
}
#leadMagnetForm .g-recaptcha {
    margin: 15px 0;
    transform: scale(0.9);
    transform-origin: center center;
}

/* Service Page Lead Magnet Form Fixes */
.cont-form-head h2 {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 20px;
}
.banner-form {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Mobile Touch Improvements for Lead Magnet Forms */
#leadMagnetForm input,
#leadMagnetForm textarea,
.modal-body .banner-form input,
.modal-body .banner-form textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

/* Universal Modal Improvements for All Pages */
.modal {
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.modal.show {
    display: flex !important;
}

/* Ensure modal is visible and working */
#exampleModalCenter {
    z-index: 1055 !important;
}
#exampleModalCenter .modal-dialog {
    z-index: 1056 !important;
}
.modal-backdrop {
    z-index: 1054 !important;
}
#leadMagnetForm button,
.modal-body .banner-form button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
#leadMagnetForm input:focus,
#leadMagnetForm textarea:focus,
.modal-body .banner-form input:focus,
.modal-body .banner-form textarea:focus {
    outline: none;
    border-color: #eb7966;
    box-shadow: 0 0 0 2px rgba(235, 121, 102, 0.2);
}

/* Mobile Form Spacing Improvements */
#leadMagnetForm .row,
.modal-body .banner-form .row {
    margin: 0;
}
#leadMagnetForm .col-md-12,
#leadMagnetForm .col-lg-6,
#leadMagnetForm .col-lg-12,
.modal-body .banner-form .col-md-12,
.modal-body .banner-form .col-lg-6,
.modal-body .banner-form .col-lg-12 {
    padding: 0;
    margin-bottom: 10px;
}

/* Universal Form Responsive Fixes for All Pages */
.banner-form,
.cta {
    width: 100% !important;
    max-width: 100% !important;
}
.banner-form input,
.banner-form textarea,
.cta input,
.cta textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Modal Animation Improvements */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}
.modal.show .modal-dialog {
    transform: translate(0, 0);
}
.banner-form input {
    margin-bottom: -6px;
    margin-top: 15px;
}
.laptop img {
    width: auto;
    max-width: 100%;
    height: auto;
}
.laptop {
    position: absolute;
    top: -79px;
    right: -160%;
}
.brands-logo {
    display: none;
}
.number-content div span {
    font-size: 40px;
}
.number-content p {
    font-size: 16px;
    line-height: 21px;
        margin-top: -14px;
}
.testi img {
    position: relative;
    opacity: 0.8;
    top: 36px;
    left: 10px;
    z-index: -999999999999999;
}
.call-sec h6 {
    font-size: 28px;
    line-height: 32px;
    margin-top: 20px
}
.dairy-book-img img {
    position: absolute;
    top: 18px;
    left: 82%;
    width: auto;
    max-width: 100%;
    height: auto;
}
.resp-box {
	    text-align: center ;
    background: #efc9c1 !important;
    height: 46vh  !important;;
    display: flex;
    align-items: center;
}
.icon-box-odd {
    height: 46vh;
}
.icon-box{
    height: 46vh;
}
.icon-box p {
    padding: 0rem 0rem;
    font-family: 'Rubik';
}
.icon-box-odd p {
    padding: 0rem 0rem;
    font-family: 'Rubik';
}
.our-work h6 {
    font-size: 27px;
    line-height: 32px;
        margin-top: 30px;

    }
    .pencil-bg::before {
    display: none;
}
.frame-bg h6 {
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    color: #2e3079;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
}
.frame-bg p {
    font-size: 11px;
    line-height: 15px;
    font-weight: 400;
    font-family: 'Rubik';
    margin-top: 3px;
}
.frame-bg.wow.bounceIn.mt-5.ml-5 {
    margin: 17px -29px !important;
}
.frame-bg.wow.bounceIn.mt-5 {
    margin: 0px !important;
}
.pencil-bgs::before {
display: none;
}
    .teblet img {
    position: absolute;
    width: auto;
    max-width: 100%;
    height: auto;
}
.frame-bg2 h6 {
    font-size: 14px;
    line-height: 16px;
}
.frame-bg2 p {
    font-size: 11px;
    line-height: 15px;
    margin-top: 3px;
}
.frame-bg2.wow.bounceIn.mt-5{
    margin: 17px 19px !important;
}
.frame-bg2.wow.bounceIn.mt-5 {
	margin: 0px !important;
}
.laptop-boy {
    margin-top: 2rem;
}
.call-sec h5 {
    margin-top: 3px;
    font-size: 28px;
    }
    .call-sec h4 {
    margin-top: 1px;
    font-size: 27px;
    line-height: 34px;
}
.menuWrap.btn-resp {
    display: none;
}
header .main-header ul.menu>li a {
    color: #fff;
    padding: 0px;
    text-align: center;
    font-size: 24px;
    line-height: 35px;
    font-weight: 400;
        font-family: 'Rubik';
}

.menuWrap .menu li {
    display: block;
    margin-bottom: 20px;
}

.menuWrap .menu li a {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

.menuWrap .menu li a:hover {
    color: #f8f9fa;
    transform: translateX(5px);
}
/* Mobile menu backdrop - now handled by new implementation */
.accordion button {
    margin: 13px 0px !important;
}
.last-footer p {
    font-size: 20px;
    color: #2e3079;
    font-weight: 500;
    line-height: 33px;
    font-family: 'Rubik', sans-serif;
    text-align: center;
}
.last-copy p {
    font-size: 11px;
    line-height: 15px;
    color: #fff;
    font-weight: 300;
    font-family: 'Rubik', sans-serif;
}
.footer-sec{
  background: #11184f; 
  padding: 1rem 0rem;

}
.footer-links h4 {
    font-size: 20px;
    margin-top: 30px;
    text-align: left;
}

.footer-links ul li a {
	font-size: 15px;
    line-height: 32px;
}
.accordion button .accordion-title {
    font-size: 13px;
}
.footer-links ul {
    text-align: left;
}
.question h6 {
    margin-top: 1rem;
    font-size: 32px;
    color: #eb7966;
    line-height: 35px;
}

.resp-boxs{
	    text-align: center;
    background: transparent;
    height: 46vh;
    display: flex;
    align-items: center;

}
.last-footer {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.services-sec{
	    background: #f8e6e2;
    padding: 0px 0px;
}
.ready {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
 footer{
   text-align: center;
 }
 .m1-h h5 span {
   font-size: 26px;
 }
 .at-h {
   padding-bottom: 0;
 }
 .padRt-60{
   padding-right: 0 !important;
 }
 .btn {
   border: 1px solid #000;
 }
 ul.menu>li:last-child{
   margin: 0;
 }
a.logo img {
    width: 70%;
    margin-top: 9px;
}
.m1-h h5{
  font-size:20px;
}
.mainBanner{
  height:35vh;
}
.m2-h h5{
  font-size:20px;
}
.pad-tb{
  padding:40px 0;
}

.p1 p{
  font-size:16px;
  line-height:20px;
}
.flogo img{
  width:50%;
}
.flogo{
  text-align:left;
  margin-bottom:20px;
}
.copyright.text-center{
  font-size:16px;
}
footer{
  padding:15px 0;
}
ul.menu>li.active a{
  border-bottom:0;
}
ul.menu>li{
  margin-right:0;
}
.menuWrap .menu li a{
  margin-bottom:15px;
  font-size:15px;
}
ul.menu>li>a {
 border-bottom: none;
}
ul.menu>li.active a {
 border-bottom: none;
}
ul.menu>li>a:hover {
 border-bottom: none;
}
.inner-ban .ban_hdn h5::after {
 width: 90px;
}
.inner-ban {
 height: 20vh;
}
.Tec-ctn h5::after {
 width: 270px;
}
}

@media screen and (min-width:768px) and (max-width: 1023px){
  .frame-margin {
    margin-left: 11rem;
}
.frame-margin2 {
    margin-right: 9rem;
}
    .icon-box p {
    font-size: 13px;
        max-height: 110px;
    height: 100% !important;
    margin-top: 30px !important;
    overflow-y: auto !important;
        padding: 0px 14px;

}
  .icon-box-odd p {
    font-size: 13px;
        max-height: 110px;
    height: 100% !important;
    margin-top: 30px !important;
    overflow-y: auto !important;
        padding: 0px 14px;
}
	.services-sec {
    background: #f8e6e2;
    padding: 0px 0px;
}
.icon-box-odd p {
    padding: 0rem 1rem;
}
.icon-box p{
    padding: 0rem 1rem;
}
.frame-bg.wow.bounceIn.mt-5.ml-5 {
    margin: 17px -50px !important;
}
.frame-bg.wow.bounceIn.mt-5 {
    margin: 0px !important;
}
.frame-bg2.wow.bounceIn.mt-5 {
    margin: 17px 50px !important;
}
.frame-bg2.wow.bounceIn.mt-5 {
	margin: 0px !important;
}
.pencil-bg::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 96.5%;
    width: 100%;
    height: 1465px;
    background-image: url(../images/pencil.webp);
    background-repeat: no-repeat;
}
.pencil-bgs::before {
    content: "";
    position: absolute;
    top: 13%;
    right: 15.9%;
    width: 100%;
    height: 1465px;
    background-image: url(../images/pencil.webp);
    background-repeat: no-repeat;
}

.brand-sec{
    display: none !important
}
.banner-content h1 {
    font-size: 28px;
    line-height: 34px;
    color: #2e3079;
    font-weight: 600;
    display: flex;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    flex-wrap: wrap;
}
.banner-content h1 div {
    font-size: 28px;
    line-height: 34px;
    color: #eb7966;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    font-family: 'Rubik', sans-serif;
    flex-wrap: wrap;
}
.banner-content h1 b {
    font-size: 24px;
    line-height: 28px;
    display: block;
    width: 100%;
    margin-top: 10px;
}
.banner-contents h1 {
    font-size: 28px;
    line-height: 34px;
    text-transform: uppercase;
    color: #2e3079;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
}
.banner-contents h2 {
    font-size: 26px;
    line-height: 30px;
}
.banner-contents p {
    font-size: 18px;
    color: #2e071c;
    font-family: 'Rubik';
    line-height: 1.6;
}
.banner-form input {
    margin-bottom: 15px;
    margin-top: 15px;
    padding: 12px;
    font-size: 16px;
}
.banner-form textarea {
    min-height: 120px;
    font-size: 16px;
}
.banner-form button {
    padding: 12px 24px;
    font-size: 16px;
}
.g-recaptcha {
    transform: scale(0.95);
    transform-origin: left center;
}

/* Tablet Lead Magnet Modal Fixes */
@media screen and (min-width:768px) and (max-width: 1023px){
    .modal-dialog,
    .modal-dialog-centered,
    #exampleModalCenter .modal-dialog {
        margin: 0 !important;
        max-width: 600px !important;
        position: fixed !important;
        top: 50vh !important;
        left: 50vw !important;
        transform: translate(-50%, -50%) !important;
        width: 80vw !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
    }
    .modal-header h5 {
        font-size: 22px;
        line-height: 26px;
    }
    .modal-body p {
        font-size: 18px;
        line-height: 1.6;
    }
    .modal-body .banner-form input,
    .modal-body .banner-form textarea {
        padding: 14px;
        font-size: 16px;
    }
    .modal-body .banner-form textarea {
        min-height: 100px;
    }
    .modal-body .banner-form button {
        padding: 14px 20px;
        font-size: 16px;
    }
    .modal-body .g-recaptcha {
        transform: scale(0.9);
    }
    .popup-pencil img,
    .popup-pencil2 img {
        max-width: 100px;
    }
    
    /* Tablet Universal Lead Magnet Form Fixes */
    #leadMagnetForm input,
    #leadMagnetForm textarea {
        padding: 14px;
        font-size: 16px;
    }
    #leadMagnetForm textarea {
        min-height: 100px;
    }
    #leadMagnetForm button {
        padding: 14px 20px;
        font-size: 16px;
    }
    #leadMagnetForm .g-recaptcha {
        transform: scale(0.9);
    }
    .cont-form-head h2 {
        font-size: 22px;
        line-height: 26px;
    }
    
    /* Tablet Universal Modal Responsive Fixes for All Pages */
    .modal-dialog,
    .modal-dialog-centered,
    .modal-dialog-centered .modal-dialog,
    #exampleModalCenter .modal-dialog,
    .modal .modal-dialog {
        margin: 0 !important;
        max-width: 600px !important;
        position: fixed !important;
        top: 50vh !important;
        left: 50vw !important;
        transform: translate(-50%, -50%) !important;
        width: 80vw !important;
        max-height: 75vh !important;
        overflow-y: auto !important;
    }
}
.menuWrap.btn-resp {
    display: none;
}
.laptop img {
    width: auto;
    max-width: 100%;
    height: auto;
}
.laptop {
    position: absolute;
    top: -147px;
    right: -140%;
}
.number-content div span {
    font-size: 50px;
}
.number-content p {
    font-size: 22px;
        line-height: 31px;
    margin-top: -6px;
}
.read-book-img img {
    position: absolute;
    top: 55px;
    right: 49%;
    width: auto;
    max-width: 100%;
    height: auto;
}
.last-footer p {
    font-size: 20px;
    color: #2e3079;
    font-weight: 500;
    line-height: 33px;
    font-family: 'Rubik', sans-serif;
    text-align: center;
}
.last-footer {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
}

@media screen and (min-width: 1024px){
.icon-box {
    height: 397px;
}
  .frame-margin {
    margin-left: 14rem;
}
  .frame-margin2 {
    margin-right: 13rem;
}
  .pencil-bg::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 98%;
    width: 100%;
    height: 1465px;
    background-image: url(../images/pencil.webp);
    background-repeat: no-repeat;
}
  .frame-bg2 p {
    font-size: 14px;
  }
  .frame-bg2 h6 {
    font-size: 17px;
    line-height: 19px;
  }
    .frame-bg p {
    font-size: 14px;
  }
  .frame-bg h6 {
    font-size: 17px;
    line-height: 19px;
  }
.icon-box-odd {
    height: 397px;
}
.icon-box p {
    padding: 0rem 0rem;
    font-family: 'Rubik';
    line-height: 21px
}
.icon-box-odd p {
    padding: 0rem 0rem;
    line-height: 21px;
    font-family: 'Rubik';
}
  .icon-box p {
    font-size: 13px;
        max-height: 110px;
    height: 100% !important;
    margin-top: 30px !important;
    overflow-y: auto !important;
        padding: 0px 14px;

}
  .icon-box-odd p {
    font-size: 13px;
        max-height: 110px;
    height: 100% !important;
    margin-top: 30px !important;
    overflow-y: auto !important;
        padding: 0px 14px;
}
  .pencil-bgs::before {
    content: "";
    position: absolute;
    top: -24%;
    right: 11.6%;
    width: 100%;
    height: 1465px;
    background-image: url(../images/pencil.webp);
    background-repeat: no-repeat;
}

}
@media screen and (min-width: 1440px){
  .frame-margin {
    margin-left: 13.5rem;
}
    .frame-margin2 {
        margin-right: 13rem;
    }

}

/* Mobile Navigation Fixes - Clean Implementation */
@media screen and (max-width: 767px) {
    /* Fixed mobile menu button */
    .menu-Bar {
        display: block !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        transform: none !important;
        z-index: 10001 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
        padding: 12px 10px !important;
        border-radius: 5px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
        transition: all 0.3s ease !important;
        width: auto !important;
        height: auto !important;
    }

    .menu-Bar span {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background: #333 !important;
        margin: 5px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
    }

    .menu-Bar.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }

    .menu-Bar.open span:nth-child(2) {
        opacity: 0 !important;
    }

    .menu-Bar.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
    }

    /* Fixed mobile menu dropdown */
    .menuWrap {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #eb7966 !important;
        z-index: 10000 !important;
        transition: all 0.4s ease !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(-100%) !important;
    }

    .menuWrap.open {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
    }

    /* Mobile menu content styling */
    .menuWrap .menu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .menuWrap .menu li {
        margin: 20px 0 !important;
        display: block !important;
    }

    .menuWrap .menu li a {
        color: white !important;
        text-decoration: none !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        padding: 15px 20px !important;
        display: block !important;
        border-radius: 5px !important;
        transition: all 0.3s ease !important;
        font-family: 'Rubik', sans-serif !important;
    }

    .menuWrap .menu li a:hover {
        background: rgba(255,255,255,0.2) !important;
        transform: translateX(10px) !important;
    }

    /* Hide desktop menu items on mobile */
    header .main-header ul.menu > li {
        display: none !important;
    }

    /* Prevent body scroll when menu is open */
    body.ovr-hiddn {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Mobile menu backdrop */
    .menuWrap::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.1) !important;
        z-index: -1 !important;
    }

    /* Close button for mobile menu */
    .menuWrap .close-menu {
        position: absolute !important;
        top: 20px !important;
        right: 20px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: none !important;
        color: white !important;
        font-size: 24px !important;
        padding: 10px !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        width: 50px !important;
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }

    .menuWrap .close-menu:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }

    /* Submenu fixes for mobile */
    .subMenu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        text-align: center !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        min-width: auto !important;
        margin-top: 10px !important;
    }

    .subMenu .col-6 {
        max-width: none !important;
        padding: 0 !important;
        width: auto !important;
    }

    .subMenu li a {
        color: rgba(255, 255, 255, 0.8) !important;
        padding: 8px 20px !important;
        text-align: center !important;
        font-size: 18px !important;
        line-height: 24px !important;
        display: block !important;
        align-items: center !important;
        margin: 5px 0 !important;
        border-radius: 3px !important;
    }

    .subMenu li:hover {
        background-color: transparent !important;
    }

    .subMenu li {
        padding: 0 !important;
    }

    ul.subMenu li img {
        width: 20px !important;
        margin-right: 8px !important;
        vertical-align: middle !important;
    }

    /* Services dropdown arrow fix */
    .hasSubmenu > a::after {
        top: 50% !important;
        transform: translateY(-50%) !important;
        right: 10px !important;
    }
}

/* Additional mobile menu improvements */
@media screen and (max-width: 480px) {
    .menuWrap .menu li a {
        font-size: 20px !important;
        padding: 12px 15px !important;
    }

    .menu-Bar {
        display: block !important;
        top: 15px !important;
        right: 15px !important;
        padding: 10px 8px !important;
    }

    .menuWrap .close-menu {
        top: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
}

/* Ensure menu button is always visible on mobile */
@media screen and (max-width: 1200px) {
    .menu-Bar {
        display: block !important;
    }
}

/* Remove conflicting styles */
@media screen and (max-width: 767px) {
    .menuWrap:not(.btn-resp) {
        display: none !important;
    }
    
    .menuWrap.btn-resp {
        display: none !important;
    }
}

/* Force menu button to be visible on all mobile devices */
@media screen and (max-width: 1200px) {
    .menu-Bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 999999 !important;
        background: #FF0000 !important;
        border: 5px solid #00FF00 !important;
        border-radius: 10px !important;
        padding: 15px !important;
        width: 60px !important;
        height: 60px !important;
        cursor: pointer !important;
        box-shadow: 0 0 20px #FF0000 !important;
    }
    
    .menu-Bar span {
        display: block !important;
        width: 30px !important;
        height: 5px !important;
        background: #000000 !important;
        margin: 5px 0 !important;
        border-radius: 3px !important;
    }
}

/* Additional force for smaller screens */
@media screen and (max-width: 767px) {
    .menu-Bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 10001 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid #333 !important;
        border-radius: 5px !important;
        padding: 8px !important;
        width: 35px !important;
        height: 35px !important;
        cursor: pointer !important;
    }
    
    .menu-Bar span {
        display: block !important;
        width: 18px !important;
        height: 2px !important;
        background: #333 !important;
        margin: 2px 0 !important;
        border-radius: 1px !important;
    }
}