/*
Theme Name: MagikWebServices
Theme URI: https://magikwebservices.com/
Author: Custom Build
Author URI: https://magikwebservices.com/
Description: Custom WordPress theme matching the provided Magik Web Services design.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: magikwebservices
*/

:root {
  --mws-bg-dark: #1f1f1f;
  --mws-bg-darker: #161616;
  --mws-bg-light: #ffffff;
  --mws-bg-soft: #f6f7f9;
  --mws-white: #ffffff;
  --mws-primary: #f4511e;
  --mws-primary-dark: #d84315;
  --mws-heading: #1c1c22;
  --mws-text: #6b7280;
  --mws-card-dark: #262626;
  --mws-radius: 14px;
  --mws-shadow: 0 12px 30px rgba(15, 20, 35, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--mws-text);
  background: var(--mws-bg-light);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  color: var(--mws-heading);
  line-height: 1.2;
}

.mws-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.mws-highlight {
  color: var(--mws-primary);
}

/* ---------- Buttons ---------- */
.mws-btn {
  border: 0;
  cursor: pointer;
  background: var(--mws-primary);
  color: var(--mws-white);
  padding: 13px 26px;
  border-radius: 999px;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mws-btn:hover {
  background: var(--mws-primary-dark);
  transform: translateY(-1px);
}

.mws-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.mws-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.mws-btn--light {
  background: #fff;
  color: var(--mws-primary);
}

.mws-btn--light:hover {
  background: #fff2ec;
}

/* ---------- Section tags / headings ---------- */
.mws-tag {
  display: inline-block;
  color: var(--mws-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-left: 34px;
}

.mws-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 2px;
  background: var(--mws-primary);
  transform: translateY(-50%);
}

.mws-tag--light {
  color: #ffb59f;
}

.mws-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.mws-heading .mws-tag {
  padding-left: 0;
}

.mws-heading .mws-tag::before {
  display: none;
}

.mws-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 42px);
}

.mws-heading p {
  margin: 0;
}

/* ---------- Top bar ---------- */
.mws-topbar {
  background: var(--mws-bg-darker);
  color: #d9dbe1;
  font-size: 13px;
}

.mws-topbar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mws-topbar__contact {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.mws-topbar__social {
  display: flex;
  gap: 8px;
}

.mws-topbar__social a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  text-transform: uppercase;
}

.mws-topbar__social a:hover {
  background: var(--mws-primary);
  color: #fff;
}

/* ---------- Navbar ---------- */
.mws-navbar {
  /* pehle transparent, hero ke upar overlay (topbar 40px ke niche) */
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

/* scroll karte hi sticky + light orange bg */
.mws-navbar.is-sticky {
  position: fixed;
  top: 0;
  background: #ffe3d5;
  box-shadow: 0 6px 20px rgba(20, 20, 20, 0.12);
}

/* light bg par text dark ho jaye taaki dikhe */
.mws-navbar.is-sticky .mws-menu a {
  color: #1c1c22;
}

.mws-navbar.is-sticky .mws-menu a:hover {
  color: var(--mws-primary);
}

.mws-navbar__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mws-logo {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 28px;
  color: var(--mws-white);
  display: inline-flex;
  align-items: center;
}

.mws-logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.mws-logo span {
  color: var(--mws-primary);
}

.mws-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mws-menu a {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  position: relative;
  z-index: 2;
}

.mws-menu a:hover {
  color: var(--mws-primary);
}

/* ---------- Hero ---------- */
.mws-hero {
  color: var(--mws-white);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* fallback color agar image na mile */
  background-color: #14161c;
  /* niche gradient = dark overlay, uske niche image (public/images/hero-bg.jpg) */
  background-image:
    linear-gradient(90deg, rgba(15, 15, 18, 0.92) 35%, rgba(15, 15, 18, 0.55) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.mws-hero__inner {
  display: flex;
}

.mws-hero__content {
  width: min(640px, 100%);
}

.mws-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mws-primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.mws-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
}

.mws-hero .mws-highlight {
  position: relative;
  white-space: nowrap;
}

.mws-hero .mws-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: var(--mws-primary);
}

.mws-hero p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}

