:root {
  --primary: #303791;
  --secondary: #EA2425;
  --accent: #4054B2;
  --text: #000;
  --white: #fff;
  --border: #EAEAEA;
  --soft: #FAFAFA;
  --dark: #161718;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Quicksand', sans-serif; font-size: 16px; color: var(--text); background: var(--soft); min-height: 100vh; }
a { text-decoration: none; color: inherit; }
svg { fill: currentColor; width: 16px; height: 16px; flex: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar { background: var(--primary); color: var(--white); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-left { gap: 8px; }
.topbar-right a:hover { text-decoration: underline; }
.sep { opacity: .5; }
.topbar-mobile { display: none; align-items: center; gap: 8px; }

/* Navbar */
.navbar { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; overflow: visible; gap: 24px; }

.brand { display: flex; align-items: center; flex: none; }
.logo { height: 68px; width: auto; display: block; }

.menu { display: flex; align-items: center; gap: 36px; }
.menu a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; font-weight: 400; color: var(--text); transition: color .2s; }
.menu a:hover { color: var(--primary); font-weight: 800; }
.menu a.active { color: var(--secondary); font-weight: 800; }
.menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--secondary); border-radius: 2px; }
.menu a.active:hover { color: var(--secondary); }

.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--secondary); color: var(--white); font-weight: 600; padding: 12px 24px; border-radius: 6px; white-space: nowrap; transition: background .2s; }
.cta:hover { background: var(--primary); }

.hamburger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }

/* Drawer */
.overlay { position: fixed; inset: 0; background: rgba(22,23,24,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 90; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 85vw); background: var(--white); z-index: 100; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; padding: 20px 24px 24px; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.drawer-head .close { background: none; border: 0; font-size: 34px; line-height: 1; cursor: pointer; color: var(--dark); }
.drawer-menu { display: flex; flex-direction: column; margin-top: 8px; flex: 1; }
.drawer-menu a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
.drawer-menu a:hover { color: var(--primary); font-weight: 800; }
.drawer-menu a.active { color: var(--secondary); font-weight: 800; }
.cta-full { width: 100%; }

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .nav-inner { gap: 12px; }
  .logo { height: 58px; }
  .menu { gap: 20px; font-size: 15px; }
  .cta { padding: 10px 16px; font-size: 15px; }
}

/* Small tablet: menu collapses into the drawer, CTA stays visible */
@media (max-width: 991px) {
  .hamburger { display: flex; margin-left: -10px; }
  .menu { display: none; }
  .brand { margin-right: auto; }
}

/* Mobile */
@media (max-width: 767px) {
  .topbar-left, .topbar-right { display: none; }
  .topbar-mobile { display: inline-flex; margin: 0 auto; }
  .topbar-inner { min-height: 34px; }
  .nav-inner { height: 64px; position: relative; justify-content: center; }
  .hamburger { position: absolute; left: 12px; margin-left: 0; }
  .navbar .cta { display: none; }
  .brand { margin: 0 auto; }
  .logo { height: 50px; }
}

/* ===== HERO SLIDER ===== */
.hero { position: relative; height: calc(100vh - 118px); min-height: 560px; max-height: 760px; overflow: hidden; background: var(--primary); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; background: linear-gradient(135deg, #303791, #4054B2 60%, #161718); }
.slide::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center; transform: scale(1.06); transition: transform 6s ease-out; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,55,145,.92) 0%, rgba(48,55,145,.78) 40%, rgba(48,55,145,0) 100%); }
.slide.active { opacity: 1; visibility: visible; z-index: 1; }
.slide.active::before { transform: scale(1); }
.slide-inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-copy { width: 50%; color: var(--white); padding-bottom: 40px; }
.tag { display: inline-block; background: var(--secondary); color: var(--white); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 22px; }
.slide-copy h1, .slide-copy h2 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 56px; line-height: 1.1; margin-bottom: 20px; }
.slide-copy p { font-size: 16px; line-height: 1.7; max-width: 560px; margin-bottom: 32px; }
.slide-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--white); color: var(--white); font-weight: 600; padding: 10px 24px; border-radius: 6px; transition: .2s; }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.slide-copy .cta:hover { background: var(--white); color: var(--secondary); }
.slide.active .slide-copy > * { animation: rise .7s ease both; }
.slide.active .slide-copy > :nth-child(2) { animation-delay: .1s; }
.slide.active .slide-copy > :nth-child(3) { animation-delay: .2s; }
.slide.active .slide-copy > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-controls { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 1280px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--white); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.arrow svg { width: 24px; height: 24px; }
.arrow:hover { background: var(--secondary); border-color: var(--secondary); }
.dots { display: flex; gap: 10px; margin-left: 12px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: .2s; }
.dot.active { background: var(--secondary); width: 30px; border-radius: 999px; }

