/* Scientific color fields retain the light identity and the sculpted source background. */
:root{--jade:#ddeee1;--lab-blue:#e4eff7;--coral-paper:#f7e7e0;--emerald-deep:#164e40;--board-blue:#e9eef8}
.mtls-home .hero{background:linear-gradient(115deg,#dceee5,#edf4f2 52%,#e5eef5)}
.mtls-home .hero::before{opacity:.38;mix-blend-mode:multiply}
.mtls-home .hero::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(110deg,#18785d,#4e93b2 65%,#b9494f);mask:url('images/laboratory-field.svg') center/cover;opacity:.32;animation:field-drift 22s ease-in-out infinite alternate}
.mtls-home .about-section{background:var(--jade);position:relative;overflow:hidden;padding-block:0!important}
.mtls-home .about-section::before{background:linear-gradient(120deg,#0d7858,#4f99b4 70%,#b84350);mask-image:url('images/laboratory-field.svg');opacity:.38;animation:field-drift 24s ease-in-out infinite alternate}
.mtls-home .about-section::after{display:none}
.mtls-home .about-section>.container{padding-block:72px!important;position:relative;z-index:2}
.association-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:64px;align-items:center}
.association-photo{margin:0;position:relative;isolation:isolate;width:100%;max-width:600px;justify-self:center;perspective:1200px}
.association-photo::before{content:'';position:absolute;inset:16px -14px -14px 16px;background:#afd0ba;border-radius:24px;transform:rotate(3deg);z-index:-1}
.association-photo img{width:100%;height:auto;max-height:420px;object-fit:contain;display:block;border:9px solid #fffffff2;border-radius:20px;box-shadow:0 24px 35px -28px #143c3480}
.association-photo figcaption{font-size:13px;margin:15px 8px 0;color:#345e50;line-height:1.6;text-align:center}
.association-copy h2{font-size:34px!important;line-height:1.65!important;margin:8px 0 18px}.association-copy>p:not(.sub-heading){margin-bottom:18px;font-size:18px}
.association-goals{list-style:none;padding:0;margin:0 0 24px;display:grid;gap:7px;font-size:17px}
.association-goals li{position:relative;padding-inline-start:22px}.association-goals li::before{content:'';position:absolute;inset-inline-start:0;top:13px;width:7px;height:7px;border:2px solid #1b8263;border-radius:50%}
.association-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#f8fcf7bb;border:1px solid #accfba;border-radius:16px;margin:0 0 24px;padding:17px 0}
.association-facts>div{padding:0 14px;text-align:center;border-inline-end:1px solid #b5d2bf}.association-facts>div:last-child{border:0}
.association-facts>div{display:flex;flex-direction:column}.association-facts dd{order:-1}
.association-facts dd{font:700 24px/1.6 Cairo,sans-serif;color:#17694f;margin:0}.association-facts dt{font-size:13px;font-weight:400;line-height:1.8;color:#416657}.association-facts a:hover{color:var(--red)}
.mtls-home .services-section{background:var(--lab-blue);padding-block:0!important;position:relative;isolation:isolate}
.mtls-home .services-section>.container{padding-block:64px!important;position:relative;z-index:2}
.mtls-home .services-section::before{display:none}.mtls-home .services-section::after{content:'';position:absolute;inset:0;z-index:-1;width:100%;height:100%;transform:none;filter:none;background:linear-gradient(120deg,#3988a0,#327f65 72%,#b54253);mask:url('images/laboratory-field.svg') center/cover;opacity:.3;animation:field-drift 24s ease-in-out infinite alternate}
.mtls-home .services-section>.top,.mtls-home .services-section>.bottom,.mtls-home .services-section>.shape,.mtls-home .services-section>.ball{display:none}
.activities-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:30px}.activities-heading>div{max-width:830px}.activities-heading h2{font-size:36px!important;margin:4px 0 12px!important;line-height:1.6}.activities-heading p:not(.sub-heading){font-size:18px;color:#426673;margin:0;line-height:1.8;text-align:start;max-width:750px}
.activities-heading .sub-heading{margin:0}.section-browse{flex:none;color:var(--green);font-weight:700;min-height:46px;display:inline-flex;gap:15px;align-items:center;border-bottom:1px solid #8ab5a1}.section-browse:hover{color:var(--red);border-color:var(--red)}
.activities-selection{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}.activity-feature{grid-column:span 2;min-width:0}.activity-feature-wide{grid-column:span 3}
.mtls-home .service-card{padding:13px;border-radius:18px;border-color:#bed1da;box-shadow:0 15px 35px -32px #143c3460}.mtls-home .service-card .img{height:230px;border-radius:10px}.mtls-home .service-card .img img{filter:none!important;opacity:1!important;object-position:center;image-rendering:auto}.mtls-home .service-card h5{font-size:19px;line-height:1.75}.mtls-home .service-card .badge-icon{width:32px;height:32px;background:#e1eee4}.mtls-home .service-card p{font-size:16px;line-height:1.8;margin-bottom:16px!important}.mtls-home .service-card .text-link{font-size:15px}.activity-feature-wide .service-card .img{height:245px}
.mtls-home .activity-feature-wide .service-card .img img{object-position:center top}
.mtls-home .hero::after{background:linear-gradient(90deg,#18785d,#4e93b2 42%,transparent 60%)}
.mtls-home .about-section::before{background:linear-gradient(90deg,#18785d,transparent 35%,transparent 53%,#4f99b4);opacity:.3}
.mtls-home .impact-section{background:var(--emerald-deep)!important;color:#f6fbf6;position:relative;isolation:isolate;border:0;border-radius:0}
.mtls-home .impact-section::before{content:'';position:absolute;inset:0;width:100%;height:100%;background:linear-gradient(110deg,#9ad5b0,#74bbdb 70%,#dc8b91);mask:url('images/laboratory-field.svg') center/cover;opacity:.3;transform:none;animation:field-drift 25s ease-in-out infinite alternate}
.mtls-home .impact-section::after,.mtls-home .impact-section>.top,.mtls-home .impact-section>.bottom{display:none}
.mtls-home .impact-section h2,.mtls-home .impact-section .text-white,.mtls-home .impact-section .counter-box p{color:#f6fbf6!important}.mtls-home .impact-section .sub-heading{color:#b0e1c1!important}.mtls-home .impact-section .counter-box{background:#ffffff0d;border:1px solid #a1cdb66b;box-shadow:none}.mtls-home .impact-section .counter-box .icon{background:#d0e9d8;color:#12634f}.mtls-home .impact-section .counter-box .icon i{color:#12634f}.mtls-home .impact-section .main-circle{border-color:#76ad91;background:#c7dfcf}.mtls-home .impact-section .scientific-ring{opacity:.9;border-color:#95c4aa88}.mtls-home .impact-section .btn-start{background:#edf6ed;color:#164e40;border-color:#edf6ed}.mtls-home .impact-section .btn-start:hover{background:#d9ecdc}.mtls-home .impact-section .container-fluid{position:relative;z-index:2}
.mtls-home .swiper-section{background:var(--coral-paper)!important;position:relative;isolation:isolate;border:0;border-radius:0}
.mtls-home .swiper-section::before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#bb5b65,#429c7b);mask:url('images/laboratory-field.svg') center/cover;opacity:.15;z-index:-1;pointer-events:none;animation:field-drift 28s ease-in-out infinite alternate}
.mtls-home .blog-section{background:var(--board-blue)!important;position:relative;isolation:isolate}
.mtls-home .blog-section::before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,#346c95,#538b70 70%,#b74f5e);mask:url('images/microplate-field.svg') center/750px auto repeat;opacity:.13;z-index:-1;pointer-events:none;animation:plate-drift 28s ease-in-out infinite alternate}
.mtls-home .blog-section .social-floating{display:none}.mtls-home .board-slide{border-color:#c5d3e1;background:#fff}
.mtls-home .blog-section>.container>.row>div:last-child:nth-child(odd){grid-column:1/-1;max-width:636px;width:100%;justify-self:center}
.contact-photo-caption{font-size:12px!important;line-height:1.7!important;color:#456c5a!important;margin:0!important;padding:10px 18px;background:#edf6ed;text-align:center}
.mtls-home .contact-section{background:#dceee4!important;position:relative;isolation:isolate}.mtls-home .contact-section::before{background:linear-gradient(110deg,#2f8c6a,#5294b4 70%,#b44050);mask-image:url('images/laboratory-field.svg');opacity:.35;animation:field-drift 24s ease-in-out infinite alternate}
.footer-section{background:#143f34;color:#edf6ed;border:0}.footer-section h3,.footer-section p,.footer-section .mtls-brand,.footer-section .mtls-brand strong,.footer-section .mtls-brand small,.footer-section .text-link,.footer-section a,.footer-end-box{color:#e6f2e8!important}.footer-section .mtls-brand img{background:#fff;padding:3px;border-radius:5px}.footer-end-box{border-color:#83b29c55}.footer-section a:hover{color:#fff!important;text-decoration:underline}
.mtls-inner .ref-hero{background:#ddeee5}.mtls-inner .ref-hero::before,.mtls-inner .depth-banner::before{opacity:.3;mix-blend-mode:multiply}.mtls-inner .ref-hero::after,.mtls-inner .depth-banner::after{background:linear-gradient(115deg,#187d59,#3d8eac 70%,#bc4d5d);mask-image:url('images/laboratory-field.svg');opacity:.4;animation:field-drift 25s ease-in-out infinite alternate}
.mtls-inner .depth-banner{background:#e3eef6}.mtls-inner main>.section:nth-of-type(2n){background:linear-gradient(120deg,#e4f0e5,#e8f1f8)}.mtls-inner .photo-scene::before{background:#a6cfb5}.mtls-inner .contact-intro{background:#164e40}.mtls-inner .leadership{background:#cfe7d8}
@keyframes field-drift{from{mask-position:48% 49%}to{mask-position:52% 51%}}
@keyframes plate-drift{from{mask-position:0 0}to{mask-position:25px 16px}}
@media(max-width:1199px){.association-layout{gap:38px}.association-copy h2{font-size:30px!important}.activities-selection{gap:22px}.activity-feature{grid-column:span 3}.activity-feature:last-child{grid-column:2/span 4}.activity-feature-wide .service-card .img{height:230px}}
@media(max-width:991px){.association-layout{grid-template-columns:1fr;gap:35px}.association-photo{max-width:600px;order:2}.association-copy{order:1;max-width:700px;margin:auto}.activities-heading{align-items:flex-start}.activities-heading p:not(.sub-heading){font-size:17px}.mtls-home .hero .row>.order-1{order:0!important}.mtls-home .hero .row>.order-2{order:1!important}.mtls-home .hero .row{padding-top:100px}.mtls-home .hero-animation-container{margin-top:0}.mtls-home .hero .content{padding-top:8px!important}.mtls-home .hero .row{padding-bottom:44px}}
@media(max-width:767px){.mtls-home .about-section>.container,.mtls-home .services-section>.container{padding-block:44px!important}.association-layout{gap:30px}.association-copy h2{font-size:28px!important}.association-copy>p:not(.sub-heading){font-size:17px}.association-goals{font-size:16px;gap:8px;margin-bottom:20px}.association-facts{padding-block:14px;margin-bottom:22px}.association-facts dd{font-size:22px}.association-facts dt{font-size:12px}.association-facts>div{padding-inline:8px}.association-photo img{border-width:6px;border-radius:14px;max-height:none}.association-photo::before{inset:10px -7px -7px 10px;border-radius:18px}.association-photo figcaption{font-size:12px}.activities-heading{display:block;margin-bottom:24px}.activities-heading h2{font-size:28px!important;margin-bottom:10px!important}.activities-heading .section-browse{margin-top:12px}.activities-selection{grid-template-columns:1fr;gap:20px}.activity-feature,.activity-feature:last-child{grid-column:auto}.mtls-home .service-card .img,.activity-feature-wide .service-card .img{height:auto;aspect-ratio:1.55}.mtls-home .service-card h5{font-size:18px}.mtls-home .hero .row{padding-top:90px}.mtls-home .hero-animation-container{padding-top:14px;min-height:450px}.mtls-home .hero .content{padding-top:0!important}.mtls-home .hero .main-title{font-size:32px}.mtls-home .hero .row{row-gap:4px!important}.mtls-home .hero::after{opacity:.23}.mtls-home .about-section::before,.mtls-home .services-section::after{opacity:.25}.mtls-home .impact-section::before{opacity:.2}.mtls-home .impact-section{padding-block:40px}.mtls-home .blog-section::before{mask-size:450px auto;opacity:.12}.mtls-inner .ref-hero::after{opacity:.3}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