.mws-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Brand strip (auto-infinite carousel) ---------- */
.mws-brand-strip {
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  padding: 26px 0;
}

.mws-marquee {
  width: 100%;
  overflow: hidden;
}

.mws-marquee__track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  /* infinite chalne wali animation */
  animation: mws-marquee-scroll 35s linear infinite;
}

/* mouse le jaate hi ruk jaye (optional, achha UX) */
.mws-marquee:hover .mws-marquee__track {
  animation-play-state: paused;
}

.mws-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.mws-marquee__item img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.mws-marquee__item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes mws-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    /* aadha track = ek pura set, isliye seamless loop */
    transform: translateX(-50%);
  }
}

/* purane text logos ke liye (agar kahin use ho) */
.mws-brand-strip__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mws-brand-logo {
  color: #9aa0ae;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

/* ---------- Generic sections ---------- */
.mws-section {
  padding: 90px 0;
}

.mws-section--dark {
  background: var(--mws-bg-dark);
  color: #cfd1d8;
}

.mws-section--dark h2,
.mws-section--dark h3,
.mws-section--dark h4 {
  color: #fff;
}

/* ---------- Core IT Solutions ---------- */
.mws-solutions {
  /* poori screen jitni height, content vertically center */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* fallback dark color agar image na mile */
  background-color: var(--mws-bg-dark);
  /* dark overlay + background image (public/images/service-we-can.jpg) */
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.92), rgba(20, 20, 20, 0.92)),
    url('../images/service-we-can.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  position: relative;
}

.mws-solutions__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
  /* auto vertical margins => grid free space me vertically center ho jata hai,
     aur CTA band section ke bilkul neeche chala jata hai */
  margin-top: auto;
  margin-bottom: auto;
}

.mws-solutions__intro h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 10px;
}

.mws-solutions__intro h3 {
  font-size: 19px;
  margin: 0 0 14px;
  color: #e7e8ec;
}

.mws-solutions__intro p {
  margin: 0 0 22px;
}

.mws-check-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mws-check-list--2col {
  grid-template-columns: 1fr 1fr;
}

.mws-check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}

.mws-check-list li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mws-primary);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.mws-solutions__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mws-solution-card {
  background: var(--mws-card-dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--mws-radius);
  padding: 28px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mws-solution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 81, 30, 0.6);
}

.mws-solution-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(244, 81, 30, 0.18);
  color: var(--mws-primary);
  font-size: 22px;
  margin-bottom: 16px;
}

.mws-solution-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.mws-solution-card p {
  margin: 0;
  font-size: 14px;
}

/* ---------- CTA band (floating orange card) ---------- */
.mws-cta-band {
  z-index: 5;
  background: transparent;
  /* normal flow me: grid ke neeche baithta hai, phir negative margin se
     agli (About) section ke upar float karta hai */
  position: relative;
  width: 100%;
  margin-top: 40px;
  margin-bottom: -150px;
}

.mws-about {
  padding: 100px 0;
}

.mws-cta-band__inner {
  display: flex;
  align-items: center;
  gap: 44px;
  color: #fff;
  background: var(--mws-primary);
  border-radius: 20px;
  padding: 30px 48px;
  box-shadow: 0 24px 50px rgba(20, 20, 20, 0.28);
  flex-wrap: wrap;
}

.mws-cta-band__phone {
  text-align: center;
  padding-right: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.mws-cta-band__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 24px;
  line-height: 1;
}

