/* =====================================================================
   MS Construction: styles for the Elementor-built pages.
   Every block is a normal Elementor section/column/widget with an
   "ms-" CSS class (Advanced > CSS Classes), so text, images, buttons
   and links stay editable in Elementor while the look comes from here.
   ===================================================================== */

/* ---------- WordPress header/footer adjustments ---------- */
.ms-page{width:auto}
.nav .menu{display:flex;align-items:center;gap:56px;margin:0;padding:0;list-style:none}
.nav .menu>li{position:relative}
.nav .menu>li>a{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:3px solid transparent;color:var(--ink);font-weight:600}
.nav .menu>li.current-menu-item>a,.nav .menu>li.current-menu-ancestor>a,.nav .menu>li.current_page_parent>a,.nav .menu>li>a:hover{color:#0165de}
.nav .menu>li.current-menu-item>a,.nav .menu>li.current-menu-ancestor>a{border-color:#0165de}
.nav .menu>li.menu-item-has-children>a::after{content:"";width:8px;height:8px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translateY(-3px);margin-left:4px}
.nav .sub-menu{position:absolute;left:-22px;top:100%;min-width:290px;background:#fff;border-radius:8px;box-shadow:0 14px 40px rgba(1,32,65,.18);padding:12px 0;margin:0;list-style:none;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s;z-index:50}
.nav .menu>li:hover>.sub-menu,.nav .menu>li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.nav .sub-menu a{display:block;padding:10px 24px;font-weight:600;font-size:16px;color:var(--ink)}
.nav .sub-menu a:hover,.nav .sub-menu .current-menu-item>a{background:#eef4fd;color:#0165de}
.admin-bar .header{top:0}
.flinks{list-style:none;margin:0;padding:0}
.footer .flinks a{color:inherit}
.custom-logo-link img{display:block;height:102px;width:auto}

/* ---------- Elementor resets inside our blocks ---------- */
.elementor-section[class*="ms-"] .elementor-widget:not(:last-child){margin-block-end:0;margin-bottom:0}
.elementor-section[class*="ms-"] .elementor-widget-text-editor p{margin:0}
.elementor-section[class*="ms-"] .elementor-widget-text-editor p+p{margin-top:16px}
.elementor-section[class*="ms-"]:not(.elementor-section-full_width)>.elementor-container{width:min(1348px,calc(100% - 40px));max-width:1348px}
.elementor-section[class*="ms-"] .elementor-heading-title{font-family:var(--font);line-height:1.2}
.elementor-section[class*="ms-"] .elementor-widget-text-editor{font-family:var(--font);color:var(--text)}
.elementor-section[class*="ms-"] .elementor-column-gap-no>.elementor-column>.elementor-element-populated{padding:0}


/* ---------- typography blocks ---------- */
.ms-eyebrow .elementor-heading-title{display:flex;align-items:center;gap:14px;font-size:15px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#4d5a78;line-height:1.3}
.ms-eyebrow.lines .elementor-heading-title::after{content:"";flex:none;width:95px;height:3px;background:linear-gradient(90deg,var(--blue) 0 46px,transparent 46px 56px,var(--blue) 56px)}
.ms-eyebrow.light .elementor-heading-title{color:#fff}
.ms-eyebrow.center .elementor-heading-title{justify-content:center}
.ms-h2{margin-top:18px}
.ms-h2 .elementor-heading-title{font-size:47px;line-height:53px;font-weight:700;color:var(--ink);letter-spacing:-.01em;text-wrap:balance}
.ms-h2 .elementor-heading-title b,.ms-banner-title .elementor-heading-title b{color:var(--blue);font-weight:700}
.ms-h2.light .elementor-heading-title{color:#fff}
.ms-h2.light .elementor-heading-title b{color:var(--sky)}
.ms-h2.big .elementor-heading-title{font-size:54px;line-height:60px}
.ms-h2.center .elementor-heading-title{text-align:center}
.ms-h3{margin-top:44px}
.ms-h3 .elementor-heading-title{font-size:28px;color:var(--ink);font-weight:700}
.ms-text p{font-size:18px;line-height:30px}
.ms-text{margin-top:20px}
.ms-lead{margin-top:22px}
.ms-lead p{font-size:19px;line-height:31px;color:#2f3750;max-width:860px;margin:0 auto;text-align:center}
.ms-lead-l{margin-top:24px}
.ms-lead-l p{font-size:19px;line-height:29px;color:#2f3750;max-width:700px}

/* ---------- buttons ---------- */
.ms-btn,.ms-btn-line,.ms-more{margin-top:34px}
.ms-btn .elementor-button{display:inline-flex;align-items:center;justify-content:center;height:63px;padding:0 34px;border-radius:6px;background:var(--btn);color:#fff;font-family:var(--font);font-size:17px;font-weight:700;line-height:1;transition:filter .15s}
.ms-btn .elementor-button:hover{filter:brightness(1.12);color:#fff}
.ms-btn .elementor-button-content-wrapper,.ms-btn-line .elementor-button-content-wrapper,.ms-more .elementor-button-content-wrapper{align-items:center;gap:16px}
.ms-btn .elementor-button-icon,.ms-btn-line .elementor-button-icon,.ms-more .elementor-button-icon{font-size:17px;margin:0}
.ms-btn .elementor-button-icon svg,.ms-btn-line .elementor-button-icon svg,.ms-more .elementor-button-icon svg{width:17px;height:17px;fill:currentColor}
.ms-btn-line{margin-top:0}
.ms-btn-line .elementor-button{display:inline-flex;align-items:center;height:44px;padding:0 20px;border:1.5px solid #9fb0c8;border-radius:5px;background:#fff;color:var(--ink);font-family:var(--font);font-size:16px;font-weight:700}
.ms-btn-line.light .elementor-button{height:60px;padding:0 30px;background:rgba(1,30,79,.6);border:2px solid rgba(255,255,255,.8);color:#fff;font-size:17px}
.ms-more{margin-top:16px}
.ms-more .elementor-button{background:none;padding:0;color:var(--blue);font-family:var(--font);font-size:17px;font-weight:700}
.ms-more .elementor-button:hover{color:var(--ink)}

/* ---------- section backgrounds & spacing ---------- */
.ms-sec{padding-block:70px}
.ms-soft{background:var(--soft)}
.ms-head-l,.ms-head-r{align-self:flex-end}
.ms-head-r>.elementor-widget-wrap{flex-direction:column;align-items:flex-end;gap:20px}
.ms-head-r .elementor-widget{width:auto!important}
.ms-side-text p{font-size:17px;line-height:26px;max-width:525px}
.ms-svc-head,.ms-process-head,.ms-testi-head,.ms-proj-head{padding-bottom:0}
.ms-cards,.ms-steps,.ms-testi-row,.ms-proj-row{padding-top:34px}
.ms-cards-2{padding-top:0}
.ms-cards+.ms-cards-2{margin-top:-36px}
.ms-head-center{padding-block:80px 0}
.ms-head-center+.ms-sec{padding-top:46px}

/* ---------- hero slider section ---------- */
.ms-hero-sec .elementor-widget-ms-hero-slider{width:100%}
.ms-hero-sec .hero{min-height:700px}
.hero .feats i.fi,.hero .feats svg.fi{font-size:56px;width:1em;height:1em;color:#1e9bff;fill:#1e9bff;flex:none;text-align:center}
.hero .btn.ghost i,.hero .btn.ghost svg{font-size:24px;width:1em;height:1em;fill:currentColor}

.ms-svc-head .ms-h2 .elementor-heading-title{font-size:42px;line-height:52px}
.ms-hero-sec .hero p{margin-top:22px}
/* ---------- home: about ---------- */
.ms-about{background:#fefefe}
.ms-about-txt>.elementor-widget-wrap{padding:38px 50px 62px max(20px,calc((100vw - 1348px)/2))!important}
.ms-about-media{min-height:590px!important;position:relative}
.ms-about-media>.elementor-widget-wrap{position:static}
.ms-about-media::before{content:"";position:absolute;left:0;top:0;bottom:0;width:140px;background:linear-gradient(105deg,#fefefe 0 38%,rgba(255,255,255,.55) 38% 52%,transparent 52%);z-index:1}
.ms-badge{position:absolute!important;right:0;bottom:0;width:302px!important;z-index:2}
.ms-badge p{background:linear-gradient(90deg,#0a2f66,#001831 70%);clip-path:polygon(22% 0,100% 0,100% 100%,0 100%);color:#fff;padding:24px 20px 26px 86px;font-weight:700;font-size:17px;line-height:22px}
.ms-badge strong{display:block;font-size:50px;line-height:52px;margin-bottom:6px}
.ms-mvv{margin-top:38px}
.ms-mvv .elementor-column:not(:last-child)>.elementor-widget-wrap{border-right:1.5px solid var(--line);margin-right:16px;padding-right:18px}
.ms-mvv-item .elementor-icon-box-wrapper,.ms-feat .elementor-icon-box-wrapper{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:16px;text-align:left!important}
.ms-mvv-item .elementor-icon-box-icon{margin:0!important}
.ms-mvv-item .elementor-icon{font-size:36px;color:var(--blue)}
.ms-mvv-item .elementor-icon svg{fill:var(--blue);width:1em;height:1em}
.ms-mvv-item .elementor-icon-box-title{margin:0;font-size:18px;line-height:26px;font-weight:700;color:var(--ink)}
.ms-mvv-item .elementor-icon-box-description{font-size:15.5px;line-height:24px;color:#59617a;margin-top:4px}

/* ---------- service cards ---------- */
.ms-cards>.elementor-container{width:min(1370px,calc(100% - 18px))!important;max-width:1370px!important;flex-wrap:wrap}
.ms-card{padding:0 11px 23px}
.ms-card>.elementor-widget-wrap{background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 2px 14px rgba(20,40,80,.08);padding-bottom:22px!important;align-content:flex-start}
.ms-card-img img{display:block;width:100%!important;height:183px!important;object-fit:cover}
.ms-card-ic{position:absolute!important;left:28px;top:130px;width:68px!important;z-index:2}
.ms-card-ic .elementor-icon{width:68px;height:70px;border-radius:5px;background:#0f3f85;border:1.5px solid rgba(255,255,255,.55);color:#fff;font-size:30px;display:grid;place-items:center}
.ms-card-ic .elementor-icon svg{fill:#fff;width:30px;height:30px}
.ms-card-title,.ms-card-text,.ms-card .ms-more{padding-inline:31px 22px}
.ms-card-title{margin-top:30px}
.ms-card-title .elementor-heading-title{font-size:24px;line-height:32px;font-weight:700;color:var(--ink)}
.ms-card-title a{color:inherit}
.ms-card-text{margin-top:10px}
.ms-card-text p{font-size:17.5px;line-height:25px;color:#4a5268}
.ms-card-cta>.elementor-widget-wrap{background:linear-gradient(160deg,#0a2f66,#001831);padding:36px 30px!important;align-content:center}
.ms-cc-ic .elementor-icon{font-size:48px;color:#1e9bff}
.ms-cc-ic .elementor-icon-wrapper{text-align:left!important}
.ms-cc-title{margin-top:18px}
.ms-cc-title .elementor-heading-title{color:#fff;font-size:26px;line-height:34px}
.ms-cc-text{margin-top:10px}
.ms-cc-text p{color:#c4d3e8;font-size:17px;line-height:27px}
.ms-card-cta .ms-btn{margin-top:24px}
.ms-card-cta .ms-btn .elementor-button{height:58px}

/* ---------- projects ---------- */
.ms-projects{background:linear-gradient(180deg,#011a38,#012347 50%,#082445);color:#fff}
.ms-proj-head{padding-top:44px}
.ms-proj-row{padding-bottom:40px;padding-top:24px}
.ms-proj-gallery .gallery,.ms-gallery .gallery{display:grid;gap:21px;margin:0!important}
.ms-proj-gallery .gallery{grid-template-columns:repeat(5,1fr)}
.ms-proj-gallery .gallery-item,.ms-gallery .gallery-item{width:auto!important;max-width:none!important;padding:0!important;margin:0!important}
.ms-proj-gallery .gallery-item img{display:block;width:100%;height:198px;object-fit:cover;border-radius:6px;border:0!important}
.ms-proj-gallery .gallery-icon a,.ms-gallery .gallery-icon a{display:block}
.ms-proj-gallery br,.ms-gallery br{display:none}

/* ---------- video ---------- */
.ms-video{background:linear-gradient(180deg,#f9fafb,#eef3f9)}
.ms-video-txt>.elementor-widget-wrap{padding-right:64px!important;align-content:center}
.ms-video .ms-text{margin-top:22px}
.ms-checks{margin-top:26px}
.ms-checks .elementor-icon-list-items{display:grid;gap:14px}
.ms-checks.two .elementor-icon-list-items{grid-template-columns:1fr 1fr;gap:14px 28px}
.ms-checks .elementor-icon-list-item{display:flex;align-items:flex-start;gap:12px;font-size:17px;line-height:25px;font-weight:600;color:var(--ink);padding:0!important;margin:0!important}
.ms-checks .elementor-icon-list-item::after{display:none}
.ms-checks .elementor-icon-list-icon{flex:none;width:26px;height:26px;border-radius:50%;background:#e6effc;color:#0165de;display:grid!important;place-items:center;font-size:12px;margin-top:-1px;padding:0!important}
.ms-checks .elementor-icon-list-icon i,.ms-checks .elementor-icon-list-icon svg{font-size:12px;width:12px;height:12px;fill:#0165de;color:#0165de}
.ms-checks .elementor-icon-list-text{color:var(--ink);padding:0!important}
.ms-checks.light .elementor-icon-list-icon{background:rgba(30,155,255,.18)}
.ms-checks.light .elementor-icon-list-icon i,.ms-checks.light .elementor-icon-list-icon svg{color:#1e9bff;fill:#1e9bff}
.ms-checks.light .elementor-icon-list-text{color:#fff}

/* ---------- process ---------- */
.ms-process{background:#f9fafb}
.ms-process-head{padding-top:50px}
.ms-steps{padding-bottom:50px;padding-top:26px}
.ms-step{padding:0 37px;position:relative}
.ms-step:first-child{padding-left:0}
.ms-step:last-child{padding-right:0}
.ms-step:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:24px;height:24px;margin-top:-12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b4fb5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.ms-step>.elementor-widget-wrap{background:#fff;border-radius:6px;box-shadow:0 2px 14px rgba(20,40,80,.07);padding:16px 22px 22px 24px!important;align-items:center;align-content:flex-start;min-height:190px}
.ms-num{width:auto!important}
.ms-num .elementor-heading-title{width:55px;height:55px;border-radius:5px;background:#0b62dd;color:#fff;font-weight:700;font-size:18px;display:grid;place-items:center}
.ms-step-ic{width:auto!important;margin-left:30px}
.ms-step-ic .elementor-icon{font-size:40px;color:var(--ink)}
.ms-step-ic .elementor-icon svg{fill:var(--ink);width:40px;height:40px}
.ms-step-title{margin-top:14px}
.ms-step-title .elementor-heading-title{font-size:24px;line-height:34px;font-weight:700;color:var(--ink)}
.ms-step-text p{font-size:17px;line-height:27px;color:#4a5268}
.ms-step-text b{color:var(--ink)}

/* ---------- CTA ---------- */
.ms-cta{background:linear-gradient(90deg,#00172f,#001a38);color:#fff;overflow:hidden}
.ms-cta-txt>.elementor-widget-wrap{padding:48px 40px 52px max(20px,calc((100vw - 1218px)/2))!important;align-content:center;position:relative;z-index:2}
.ms-cta-media{min-height:354px!important;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);margin-left:-8%}
.ms-cta .ms-h2{margin-top:20px}
.ms-cta-text{margin-top:20px}
.ms-cta-text p{color:#fff;font-size:17.5px;line-height:30px}
.ms-cta-text span{display:block;font-size:20px}
.ms-cta .ms-btn{margin-top:26px}
.ms-cta .ms-btn .elementor-button{height:65px;padding:0 44px}

/* ---------- testimonials ---------- */
.ms-testi-sec{background:#f5f8f8}
.ms-testi-head{padding-top:44px}
.ms-testi-row{padding-top:24px;padding-bottom:56px}
.ms-testi-row>.elementor-container{width:min(1378px,calc(100% - 10px))!important;max-width:1378px!important}
.ms-testi-col{padding:0 15px}
.ms-testi-col>.elementor-widget-wrap{background:#fff;border-radius:6px;box-shadow:0 2px 14px rgba(20,40,80,.07);padding:24px 28px 22px 34px!important}
.ms-testi .elementor-testimonial-wrapper{text-align:left!important}
.ms-testi .elementor-testimonial-wrapper::before{content:"\201C\00a0\00a0\2605\2605\2605\2605\2605";display:block;font-size:22px;letter-spacing:4px;color:var(--gold);margin-bottom:10px;background:linear-gradient(90deg,#3f72c4 0 30px,var(--gold) 30px);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:800;font-family:Georgia,serif}
.ms-testi .elementor-testimonial-content{font-size:17.5px!important;line-height:26px!important;color:#3a425a!important;padding-left:42px;font-style:normal}
.ms-testi .elementor-testimonial-meta{margin-top:22px;padding-left:14px}
.ms-testi .elementor-testimonial-meta-inner{display:flex!important;align-items:center;gap:24px}
.ms-testi .elementor-testimonial-image img{width:66px!important;height:66px!important;border-radius:50%;object-fit:cover}
.ms-testi .elementor-testimonial-details{padding:0!important;text-align:left}
.ms-testi .elementor-testimonial-name{font-size:19px!important;font-weight:700!important;color:var(--ink)!important;line-height:26px}
.ms-testi .elementor-testimonial-job{font-size:16.5px!important;color:#59617a!important;font-weight:400}

/* ---------- feature strip ---------- */
.ms-featstrip{background:var(--navy)}
.ms-featstrip>.elementor-container{padding-block:46px}
.ms-featstrip .elementor-column:not(:first-child)>.elementor-widget-wrap{border-left:1.5px solid rgba(255,255,255,.18);padding-left:24px!important}
.ms-featstrip .elementor-column>.elementor-widget-wrap{padding-right:16px!important}
.ms-feat .elementor-icon-box-wrapper{align-items:center;gap:20px}
.ms-feat .elementor-icon-box-icon{margin:0!important}
.ms-feat .elementor-icon{font-size:52px;color:#1e9bff}
.ms-feat .elementor-icon svg{fill:#1e9bff;width:52px;height:52px}
.ms-feat .elementor-icon-box-title{margin:0;color:#fff;font-size:19px;line-height:26px;font-weight:700}
.ms-feat .elementor-icon-box-description{color:#b9c8de;font-size:15.5px;line-height:23px;margin-top:4px}

/* ---------- page banner ---------- */
.ms-banner{position:relative;color:#fff;background-color:#06203f}
.ms-banner::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#000a1f 0%,rgba(6,32,63,.96) 38%,rgba(10,42,78,.55) 70%,rgba(10,42,78,.25) 100%);z-index:0}
.ms-banner::after{content:"";position:absolute;left:0;bottom:0;width:74px;height:110px;background:linear-gradient(160deg,#0b5fd0,#0149b1);clip-path:polygon(0 0,100% 100%,0 100%)}
.ms-banner>.elementor-container{position:relative;z-index:1;width:min(1314px,calc(100% - 40px));max-width:1314px!important;padding-block:92px 96px}
.ms-banner-title .elementor-heading-title{font-size:60px;line-height:66px;font-weight:700;color:#fff;max-width:780px;text-wrap:balance}
.ms-banner-title .elementor-heading-title b{color:var(--sky)}
.ms-banner-text{margin-top:18px}
.ms-banner-text p{font-size:20px;line-height:32px;max-width:640px;color:#dbe5f3}
.ms-crumbs{margin-top:26px}
.ms-crumbs p{font-size:16px;font-weight:600;color:#9fb6d6;display:flex;gap:12px;flex-wrap:wrap}
.ms-crumbs a{color:#fff}
.ms-crumbs a:hover{color:var(--sky)}

/* ---------- about page ---------- */
.ms-split>.elementor-container{align-items:center}
.ms-split-media{padding-right:35px;position:relative}
.ms-split-txt{padding-left:35px}
.ms-split-img img{display:block;width:100%!important;height:520px!important;object-fit:cover;border-radius:10px}
.ms-tag{position:absolute!important;right:11px;bottom:-24px;width:auto!important}
.ms-tag p{background:linear-gradient(90deg,#0a2f66,#001831);color:#fff;border-radius:8px;padding:22px 30px;font-weight:700;font-size:17px;line-height:22px;box-shadow:0 18px 40px rgba(1,32,65,.3)}
.ms-tag strong{display:block;font-size:46px;line-height:50px}
.ms-split .ms-h2 .elementor-heading-title{font-size:44px;line-height:51px}
.ms-boxes>.elementor-container{width:min(1374px,calc(100% - 14px))!important;max-width:1374px!important}
.ms-box{padding:0 13px}
.ms-box>.elementor-widget-wrap{background:#fff;border-radius:8px;padding:34px 32px!important;box-shadow:0 2px 14px rgba(20,40,80,.07);border-top:4px solid transparent;transition:border-color .2s,transform .2s}
.ms-box>.elementor-widget-wrap:hover{border-color:#0165de;transform:translateY(-4px)}
.ms-box .ms-num{margin-bottom:22px}
.ms-box-title .elementor-heading-title{font-size:22px;line-height:30px;color:var(--ink);font-weight:700}
.ms-box-text{margin-top:10px}
.ms-box-text p{font-size:17px;line-height:27px;color:#4a5268}
.ms-why .elementor-icon-box-wrapper{text-align:left!important;display:block}
.ms-why .elementor-icon-box-icon{margin:0 0 18px!important;display:block;text-align:left}
.ms-why .elementor-icon{font-size:44px;color:#0165de}
.ms-why .elementor-icon svg{fill:#0165de;width:44px;height:44px}
.ms-why .elementor-icon-box-title{margin:0;font-size:22px;line-height:30px;color:var(--ink);font-weight:700}
.ms-why .elementor-icon-box-description{font-size:17px;line-height:27px;margin-top:10px;color:#4a5268}

/* ---------- service detail ---------- */
.ms-sd>.elementor-container{align-items:flex-start}
.ms-sd-main{padding-right:56px}
.ms-sd-img img{display:block;width:100%!important;height:470px!important;object-fit:cover;border-radius:10px}
.ms-sd-main .ms-eyebrow{margin-top:40px}
.ms-sd-main .ms-h2{margin-top:14px}
.ms-sd-main .ms-text p{font-size:18px;line-height:31px}
.ms-sd-main .ms-checks{margin-top:22px}
.ms-faq{margin-top:22px}
.ms-faq .elementor-toggle-item{background:#fff;border-radius:8px;box-shadow:0 2px 12px rgba(20,40,80,.07);margin-bottom:14px;border:0}
.ms-faq .elementor-tab-title{display:flex;align-items:center;justify-content:space-between;flex-direction:row-reverse;gap:18px;padding:22px 26px!important;border:0!important;font-family:var(--font);font-size:19px!important;font-weight:700!important;color:var(--ink)!important;cursor:pointer}
.ms-faq .elementor-tab-title a{color:var(--ink)!important}
.ms-faq .elementor-toggle-icon{color:#0165de;float:none!important;width:auto!important}
.ms-faq .elementor-toggle-icon svg{fill:#0165de;width:18px;height:18px}
.ms-faq .elementor-tab-content{padding:0 26px 22px!important;border:0!important;font-size:17px;line-height:28px;color:var(--text)}
.ms-faq .elementor-tab-content:not(.elementor-active){display:none}
.ms-sd-side{position:sticky;top:24px}
.ms-sd-side>.elementor-widget-wrap{gap:28px}
.ms-side-box,.ms-side-cta{border-radius:10px;width:100%}
.ms-side-box{background:#fff;box-shadow:0 2px 14px rgba(20,40,80,.08)}
.ms-side-box>.elementor-container,.ms-side-cta>.elementor-container{padding:30px}
.ms-side-title .elementor-heading-title{font-size:22px;color:var(--ink);font-weight:700;padding-bottom:16px;border-bottom:2px solid #e6ecf4;margin-bottom:10px}
.ms-slist{width:100%!important}
.ms-slist .elementor-icon-list-items{display:grid;gap:8px;width:100%}
.ms-slist .elementor-icon-list-item{margin:0!important;padding:0!important;display:block!important;width:100%}
.ms-slist .elementor-icon-list-item::after{display:none}
.ms-slist .elementor-icon-list-item a{width:100%;box-sizing:border-box;display:flex!important;flex-direction:row-reverse;justify-content:space-between;align-items:center;padding:14px 18px;border-radius:6px;background:var(--soft);font-weight:600;font-size:17px;color:var(--ink);transition:background .15s,color .15s}
.ms-slist .elementor-icon-list-item a:hover,.ms-slist .elementor-icon-list-item.is-current a{background:#0165de;color:#fff}
.ms-slist .elementor-icon-list-item a:hover .elementor-icon-list-text,.ms-slist .elementor-icon-list-item.is-current .elementor-icon-list-text{color:#fff}
.ms-slist .elementor-icon-list-text{color:inherit;padding:0!important}
.ms-slist .elementor-icon-list-icon i,.ms-slist .elementor-icon-list-icon svg{font-size:14px;width:14px;height:14px;color:currentColor;fill:currentColor}
.ms-side-cta{background:linear-gradient(160deg,#0a2f66,#001831);color:#fff}
.ms-side-cta>.elementor-container{padding:36px 30px}
.ms-side-ic .elementor-icon-wrapper{text-align:left!important}
.ms-side-ic .elementor-icon{font-size:44px;color:#1e9bff}
.ms-side-ic .elementor-icon svg{fill:#1e9bff;width:44px;height:44px}
.ms-side-cta-title{margin-top:16px}
.ms-side-cta-title .elementor-heading-title{font-size:24px;line-height:32px;color:#fff;font-weight:700}
.ms-side-cta-text{margin-top:10px}
.ms-side-cta-text p{font-size:16.5px;line-height:26px;color:#c4d3e8}
.ms-side-tel{margin-top:16px}
.ms-side-tel .elementor-heading-title{font-size:26px;font-weight:800;color:#fff}
.ms-side-cta .ms-btn{margin-top:22px;width:100%}
.ms-side-cta .ms-btn .elementor-button{width:100%;height:58px}

/* ---------- gallery page ---------- */
.ms-gallery .gallery{grid-template-columns:repeat(3,1fr);gap:24px}
.ms-gallery .gallery-item{position:relative;border-radius:8px;overflow:hidden;background:#001831}
.ms-gallery .gallery-item img{display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;border:0!important;transition:transform .5s}
.ms-gallery .gallery-item:hover img{transform:scale(1.05)}
.ms-gallery .gallery-caption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:44px 22px 18px;background:linear-gradient(0deg,rgba(0,22,45,.9),transparent);color:#fff;font-size:18px;font-weight:700;text-align:left;pointer-events:none}
.ms-gallery-sec{padding-bottom:80px}

/* ---------- contact ---------- */
.ms-cinfo>.elementor-container{width:min(1372px,calc(100% - 16px))!important;max-width:1372px!important}
.ms-cinfo .elementor-column{padding:0 12px}
.ms-cinfo .elementor-column>.elementor-widget-wrap{background:#fff;border-radius:10px;padding:34px 24px!important;box-shadow:0 2px 14px rgba(20,40,80,.08)}
.ms-cbox .elementor-icon-box-wrapper{text-align:center!important;display:block}
.ms-cbox .elementor-icon-box-icon{margin:0 auto 18px!important;display:block}
.ms-cbox .elementor-icon{width:74px;height:74px;border-radius:50%;background:#e6effc;color:#0165de;display:inline-grid;place-items:center;font-size:30px}
.ms-cbox .elementor-icon svg{fill:#0165de;width:30px;height:30px}
.ms-cbox .elementor-icon-box-title{margin:0;font-size:20px;color:var(--ink);font-weight:700}
.ms-cbox .elementor-icon-box-description{font-size:17px;line-height:27px;margin-top:8px;word-break:break-word;color:var(--text)}
.ms-contact{padding-top:20px}
.ms-contact>.elementor-container{align-items:flex-start;gap:50px}
.ms-form-col>.elementor-widget-wrap{background:#fff;border-radius:10px;padding:44px!important;box-shadow:0 2px 18px rgba(20,40,80,.08)}
.ms-form{margin-top:10px}
.ms-area>.elementor-widget-wrap{background:linear-gradient(160deg,#0a2f66,#001831);border-radius:10px;padding:44px 38px!important;color:#fff}
.ms-area-title{margin-top:16px}
.ms-area-title .elementor-heading-title{font-size:30px;line-height:38px;color:#fff;font-weight:700}
.ms-area-text{margin-top:14px}
.ms-area-text p{color:#c4d3e8;font-size:17px;line-height:28px}
.ms-area .ms-checks{margin-top:24px}
.ms-area-hours{margin-top:24px;width:100%}
.ms-hours{width:100%;border-collapse:collapse;font-size:17px;color:#fff;margin:0;border:0}
.ms-hours td{padding:12px 0;border:0;border-bottom:1px solid rgba(255,255,255,.14);background:none!important}
.ms-hours td:last-child{text-align:right;font-weight:700}
/* quote form */
.ms-qform .ms-fgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.ms-qform .ms-field{display:grid;gap:8px;margin:0}
.ms-qform .ms-field.full{grid-column:1/-1}
.ms-qform label{font-size:15px;font-weight:700;color:var(--ink)}
.ms-qform input,.ms-qform select,.ms-qform textarea{font-family:var(--font);font-size:17px;padding:15px 16px;border:1.5px solid #cfd8e5;border-radius:6px;background:#f9fbfd;color:var(--ink);width:100%;box-sizing:border-box}
.ms-qform input:focus,.ms-qform select:focus,.ms-qform textarea:focus{outline:none;border-color:#0165de;box-shadow:0 0 0 3px rgba(1,101,222,.15);background:#fff}
.ms-qform textarea{min-height:150px;resize:vertical}
.ms-qbtn{display:inline-flex;align-items:center;gap:16px;height:62px;padding:0 40px;margin-top:26px;border:0;border-radius:6px;background:var(--btn);color:#fff;font-family:var(--font);font-size:17px;font-weight:700;cursor:pointer}
.ms-qbtn:hover{filter:brightness(1.12)}
.ms-qmsg{padding:16px 18px;border-radius:6px;font-weight:600;font-size:16px;margin-bottom:16px}
.ms-qmsg.ok{background:#e7f6ee;color:#0d5c33}
.ms-qmsg.err{background:#fdecec;color:#8a1c1c}
.ms-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- laptops (1025-1400) ---------- */
@media (max-width:1400px) and (min-width:1025px){
  .nav .menu{gap:34px}
  .logo .lg-w{width:240px}
  .ms-h2 .elementor-heading-title{font-size:42px;line-height:49px}
  .ms-banner-title .elementor-heading-title{font-size:54px;line-height:60px}
  .hero .h1{font-size:54px;line-height:60px}
  .ms-step{padding:0 30px}
}

/* ---------- tablet ---------- */
@media (max-width:1024px){
  .ms-cards .elementor-column,.ms-cinfo .elementor-column{width:50%!important}
  .ms-proj-gallery .gallery{grid-template-columns:repeat(3,1fr)}
  .ms-gallery .gallery{grid-template-columns:repeat(2,1fr)}
  .ms-steps>.elementor-container{flex-wrap:wrap;row-gap:24px}
  .ms-step{width:50%!important;padding:0 12px!important}
  .ms-step::after{display:none}
  .ms-featstrip .elementor-column{width:50%!important}
  .ms-featstrip>.elementor-container{flex-wrap:wrap;row-gap:26px}
  .ms-featstrip .elementor-column>.elementor-widget-wrap{border:0!important;padding-left:0!important}
  .ms-sd-main{padding-right:30px}
  .ms-h2 .elementor-heading-title,.ms-split .ms-h2 .elementor-heading-title{font-size:36px;line-height:42px}
  .ms-h2.big .elementor-heading-title{font-size:40px;line-height:46px}
}

/* ---------- phone ---------- */
@media (max-width:767px){
  .ms-sec{padding-block:48px}
  .ms-h2 .elementor-heading-title,.ms-h2.big .elementor-heading-title,.ms-split .ms-h2 .elementor-heading-title{font-size:32px;line-height:38px}
  .ms-head-r>.elementor-widget-wrap{align-items:flex-start;margin-top:18px}
  .ms-head-r .elementor-widget{width:100%!important}
  .ms-cards .elementor-column,.ms-cinfo .elementor-column,.ms-step,.ms-featstrip .elementor-column{width:100%!important}
  .ms-card{padding:0 0 20px}
  .ms-cards>.elementor-container{width:calc(100% - 40px)!important}
  .ms-about-txt>.elementor-widget-wrap{padding:36px 20px 40px!important}
  .ms-about-media{min-height:340px!important}
  .ms-mvv .elementor-column>.elementor-widget-wrap{border:0!important;margin:0 0 16px!important;padding:0!important}
  .ms-proj-gallery .gallery{grid-template-columns:repeat(2,1fr);gap:12px}
  .ms-proj-gallery .gallery-item img{height:140px}
  .ms-video-txt>.elementor-widget-wrap{padding:0 0 30px!important}
  .ms-step{padding:0!important}
  .ms-cta-txt>.elementor-widget-wrap{padding:40px 20px!important}
  .ms-cta-media{min-height:240px!important;clip-path:none;margin:0}
  .ms-testi-col{padding:0 0 16px}
  .ms-testi-row>.elementor-container{width:calc(100% - 40px)!important}
  .ms-testi .elementor-testimonial-content{padding-left:0}
  .ms-banner>.elementor-container{padding-block:54px 58px}
  .ms-banner-title .elementor-heading-title{font-size:38px;line-height:44px}
  .ms-banner-text p{font-size:17px;line-height:28px}
  .ms-split-media,.ms-split-txt{padding:0!important}
  .ms-split-img img,.ms-sd-img img{height:280px!important}
  .ms-split-txt{margin-top:40px}
  .ms-tag{right:12px;bottom:12px}
  .ms-checks.two .elementor-icon-list-items{grid-template-columns:1fr}
  .ms-boxes>.elementor-container{width:calc(100% - 40px)!important}
  .ms-box{padding:0 0 16px}
  .ms-sd-main{padding-right:0}
  .ms-sd-side{position:static;margin-top:36px}
  .ms-gallery .gallery{grid-template-columns:1fr;gap:16px}
  .ms-cinfo>.elementor-container{width:calc(100% - 40px)!important}
  .ms-cinfo .elementor-column{padding:0 0 14px}
  .ms-contact>.elementor-container{gap:30px}
  .ms-form-col>.elementor-widget-wrap{padding:26px 20px!important}
  .ms-area>.elementor-widget-wrap{padding:30px 22px!important}
  .ms-qform .ms-fgrid{grid-template-columns:1fr}
  .ms-qbtn{width:100%;justify-content:center}
  .ms-head-center{padding-top:48px}
}
/* generic content (non-Elementor pages) */
.entry{padding-block:60px}
.entry-title{font-size:42px;line-height:1.2;color:var(--ink);margin-bottom:24px}
.entry-content p{margin:0 0 16px;font-size:18px;line-height:30px}
.entry-content ul{list-style:disc;padding-left:22px;margin-bottom:16px}
.sec.soft{background:var(--soft)}
@media (max-width:1023.98px){
  .nav .menu{flex-direction:column;align-items:flex-start;gap:4px;width:100%}
  .nav .menu>li{width:100%}
  .nav .menu>li>a{border:0;padding:8px 0}
  .nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;padding:0 0 0 14px;min-width:0;background:none}
  .nav .sub-menu a{padding:6px 0;font-size:15px}
  .custom-logo-link img{height:62px}
}

/* =================== v1.0.1 responsive fixes =================== */
/* slider: let the outgoing slide fade before the next one appears (no text overlap) */
.hero .slide{transition:opacity .35s ease,visibility .35s}
.hero .slide.on{transition:opacity .6s ease .3s,visibility 0s}
/* laptops: stack the mission/vision/values icon above its text so the text has room */
@media (max-width:1400px){
  .ms-mvv-item .elementor-icon-box-wrapper{flex-direction:column!important;gap:10px}
}
/* tablets */
@media (max-width:1024px){
  .ms-about>.elementor-container,.ms-video>.elementor-container,.ms-sd>.elementor-container,.ms-contact>.elementor-container,.ms-split>.elementor-container{flex-wrap:wrap}
  .ms-about-txt,.ms-about-media,.ms-video-txt,.ms-video-col,.ms-sd-main,.ms-sd-side,.ms-form-col,.ms-area,.ms-split-media,.ms-split-txt{width:100%!important}
  .ms-about-txt>.elementor-widget-wrap{padding:48px 20px 48px!important}
  .ms-about-media{min-height:440px!important}
  .ms-video-txt>.elementor-widget-wrap{padding:0 0 34px!important}
  .ms-sd-main{padding-right:0!important}
  .ms-sd-side{position:static;margin-top:40px}
  .ms-sd-side>.elementor-widget-wrap{display:grid!important;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
  .ms-contact>.elementor-container{gap:30px}
  .ms-split-media,.ms-split-txt{padding:0!important}
  .ms-split-txt{margin-top:44px}
  .topbar .wrap-n>ul:first-child{gap:6px 22px}
}
/* phones */
@media (max-width:767px){
  .topbar{font-size:13.5px}
  .topbar .wrap-n{min-height:0;padding-block:8px}
  .topbar ul{gap:4px 16px;padding:0!important}
  .topbar .wrap-n>ul:first-child li:nth-child(3),.topbar .soc{display:none}
  .topbar .i{font-size:16px}
  .hero .feats{grid-template-columns:1fr 1fr;gap:16px 12px}
  .hero .feats li{gap:10px;font-size:14px;line-height:19px;min-width:0}
  .hero .feats li span{min-width:0;overflow-wrap:anywhere}
  .hero .feats i.fi,.hero .feats svg.fi{font-size:34px}
  .ms-svc-head,.ms-process-head,.ms-testi-head,.ms-proj-head{padding-bottom:0}
  .ms-cards,.ms-steps,.ms-testi-row,.ms-proj-row{padding-top:26px}
  .ms-head-center+.ms-sec{padding-top:30px}
  .ms-sd-side>.elementor-widget-wrap{grid-template-columns:1fr}
  .fbot ul{gap:8px 16px}
  .fbot li+li{margin-left:0;padding-left:0;border:0}
}
