/* Eclat AV — site styles used alongside the Elementor layouts.
   Colours/fonts: cyan #4DC9D8, text #555, dark #3B3B3B, footer #636366, Playfair Display + Montserrat. */

:root { --ec-cyan:#4DC9D8; --ec-text:#555; --ec-cw:min(1400px, calc(100% - 64px)); --ec-header-h:96px; }
@media (max-width:767px){ :root{ --ec-cw:calc(100% - 32px); --ec-header-h:76px; } }

body.elementor-template-canvas { font-family:'Montserrat',sans-serif; color:var(--ec-text); background:#fff; }

/* One shared container: header, page content and footer line up on the same left/right edges */
.elementor-top-section.elementor-section-boxed > .elementor-container { max-width:var(--ec-cw) !important; }

/* ---------------- Header (sticky) ---------------- */
.ec-site-header { position:sticky; top:var(--wp-admin--admin-bar--height, 0px); z-index:999; display:block; }
.ec-header .elementor-column, .ec-header .elementor-widget-wrap { position:static; }
.ec-logo img { height:70px !important; width:auto !important; max-width:none; }
.ec-logo .elementor-widget-container { text-align:left !important; }
@media (max-width:767px){ .ec-logo img { height:54px !important; } .ec-header > .elementor-container > .elementor-column:first-child { width:50% !important; } .ec-header > .elementor-container > .elementor-column:last-child { width:50% !important; } }

.ec-nav { display:flex; align-items:center; gap:24px; font-family:'Montserrat',sans-serif; }
.ec-nav-links { margin:0 auto; }
.ec-menu { display:flex; list-style:none; margin:0; padding:0; }
.ec-menu a { display:block; padding:8px 11px; font-size:11px; font-weight:400; color:#555 !important; text-transform:uppercase; letter-spacing:.2px; text-decoration:none; transition:color .2s; }
.ec-menu a:hover, .ec-menu .current-menu-item > a, .ec-menu .current_page_item > a { color:var(--ec-cyan) !important; }
.ec-search { position:relative; margin-left:auto; }
.ec-search-btn, .ec-burger { background:none !important; border:0 !important; padding:4px !important; cursor:pointer; line-height:0; box-shadow:none !important; }
.ec-search form { display:none; position:absolute; right:0; top:36px; z-index:99; background:#fff; box-shadow:0 4px 16px rgba(0,0,0,.12); padding:8px; }
.ec-search.open form { display:block; }
.ec-search input { width:220px; border:1px solid #ddd; padding:6px 10px; font:13px 'Montserrat',sans-serif; border-radius:0; }
body .ec-burger { display:none; flex-direction:column; gap:4px; }
.ec-burger span { display:block; width:22px; height:2px; background:var(--ec-cyan); }
@media (max-width:1024px){
	body .ec-burger { display:flex; margin-left:auto; }
	.ec-search { margin-left:0; }
	.ec-nav-links { display:none; position:absolute; left:0; right:0; top:100%; background:#fff; z-index:98; box-shadow:0 6px 14px rgba(0,0,0,.1); margin:0; }
	.ec-header > .elementor-container { position:static; }
	.ec-nav.open .ec-nav-links { display:block; }
	.ec-menu { flex-direction:column; }
	.ec-menu a { padding:12px 24px; border-top:1px solid #eee; font-size:12px; }
}

/* ---------------- Home: hero ---------------- */
.ec-hero .elementor-column, .ec-hero .elementor-widget-wrap { position:static; }
.ec-hero > .elementor-container { position:relative; }
.ec-ss > .elementor-widget-wrap { position:relative !important; }
.ec-ss > .elementor-widget-wrap::before { content:""; position:absolute; width:470px; height:470px; border-radius:50%; background:rgba(77,201,216,.22); left:-30px; top:50%; transform:translateY(-50%); pointer-events:none; z-index:0; }
.ec-ss .elementor-widget { position:relative; z-index:1; }
.ec-ss .elementor-icon-list-icon i { font-size:4px !important; }
.ec-down { position:absolute !important; left:50%; bottom:14px; transform:translateX(-50%); width:auto !important; z-index:3; }
.ec-down .elementor-icon { animation:ecBob 2s ease-in-out infinite; }
@keyframes ecBob { 50% { transform:translateY(6px); } }
@media (max-width:1024px){ .ec-ss > .elementor-widget-wrap::before { width:380px; height:380px; left:-20px; } }
@media (max-width:767px){ .ec-ss > .elementor-widget-wrap::before { width:300px; height:300px; left:-30px; } }

/* ---------------- Home: why choose us ---------------- */
.ec-why-arrow .elementor-icon { cursor:default; }
@media (max-width:767px){ .elementor-column.ec-why-arrow { display:none !important; } .ec-why-row .elementor-column { width:50% !important; margin-bottom:24px; } }

/* ---------------- Home: our solutions carousel ---------------- */
.ec-seeall a { color:#fff !important; letter-spacing:.3px; font-weight:500; }
.ec-seeall p { margin:0 0 12px; }
.ec-solcar .swiper-slide-image { width:100% !important; height:250px !important; object-fit:cover; }
.ec-solcar .elementor-image-carousel-caption { color:#fff; font:700 15px/1.4 'Montserrat',sans-serif; margin-top:24px; text-align:center; }
.ec-solcar .elementor-swiper-button { color:#fff !important; }

/* ---------------- Home: clients carousel ---------------- */
.ec-clientcar .swiper-slide-image { max-height:80px; width:auto !important; margin:0 auto; object-fit:contain; }
.ec-homeclients .elementor-swiper-button { color:#8a8a8a !important; }

/* ---------------- Inner pages ---------------- */
.ec-crumb p { margin:0; letter-spacing:2px; text-transform:uppercase; }
.ec-crumb a { color:#555 !important; text-decoration:none; }
.ec-crumb a:hover { color:var(--ec-cyan) !important; }
.ec-crumb strong { color:#222; font-weight:700; }
.ec-crumb-sep { display:inline-block; margin:0 14px; font-size:14px; }
.ec-title { margin-top:14px; }
.elementor-widget-text-editor p:last-child { margin-bottom:0; }
.elementor-widget-text-editor p { margin:0 0 14px; }

/* Our Solutions page */
.ec-pills { display:flex; align-items:center; max-width:1100px; margin:0 auto 10px; gap:10px; }
.ec-pill-track { flex:1; display:flex; gap:30px; overflow-x:auto; scroll-behavior:smooth; scrollbar-width:none; scroll-snap-type:x mandatory; }
.ec-pill-track::-webkit-scrollbar { display:none; }
.ec-pill-track a { flex:0 0 calc((100% - 60px) / 3); scroll-snap-align:start; display:flex; justify-content:center; text-decoration:none; }
.ec-pill-track span { display:inline-block; background:var(--ec-cyan); color:#1d4f5c; font:500 12px 'Montserrat',sans-serif; padding:9px 22px; border-radius:30px; white-space:nowrap; transition:.2s; }
.ec-pill-track a:hover span { background:#36B3C3; color:#fff; }
.ec-pill-nav { background:none !important; border:0 !important; color:#555 !important; font-size:22px; cursor:pointer; padding:6px !important; }
@media (max-width:767px){ .ec-pill-track a { flex-basis:100%; } }
.ec-solrow { scroll-margin-top:calc(var(--ec-header-h) + 20px); }
.ec-solimg img { width:100% !important; height:560px !important; object-fit:cover; display:block; }
@media (max-width:1024px){ .ec-solimg img { height:440px !important; } }
@media (max-width:767px){ .ec-solimg img { height:280px !important; } }
.ec-has-lead p:first-child { color:#777; font-size:18px; margin-bottom:10px; }

/* Logo grids (Our Partners / Our Clients) */
.ec-logo-row > .elementor-container { margin-left:-5px; margin-right:-5px; }
.ec-logo-box img { width:100% !important; height:auto !important; aspect-ratio:308 / 120; object-fit:contain; border:1px solid #8d8d8d; border-radius:12px; padding:6px; background:#fff; box-sizing:border-box; }
.ec-logo-box figure { margin:0; }
.ec-logo-box figcaption, .ec-logo-box .widget-image-caption { font:400 17px/1.4 'Montserrat',sans-serif; color:#555; margin-top:12px; text-align:center; }
@media (max-width:1024px){ .ec-logo-row .elementor-column { width:33.333% !important; } }
@media (max-width:767px){ .ec-logo-row .elementor-column { width:50% !important; } .ec-logo-box figcaption { font-size:15px; } }

/* Our Projects gallery + slow slide-down popup */
.ec-gallery .gallery-item img { width:100% !important; height:auto !important; aspect-ratio:4 / 3; object-fit:cover; border:0 !important; display:block; transition:opacity .2s; }
.ec-gallery .gallery-item img:hover { opacity:.85; }
.ec-gallery .gallery-caption { display:none; }
.elementor-lightbox { background-color:rgba(0,0,0,.55) !important; animation:ecFade .6s ease; }
.elementor-lightbox .elementor-lightbox-image { animation:ecDrop 1.1s cubic-bezier(.22,.8,.3,1); box-shadow:0 0 30px rgba(0,0,0,.4); }
@keyframes ecDrop { from { transform:translateY(-110vh); opacity:0; } to { transform:translateY(0); opacity:1; } }
@keyframes ecFade { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce){ .elementor-lightbox, .elementor-lightbox .elementor-lightbox-image { animation:none; } }

/* Contact page */
.ec-cinfo strong { color:#333; font-weight:600; }
.ec-cinfo a { color:#555 !important; }
.ec-cform { display:grid; grid-template-columns:1fr 1fr; gap:22px 14px; }
.ec-cform input, .ec-cform textarea { width:100%; border:1px solid #c9c9c9 !important; border-radius:0 !important; padding:11px 14px !important; font:15px 'Montserrat',sans-serif; color:#333; background:#fff; outline:none; box-shadow:none; }
.ec-cform input:focus, .ec-cform textarea:focus { border-color:var(--ec-cyan) !important; }
.ec-cform textarea { grid-column:1 / -1; height:184px; resize:vertical; }
.ec-crow { grid-column:1 / -1; display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-top:8px; }
.ec-csub { background:var(--ec-cyan) !important; color:#1d5864 !important; border:0 !important; border-radius:30px !important; font:500 15px 'Montserrat',sans-serif !important; padding:10px 22px !important; cursor:pointer; }
.ec-csub:hover { background:#36B3C3 !important; color:#fff !important; }
.ec-cmsg { grid-column:1 / -1; margin:0; font-size:15px; }
.ec-cmsg.ok { color:#2a8a3a; } .ec-cmsg.err { color:#c0392b; }
.ec-hp { position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }
@media (max-width:767px){ .ec-cform { grid-template-columns:1fr; } .ec-crow { flex-direction:column; } }

/* ---------------- Footer ---------------- */
.ec-site-footer { display:block; }
.ec-footer a { color:#fff !important; text-decoration:none; }
.ec-footer a:hover { color:var(--ec-cyan) !important; }
.ec-ftext p { margin:0; }
.ec-fcols { display:flex; gap:28px; }
.ec-flinks { list-style:none; margin:0; padding:0; line-height:2.3; }
.ec-news p { margin:0 0 12px; font:400 11px/1.6 'Montserrat',sans-serif; color:#fff; }
.ec-news form { display:flex; }
.ec-news input[type=email] { flex:1; min-width:0; border:0 !important; border-radius:0 !important; padding:7px 10px !important; font:11px 'Montserrat',sans-serif; background:#fff; color:#333; }
.ec-news button { border:0 !important; border-radius:0 !important; background:var(--ec-cyan) !important; color:#fff !important; font:10px 'Montserrat',sans-serif !important; padding:7px 10px !important; text-transform:uppercase; cursor:pointer; }
.ec-nmsg { color:var(--ec-cyan) !important; }
@media (max-width:1024px){ .ec-footer .elementor-column { width:50% !important; margin-bottom:28px; } }
@media (max-width:767px){ .ec-footer .elementor-column { width:100% !important; } }

/* Back to top */
.ec-totop { position:fixed; right:12px; bottom:14px; width:40px; height:40px; border-radius:50%; border:2px solid #bbb; background:rgba(255,255,255,.85); display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .3s; z-index:999; }
.ec-totop.show { opacity:1; pointer-events:auto; }