.mws-cta-band__label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mws-cta-band__phone a {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.mws-cta-band__text {
  flex: 1;
  min-width: 240px;
  margin: 0;
  font-size: 15px;
  text-align: center;
}

/* ---------- About ---------- */
.mws-about,
.mws-portfolio,
.mws-reviews,
.mws-contact {
  /* fallback light color agar image na mile */
  background-color: var(--mws-bg-soft);
  /* light overlay + background image (public/images/aboutus-bg.jpg) */
  background-image:
    linear-gradient(rgba(246, 247, 249, 0.92), rgba(246, 247, 249, 0.92)),
    url('../images/aboutus-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
}


.mws-about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.mws-about__media {
  position: relative;
}

.mws-about__image {
  min-height: 380px;
  border-radius: 18px;
  box-shadow: var(--mws-shadow);
  background:
    linear-gradient(150deg, rgba(20, 22, 28, 0.15), rgba(20, 22, 28, 0.55)),
    radial-gradient(circle at 25% 20%, rgba(244, 81, 30, 0.85), transparent 30%),
    radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.25), transparent 32%),
    #2b3346;
}

.mws-about__badge {
  position: absolute;
  right: -10px;
  bottom: 34px;
  background: var(--mws-primary);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--mws-shadow);
}

.mws-about__badge strong {
  font-size: 40px;
  line-height: 1;
}

.mws-about__badge span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mws-about__content h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 14px;
}

.mws-about__content>p {
  margin: 0 0 22px;
}

/* ---------- Mission ---------- */
.mws-mission,
.mws-reviews,
.mws-services-page {
  /* fallback dark color agar image na mile */
  background-color: var(--mws-bg-dark);
  /* dark overlay + background image (public/images/agency-img3.png) */
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.9), rgba(20, 20, 20, 0.9)),
    url('../images/agency-img3.png');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
}

.mws-mission__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.mws-mission__circle {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, #ff7a52 0%, #ef5322 45%, #cf3c17 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 52px;
  box-shadow:
    0 24px 60px rgba(216, 64, 28, 0.45),
    inset 0 0 40px rgba(255, 255, 255, 0.12);
  animation: mws-mission-pulse 4s ease-in-out infinite;
}

/* rotating dashed halo ring */
.mws-mission__halo {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  animation: mws-spin 24s linear infinite;
  pointer-events: none;
}

/* second thin glowing ring, opposite direction */
.mws-mission__dots {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04);
  animation: mws-spin 16s linear infinite reverse;
  pointer-events: none;
}

.mws-mission__dots::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px 2px rgba(255, 255, 255, 0.9);
}

.mws-mission__circle-inner {
  position: relative;
  z-index: 1;
}

.mws-mission__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 26px;
}

.mws-mission__circle h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 14px;
}

.mws-mission__circle .mws-highlight {
  color: #fff4ef;
}

.mws-mission__circle p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

@keyframes mws-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mws-mission-pulse {
  0%, 100% {
    box-shadow:
      0 24px 60px rgba(216, 64, 28, 0.4),
      inset 0 0 40px rgba(255, 255, 255, 0.12);
  }
  50% {
    box-shadow:
      0 24px 78px rgba(244, 81, 30, 0.65),
      inset 0 0 40px rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mws-mission__circle,
  .mws-mission__halo,
  .mws-mission__dots {
    animation: none;
  }
}

.mws-mission__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mws-stat-ring {
  text-align: center;
  padding: 30px 18px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.mws-stat-ring:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 81, 30, 0.6);
}

/* circular progress ring wrapper */
.mws-stat-ring__circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
}

.mws-stat-ring__svg {
  width: 100%;
  height: 100%;
  /* progress ko top (12 o'clock) se shuru karne ke liye -90deg rotate */
  transform: rotate(-90deg);
}

.mws-stat-ring__track,
.mws-stat-ring__progress {
  fill: none;
  stroke-width: 9;
}

.mws-stat-ring__track {
  stroke: rgba(255, 255, 255, 0.12);
}

.mws-stat-ring__progress {
  stroke: var(--mws-primary);
  stroke-linecap: round;
  /* circumference (2 * PI * r=52) ~= 326.7; poori tarah khaali se shuru */
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  filter: drop-shadow(0 0 6px rgba(244, 81, 30, 0.8));
  transition: stroke-dashoffset 1.6s ease;
}