@media (max-width: 1024px) {
  .hero { height: 600px; }
  .slide-copy { width: 65%; }
  .slide-copy h1, .slide-copy h2 { font-size: 44px; }
}
@media (max-width: 767px) {
  .hero { height: clamp(560px, calc(100svh - 98px), 720px); min-height: 560px; max-height: none; }
  .slide::after { background: linear-gradient(180deg, rgba(22,23,24,.72), rgba(48,55,145,.82)); }
  .slide-inner { justify-content: center; text-align: center; }
  .slide-copy { width: 100%; padding: 24px 0 60px; }
  .slide-copy h1, .slide-copy h2 { font-size: 32px; }
  .slide-copy p { font-size: 15px; margin-left: auto; margin-right: auto; margin-bottom: 24px; }
  .slide-btns { flex-direction: column; }
  .slide-btns .cta, .slide-btns .btn-outline { width: 100%; }
  .arrow { display: none; }
  .hero-controls { justify-content: center; bottom: 20px; }
  .dots { margin-left: 0; }
}

.slide-1::before { background-position: right center; }
.slide-3::before { background-position: 70% center; }

/* ===== SHARED SECTION HEADINGS ===== */
.sec-title { font-family: 'Nunito', sans-serif; font-weight: 900; color: var(--primary); font-size: 40px; line-height: 1.2; text-align: center; }
.underline { display: block; width: 64px; height: 4px; background: var(--secondary); border-radius: 2px; margin: 14px auto 0; }
.sec-sub { text-align: center; color: var(--text); margin-top: 18px; }

/* ===== SISTER CONCERNS ===== */
.concerns { background: var(--white); padding: 80px 0; text-align: center; }
.concern-strip { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 44px; }
.concern-strip li { flex: 1; display: flex; justify-content: center; }
.wm { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 30px; color: #9a9a9a; filter: grayscale(1); opacity: .85; transition: .25s; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.1; letter-spacing: 1px; }
.wm small { font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.wm-zehak { font-weight: 800; letter-spacing: 0; }
.wm-g { font-size: 36px; }
.concern-strip li:hover .wm { color: var(--primary); opacity: 1; }

/* ===== SERVICES ===== */
.services { background: var(--soft); padding: 80px 0; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px; }
.svc-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 6px 20px rgba(48,55,145,.06); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(48,55,145,.14); }
.svc-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: var(--white); display: grid; place-items: center; margin-bottom: 18px; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--primary); font-size: 19px; line-height: 1.25; margin-bottom: 10px; }
.svc-card p { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.svc-card ul { list-style: none; font-size: 14px; line-height: 1.5; margin-bottom: 20px; flex: 1; }
.svc-card li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.svc-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.svc-card ul.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; }
.svc-card ul.two-col li { padding-left: 14px; font-size: 13px; }
.svc-card ul.two-col li::before { width: 6px; height: 6px; }
.learn { color: var(--secondary); font-weight: 700; margin-top: auto; }
.learn:hover { text-decoration: underline; }

@media (max-width: 1199px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card:last-child { grid-column: 1 / -1; }
  .svc-card ul.two-col li { font-size: 14px; }
}
@media (max-width: 1024px) {
  .concern-strip { gap: 12px; }
  .wm { font-size: 24px; }
  .wm-g { font-size: 28px; }
}
@media (max-width: 767px) {
  .sec-title { font-size: 28px; }
  .concerns, .services { padding: 56px 0; }
  .concern-strip { flex-wrap: wrap; justify-content: center; gap: 28px 0; margin-top: 32px; }
  .concern-strip li { flex: 0 0 50%; }
  .concern-strip li:last-child { flex-basis: 100%; }
  .service-grid { grid-template-columns: 1fr; margin-top: 32px; }
}

/* ===== ABOUT ===== */
.about { background: var(--white); padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img img { width: 100%; height: 460px; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 16px 40px rgba(48,55,145,.18); }
.sec-title.left { text-align: left; }
.underline.left { margin-left: 0; margin-right: 0; }
.about-copy p { margin: 24px 0; font-size: 16px; line-height: 1.8; }
.checks { list-style: none; margin-bottom: 32px; }
.checks li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 600; }
.checks svg { width: 22px; height: 22px; color: var(--secondary); }

/* ===== PROJECTS ===== */
.projects { background: var(--soft); padding: 80px 0; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.proj-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 20px rgba(48,55,145,.06); transition: transform .25s, box-shadow .25s; }
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(48,55,145,.14); }
.proj-img { position: relative; height: 220px; background: linear-gradient(135deg, #303791, #4054B2); overflow: hidden; }
.proj-img::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center; transition: transform .5s; }
.proj-card:hover .proj-img::before { transform: scale(1.06); }
.proj-tag { position: absolute; left: 16px; top: 16px; z-index: 1; background: var(--secondary); color: var(--white); font-weight: 700; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.proj-body { padding: 22px 24px 26px; }
.proj-body h3 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--primary); font-size: 20px; margin-bottom: 8px; }
.proj-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.proj-body p { font-size: 15px; line-height: 1.6; }
.proj-more { text-align: center; margin-top: 44px; }