/* value text ring ke center me */
.mws-stat-ring__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.mws-stat-ring h4 {
  margin: 0 0 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mws-stat-ring__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(244, 81, 30, 0.18);
  color: var(--mws-primary);
  font-size: 14px;
}

.mws-stat-ring p {
  margin: 0;
  font-size: 13px;
}

/* ---------- Portfolio ---------- */
.mws-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mws-portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--mws-shadow);
  min-height: 220px;
}

.mws-portfolio-thumb {
  position: absolute;
  inset: 0;
  background: #2f3953;
}

.mws-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.mws-portfolio-item:hover .mws-portfolio-thumb img {
  transform: scale(1.06);
}

.mws-portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 17, 22, 0.85), transparent 60%);
}

.mws-portfolio-overlay h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.mws-section-cta {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Reviews ---------- */
.mws-reviews__head {
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}

.mws-reviews__head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 12px;
}

.mws-reviews__head p {
  margin: 0;
  max-width: 760px;
}

.mws-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* upar avatar ke liye jagah chhodni hai (half avatar bahar nikalta hai) */
.mws-reviews__grid {
  padding-top: 40px;
}

.mws-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--mws-radius);
  padding: 56px 26px 26px;
  margin-top: 40px;
}

/* avatar: card ke top edge pe, aadha upar overlap karta hua */
.mws-review-card__avatar {
  position: absolute;
  top: -40px;
  left: 26px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef1f6;
  border: 5px solid #eef1f6;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.mws-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mws-review-card>p {
  /* text available space le lega, jisse footer hamesha card ke bottom pe rahega */
  flex: 1 1 auto;
  margin: 0 0 20px;
  color: #d7d9e0;
  line-height: 1.7;
}

/* text aur footer ke beech divider line */
.mws-review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  /* hamesha card ke bilkul bottom pe */
  margin-top: auto;
}

.mws-review-card__person h3 {
  margin: 0 0 2px;
  font-size: 16px;
  color: #fff;
}

.mws-review-card__person span {
  font-size: 12px;
  color: #9aa0ae;
}

.mws-stars {
  color: var(--mws-primary);
  font-size: 15px;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.mws-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mws-contact__info h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 12px;
}

.mws-contact__info>p {
  margin: 0 0 26px;
}

.mws-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.mws-contact__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mws-contact__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 81, 30, 0.12);
  color: var(--mws-primary);
  font-size: 20px;
}

.mws-contact__list strong {
  display: block;
  color: var(--mws-heading);
  margin-bottom: 2px;
}

.mws-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--mws-shadow);
  padding: 30px;
}

.mws-form-grid {
  display: grid;
  gap: 14px;
}

.mws-form input,
.mws-form textarea,
.mws-form select {
  width: 100%;
  border: 1px solid #e3e6ee;
  border-radius: 8px;
  padding: 13px;
  font-family: inherit;
  font-size: 14px;
  color: var(--mws-heading);
}

.mws-form input:focus,
.mws-form textarea:focus,
.mws-form select:focus {
  outline: none;
  border-color: var(--mws-primary);
}

.mws-form textarea {
  min-height: 120px;
  resize: vertical;
}

.mws-form .mws-btn {
  justify-self: start;
}

.mws-form__alert {
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.mws-form__alert--success {
  background: #e7f7ec;
  border: 1px solid #b7e4c5;
  color: #1b7a3d;
}

.mws-form__alert--error {
  background: #fdeaea;
  border: 1px solid #f3c0c0;
  color: #b3261e;
}

.mws-form__alert ul {
  margin: 0;
  padding-left: 18px;
}

/* ---------- Stats band ---------- */
.mws-stats-band {
  padding: 90px 0 0px;
}

.mws-stats-band__grid {
  background: var(--mws-primary);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 40px 24px;
  color: #fff;
  text-align: center;
  box-shadow: var(--mws-shadow);
}

.mws-stats-band__grid article {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.mws-stats-band__grid article:last-child {
  border-right: 0;
}

.mws-stats-band__grid strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
}

.mws-stats-band__grid span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.95;
}

/* ---------- Inner page hero (about/services/etc.) ---------- */

.mws-inner-hero {
  background-image: url(../images/portfolio-bg.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 600px;
  color: #000;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
}

.mws-inner-hero--contact {
  background-image: url(../images/contact-bg.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 600px;
  color: #000;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
}

.mws-inner-hero:before {
  content: '';
  background-color: #0000003A;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* About page ke inner-hero pe background image (public/images/about-page.png) */
.mws-inner-hero--about {
  background:
    linear-gradient(rgba(15, 15, 18, 0.65), rgba(15, 15, 18, 0.65)),
    url('../images/about-page.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Services page ke inner-hero pe background image (public/images/service-atf.png) */
.mws-inner-hero--services {
  background:
    linear-gradient(rgba(15, 15, 18, 0.65), rgba(15, 15, 18, 0.65)),
    url('../images/service-atf.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.mws-services-page:before {
  content: '';
  background-image:
    linear-gradient(rgba(246, 247, 249, 0.92), rgba(246, 247, 249, 0.92)),
    url('../images/aboutus-bg.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  width: 100%;
  height: 100%;
  display: block;
}

.mws-inner-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 800;
  z-index: 2;
  position: relative;
}

/* ---------- Footer ---------- */
.mws-footer {
  background: var(--mws-bg-darker);
  color: #b9bcc6;
  padding-top: 64px;
}

.mws-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  gap: 30px;
}

.mws-footer__about p {
  margin: 16px 0;
  line-height: 1.8;
}

.mws-footer__social {
  display: flex;
  gap: 10px;
}

.mws-footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  text-transform: uppercase;
}

.mws-footer__social a:hover {
  background: var(--mws-primary);
  color: #fff;
}

.mws-footer h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
}

.mws-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mws-footer li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.mws-footer a:hover {
  color: var(--mws-primary);
}

.mws-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 44px;
  text-align: center;
  padding: 22px 0;
  font-size: 13px;
}

/* ---------- Inner page helpers (page.php) ---------- */
.mws-heading small {
  display: inline-block;
  color: var(--mws-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mws-heading h2 {
  color: var(--mws-heading);
}

.mws-section--dark .mws-heading h2 {
  color: #fff;
}

.mws-cards-3,
.mws-cards-4 {
  display: grid;
  gap: 20px;
}

.mws-cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mws-cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mws-card {
  background: #fff;
  border-radius: var(--mws-radius);
  box-shadow: var(--mws-shadow);
  padding: 26px 24px;
}

.mws-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.mws-card p {
  margin: 0;
  font-size: 14px;
}

.mws-card--dark {
  background: var(--mws-card-dark);
  color: #cfd4e6;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mws-banner-box {
  background: var(--mws-primary);
  color: #fff;
  border-radius: 18px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.mws-banner-box strong {
  font-size: 20px;
}

.mws-alt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.mws-photo-mock {
  min-height: 300px;
  border-radius: 16px;
  box-shadow: var(--mws-shadow);
  background:
    linear-gradient(132deg, rgba(28, 37, 58, 0.9), rgba(54, 64, 91, 0.7)),
    #2e3a56;
}

.mws-process {
  background: #fff4f2;
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mws-step {
  background: #fff;
  border-radius: 999px;
  min-height: 200px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  box-shadow: var(--mws-shadow);
}

.mws-step strong {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mws-primary);
  color: #fff;
  margin: 0 auto 10px;
}

.mws-step h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

.mws-step p {
  margin: 0;
  font-size: 13px;
}

.mws-contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mws-contact-form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}

.mws-highlight-box {
  border-radius: 16px;
  background: var(--mws-primary);
  color: #fff;
  padding: 30px;
}

/* ---------- About page: Our Services ---------- */
.mws-tag--center {
  padding-left: 0;
}

.mws-tag--center::before {
  display: none;
}

.mws-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mws-services-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mws-services-intro h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0;
}

.mws-service-card {
  background: #fff;
  border-radius: var(--mws-radius);
  box-shadow: var(--mws-shadow);
  padding: 26px 24px;
  transition: transform 0.2s ease;
}

.mws-service-card:hover {
  transform: translateY(-4px);
}

.mws-service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--mws-primary);
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.mws-service-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.mws-service-card p {
  margin: 0;
  font-size: 14px;
}

/* ---------- About page: Vision ---------- */
.mws-vision {
  background: #fdeeea;
}

.mws-vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mws-vision__image {
  min-height: 320px;
  border-radius: 14px;
  box-shadow: var(--mws-shadow);
  background:
    linear-gradient(140deg, rgba(20, 22, 28, 0.15), rgba(20, 22, 28, 0.5)),
    radial-gradient(circle at 30% 30%, rgba(244, 81, 30, 0.7), transparent 32%),
    #2c3448;
}

.mws-vision__card {
  background: #fff;
  border: 1px solid rgba(244, 81, 30, 0.35);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.mws-vision__card h2 {
  color: var(--mws-primary);
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0 0 16px;
}

.mws-vision__card p {
  margin: 0;
  line-height: 1.8;
}

/* ---------- About page: Mission ---------- */
.mws-mission-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mws-mission-page__card {
  border: 1px solid rgba(244, 81, 30, 0.35);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.mws-mission-page__card h2 {
  color: var(--mws-primary);
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0 0 20px;
}

.mws-mission-page__card .mws-check-list {
  text-align: left;
  display: inline-grid;
  margin: 0;
}

.mws-mission-page__media {
  position: relative;
  padding-bottom: 40px;
}

.mws-mission-page__image {
  min-height: 320px;
  border-radius: 14px;
  box-shadow: var(--mws-shadow);
  background:
    linear-gradient(140deg, rgba(20, 22, 28, 0.2), rgba(20, 22, 28, 0.6)),
    radial-gradient(circle at 70% 30%, rgba(244, 81, 30, 0.55), transparent 34%),
    #232a3c;
}

.mws-mission-page__overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  background: var(--mws-primary);
  color: #fff;
  border-radius: 14px;
  padding: 24px;
}

.mws-mission-page__overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Services page ---------- */
.mws-service-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mws-service-tiles .mws-solution-card {
  text-align: center;
  background-color: #111111;
  width: 390px;
  height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mws-service-tiles .mws-solution-card__icon {
  margin-left: auto;
  margin-right: auto;
}

.mws-process-section {
  background: var(--mws-bg-soft);
}

.mws-process-circles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  background: #fdeeea;
  border-radius: 18px;
  padding: 50px 40px;
}

.mws-process-circle {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--mws-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 34px;
}

.mws-process-section {
  background-image: url(../images/bag-arrow.png);
  --background-overlay: '';
  background-position: 0% 70%;
  background-repeat: no-repeat;
  background-size: contain;
}

.mws-process-circle__num {
  position: absolute;
  top: 20px;
  left: 90%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--mws-primary);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(244, 81, 30, 0.4);
}

.mws-process-circle h4 {
  margin: 0 0 10px;
  font-size: 22px;
}

.mws-process-circle p {
  margin: 0;
  font-size: 13px;
}

/* ---------- Detailed services ---------- */
.mws-service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
  scroll-margin-top: 110px;
}

.mws-service-detail:last-child {
  margin-bottom: 0;
}

.mws-service-detail--reverse .mws-service-detail__media {
  order: 2;
}

.mws-service-detail__media {
  position: relative;
}

.mws-service-detail__media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--mws-shadow);
  display: block;
}