/* ===== CTA BANNER ===== */
.cta-banner { background: var(--primary); color: var(--white); padding: 56px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-banner h2 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 32px; line-height: 1.25; }
.cta-banner h2 span { display: block; }
.cta-banner-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-banner .btn-outline svg { margin-right: 2px; }
.cta-banner .cta:hover { background: var(--white); color: var(--secondary); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.5fr; gap: 40px; padding: 64px 24px 48px; }
.f-logo { display: inline-block; background: var(--white); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; }
.f-logo img { height: 100px; width: auto; display: block; }
.f-name { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 22px; margin-bottom: 6px; }
.f-brand p { color: rgba(255,255,255,.75); }
.f-col h4 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--secondary); border-radius: 2px; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 12px; }
.f-col a { color: rgba(255,255,255,.8); transition: color .2s; }
.f-col a:hover { color: var(--secondary); }
.f-contact strong { display: block; margin-top: 4px; font-weight: 700; }
.f-contact p { color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 14px; font-size: 15px; word-break: break-word; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: 14px; color: rgba(255,255,255,.7); }
.red { color: var(--secondary); }

@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .about-img img { height: 380px; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .about, .projects { padding: 56px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img img { height: 260px; }
  .about-copy .cta { width: 100%; }
  .proj-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .proj-img { height: 200px; }
  .proj-more .cta { width: 100%; }
  .cta-banner { padding: 44px 0; text-align: center; }
  .cta-banner-inner { flex-direction: column; }
  .cta-banner h2 { font-size: 24px; }
  .cta-banner-btns { flex-direction: column; width: 100%; }
  .cta-banner-btns .cta, .cta-banner-btns .btn-outline { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 20px 32px; gap: 32px; }
}

/* ===== SUPPORT BANNER ===== */
.support-banner { position: relative; background: var(--primary); color: var(--white); padding: 72px 0; overflow: hidden; }
.support-banner::before { content: ""; position: absolute; inset: 0; background-image: var(--img); background-size: cover; background-position: center 40%; }
.support-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,55,145,.95) 0%, rgba(48,55,145,.85) 55%, rgba(22,23,24,.7) 100%); }
.support-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.support-copy { max-width: 760px; }
.support-copy .tag { margin-bottom: 16px; }
.support-copy h2 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 36px; line-height: 1.2; margin-bottom: 12px; }
.support-call { display: inline-flex; align-items: center; gap: 16px; background: var(--white); color: var(--primary); padding: 16px 28px; border-radius: 12px; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 24px; white-space: nowrap; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.support-call:hover { transform: translateY(-3px); }
.support-call svg { width: 28px; height: 28px; color: var(--white); background: var(--secondary); border-radius: 50%; padding: 8px; box-sizing: content-box; }
.support-call small { display: block; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 12px; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }

/* CTA banner with photo */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: url('images/slide-1-mep.jpg') center/cover; opacity: .22; }
.cta-banner::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--secondary); }
.cta-banner .container { position: relative; z-index: 1; }

@media (max-width: 1024px) { .support-copy h2 { font-size: 30px; } }
@media (max-width: 767px) {
  .support-banner { padding: 52px 0; text-align: center; }
  .support-inner { flex-direction: column; }
  .support-copy h2 { font-size: 26px; }
  .support-call { width: 100%; justify-content: center; }
}

/* ===== FLOATING WHATSAPP (all pages) ===== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.5); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; position: relative; z-index: 1; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: wa-ping 2s ease-out infinite; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 767px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 28px; height: 28px; }
}

.about-img img { object-position: 38% center; }

/* Sister concern logo images: grey until hovered */
.wm-img { height: 52px; width: auto; max-width: 100%; display: block; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s, transform .3s; }
.concern-strip li:hover .wm-img { filter: none; opacity: 1; transform: scale(1.05); }
@media (max-width: 1024px) { .wm-img { height: 44px; } }
@media (max-width: 767px) { .wm-img { height: 38px; max-width: 150px; } }
.slide-4::before { background-position: right center; }

/* Projects image slider */
.ps { position: relative; margin-top: 48px; }
.ps-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ps-track::-webkit-scrollbar { display: none; }
.ps-item { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; height: 320px; border-radius: 14px; overflow: hidden; background: var(--primary); box-shadow: 0 8px 26px rgba(48,55,145,.14); }
.ps-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.ps-item:hover img { transform: scale(1.07); }
.ps-arrow { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; cursor: pointer; background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.25); display: grid; place-items: center; transition: .2s; }
.ps-arrow svg { width: 24px; height: 24px; fill: var(--primary); }
.ps-arrow:hover { background: var(--secondary); }
.ps-arrow:hover svg { fill: #fff; }
.ps-prev { left: -14px; } .ps-next { right: -14px; }
@media (max-width: 1024px) { .ps-item { flex-basis: calc((100% - 20px) / 2); height: 300px; } }
@media (max-width: 767px) { .ps { margin-top: 32px; } .ps-item { flex-basis: 100%; height: 260px; } .ps-prev { left: 8px; } .ps-next { right: 8px; } .ps-arrow { width: 40px; height: 40px; margin-top: -20px; } }

/* Full-banner image slide: no overlay or copy */
.slide-poster::after { display: none; }
.slide-poster::before { background-position: center; }
.slide-5::before { background-position: right center; }