.mws-service-detail__count {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: var(--mws-primary);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mws-shadow);
}

.mws-service-detail--reverse .mws-service-detail__count {
  left: auto;
  right: -18px;
}

.mws-service-detail__content h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mws-service-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 12px;
  background: rgba(244, 81, 30, 0.12);
  color: var(--mws-primary);
  font-size: 22px;
}

.mws-service-detail__lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--mws-heading);
  margin: 0 0 12px;
}

.mws-service-detail__content > p {
  margin: 0 0 22px;
}

.mws-service-detail__content .mws-check-list {
  margin-bottom: 28px;
}

/* ---------- Why Choose Us ---------- */
.mws-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.mws-why__card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mws-why__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--mws-shadow);
  border-color: transparent;
}

.mws-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ff7a52, #e0451c);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 10px 24px rgba(224, 69, 28, 0.35);
}

.mws-why__card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.mws-why__card p {
  margin: 0;
  font-size: 14px;
}

/* ---------- Technologies ---------- */
.mws-tech__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.mws-tech__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef0f4;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* brand-colored accent bar on top */
.mws-tech__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tc, var(--mws-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.mws-tech__item:hover {
  transform: translateY(-10px);
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(20, 20, 20, 0.14);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--tc, #f4511e) 32%, transparent);
}

.mws-tech__item:hover::before {
  transform: scaleX(1);
}

.mws-tech__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  color: var(--tc, var(--mws-primary));
  background: rgba(244, 81, 30, 0.1);
  background: color-mix(in srgb, var(--tc, #f4511e) 12%, #fff);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.mws-tech__item:hover .mws-tech__icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--tc, var(--mws-primary));
  color: #fff;
}

.mws-tech__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--mws-heading);
  transition: color 0.3s ease;
}

.mws-tech__item:hover .mws-tech__name {
  color: var(--tc, var(--mws-primary));
}

/* ---------- CTA banner ---------- */
.mws-cta-banner {
  background:
    linear-gradient(120deg, rgba(216, 64, 28, 0.96), rgba(244, 81, 30, 0.92)),
    url('../images/agency-img3.png');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}

.mws-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.mws-cta-banner__text {
  max-width: 620px;
}

.mws-cta-banner__text h2 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0 0 10px;
}

.mws-cta-banner__text .mws-highlight {
  color: #fff2ec;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mws-cta-banner__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.mws-cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mws-cta-banner__phone {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.mws-cta-banner__phone i {
  margin-right: 6px;
}

/* ---------- FAQ ---------- */
.mws-faq__list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.mws-faq__item {
  background: #fff;
  border: 1px solid #e7e9ef;
  border-radius: 12px;
  padding: 4px 24px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.mws-faq__item[open] {
  border-color: var(--mws-primary);
  box-shadow: var(--mws-shadow);
}

.mws-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--mws-heading);
}

.mws-faq__item summary::-webkit-details-marker {
  display: none;
}

.mws-faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  background: rgba(244, 81, 30, 0.12);
  color: var(--mws-primary);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.mws-faq__item[open] .mws-faq__icon {
  transform: rotate(45deg);
  background: var(--mws-primary);
  color: #fff;
}

.mws-faq__answer {
  padding: 0 0 22px;
}

.mws-faq__answer p {
  margin: 0;
}

/* ---------- About: Our Story image ---------- */
.mws-story__image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--mws-shadow);
}

.mws-story__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Journey / timeline ---------- */
.mws-journey__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.mws-journey__grid::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 70px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.mws-journey__item {
  position: relative;
  text-align: center;
}

.mws-journey__year {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: var(--mws-primary);
  padding: 6px 20px;
  border-radius: 999px;
  margin-bottom: 30px;
}

.mws-journey__dot {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mws-primary);
  border: 4px solid var(--mws-bg-dark);
  box-shadow: 0 0 0 3px rgba(244, 81, 30, 0.45);
}

.mws-journey__item h3 {
  color: #fff;
  margin: 20px 0 8px;
  font-size: 19px;
}

.mws-journey__item p {
  margin: 0;
  font-size: 14px;
}

/* ---------- Team ---------- */
.mws-team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.mws-team__card {
  text-align: center;
}

.mws-team__photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--mws-shadow);
}

.mws-team__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mws-team__card:hover .mws-team__photo img {
  transform: scale(1.06);
}

.mws-team__social {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -70px;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: linear-gradient(transparent, rgba(20, 20, 20, 0.75));
  transition: bottom 0.35s ease;
}

.mws-team__card:hover .mws-team__social {
  bottom: 0;
}

.mws-team__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--mws-heading);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mws-team__social a:hover {
  background: var(--mws-primary);
  color: #fff;
  transform: translateY(-3px);
}

.mws-team__card h3 {
  margin: 0 0 4px;
  font-size: 19px;
}

.mws-team__role {
  color: var(--mws-primary);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Achievements band ---------- */
.mws-achievements {
  padding-top: 0;
}

.mws-achievements .mws-stats-band {
  padding: 0;
}

/* ---------- Mobile menu toggle ---------- */
.mws-mobile-menu-toggle {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {

  .mws-solutions__grid,
  .mws-about__grid,
  .mws-mission__grid,
  .mws-contact__grid,
  .mws-service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mws-service-detail--reverse .mws-service-detail__media {
    order: 0;
  }

  .mws-mission__circle {
    max-width: 360px;
  }

  .mws-portfolio-grid,
  .mws-reviews__grid,
  .mws-cards-3,
  .mws-cards-4,
  .mws-contact-strip,
  .mws-services-grid,
  .mws-service-tiles,
  .mws-why__grid,
  .mws-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mws-tech__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mws-journey__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mws-journey__grid::before {
    display: none;
  }

  .mws-cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .mws-cta-banner__text {
    max-width: 100%;
  }

  .mws-process-circles {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .mws-process-circle {
    aspect-ratio: auto;
    border-radius: 16px;
    padding: 40px 28px;
  }

  .mws-vision__grid,
  .mws-mission-page__grid {
    grid-template-columns: 1fr;
  }

  .mws-mission-page__grid {
    direction: rtl;
  }

  .mws-mission-page__grid>* {
    direction: ltr;
  }

  .mws-reviews__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .mws-stats-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mws-stats-band__grid article:nth-child(2) {
    border-right: 0;
  }
  .mws-process-circle__num{
    right: 90%;
    left: unset;
  }
}

@media (max-width: 860px) {
  .mws-navbar__inner {
    min-height: 66px;
  }

  .mws-mobile-menu-toggle {
    display: inline-flex;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
  }

  .mws-menu {
    display: none;
  }

  .mws-solutions__cards,
  .mws-mission__stats,
  .mws-portfolio-grid,
  .mws-reviews__grid,
  .mws-check-list--2col,
  .mws-footer__grid,
  .mws-cards-3,
  .mws-cards-4,
  .mws-contact-strip,
  .mws-contact-form-wrap,
  .mws-alt-block,
  .mws-process,
  .mws-services-grid,
  .mws-service-tiles,
  .mws-why__grid,
  .mws-journey__grid,
  .mws-team__grid {
    grid-template-columns: 1fr;
  }

  .mws-tech__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mws-stats-band__grid {
    grid-template-columns: 1fr;
  }

  .mws-stats-band__grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding-bottom: 18px;
  }

  .mws-stats-band__grid article:last-child {
    border-bottom: 0;
  }

  .mws-cta-band__inner {
    flex-direction: column;
    text-align: center;
    gap: 22px;
    padding: 28px 24px;
  }

  .mws-cta-band__phone {
    padding-right: 0;
    padding-bottom: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .mws-about__badge {
    right: 16px;
  }
}

@media (max-width: 768px) {
  .mws-process-circle__num{
    top: -35px
  }
}