/* ============================================
   MarketingCoders - Main Stylesheet
   Color theme matched to brand logo
   Navy • Green • Purple • Teal
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #1B3A5C;
  --primary-dark: #122840;
  --primary-light: #2A5A8C;
  --secondary: #7AB648;
  --secondary-dark: #5E9A2E;
  --secondary-light: #92CC64;
  --accent: #6B2D8B;
  --accent-light: #8B4DAB;
  --teal: #2A7B88;
  --teal-light: #5BC0DE;
  --orange: #E8712B;
  --dark: #0F1C2E;
  --dark-2: #1B3149;
  --dark-3: #243B55;
  --light: #F6F8FB;
  --light-2: #EDF1F7;
  --light-3: #DDE3ED;
  --white: #ffffff;
  --text: #2D3748;
  --text-light: #5A6A7E;
  --text-muted: #8896A6;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(15,28,46,.06);
  --shadow: 0 4px 24px rgba(15,28,46,.08);
  --shadow-lg: 0 12px 40px rgba(15,28,46,.12);
  --shadow-xl: 0 20px 60px rgba(15,28,46,.16);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --gradient-brand: linear-gradient(135deg, #7AB648 0%, #2A7B88 50%, #6B2D8B 100%);
  --gradient-hero: linear-gradient(135deg, #0F1C2E 0%, #1B3A5C 50%, #1B3149 100%);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* ---------- Utility Classes ---------- */
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 70px 0; }
.bg-light { background: var(--light) !important; }
.bg-dark-section { background: var(--dark); color: var(--white); }
.bg-dark-section h1,.bg-dark-section h2,.bg-dark-section h3,.bg-dark-section h4,.bg-dark-section h5 { color: var(--white); }
.bg-dark-section p,.bg-dark-section li { color: rgba(255,255,255,.8); }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; }
.bg-gradient-dark { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; }

.text-primary-custom { color: var(--primary) !important; }
.text-secondary-custom { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted-custom { color: var(--text-muted) !important; }

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-badge.blue { background: rgba(27,58,92,.1); color: var(--primary); }
.section-badge.orange { background: rgba(232,113,43,.1); color: var(--orange); }
.section-badge.green { background: rgba(122,182,72,.1); color: var(--secondary); }
.section-badge.purple { background: rgba(107,45,139,.1); color: var(--accent); }
.section-badge.white { background: rgba(255,255,255,.15); color: #fff; }
.section-badge.dark { background: rgba(15,28,46,.08); color: var(--dark); }

.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 50px;
}
.bg-dark-section .section-subtitle { color: rgba(255,255,255,.7); }

.divider {
  width: 60px; height: 4px;
  background: var(--secondary);
  border-radius: 4px;
  margin: 18px auto 0;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(27,58,92,.3);
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(27,58,92,.4);
  color: #fff;
}

.btn-secondary-custom {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(122,182,72,.3);
}
.btn-secondary-custom:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122,182,72,.4);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 24px; font-size: .85rem; }

/* ============================================
   REDESIGNED NAVIGATION – Full-width Mega Menu
   with right-side arrows & secondary nav bar
   ============================================ */
.mc-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 0px 0;
}
.mc-navbar.scrolled {
  background: rgba(255,255,255,.99);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(15,28,46,.06);
  padding: 2px 0;
}
.navbar a.navbar-brand {
    padding: 0 !important;
}
/* Logo */
.mc-navbar .navbar-brand img {
  height: 110px;
  max-height: 110px;
  width: auto;
  transition: var(--transition);
}
.mc-navbar.scrolled .navbar-brand img {
  height: 70px;
  max-height: 70px;
}

/* Nav links – BIGGER & MORE CREATIVE */
.mc-navbar .nav-link {
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
  padding: .8rem 1.1rem !important;
  transition: var(--transition);
  position: relative;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.mc-navbar .nav-link:hover,
.mc-navbar .nav-link.active { color: var(--secondary); }

/* Underline animation on hover */
.mc-navbar .nav-item:not(.has-megamenu) > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1.1rem; right: 1.1rem;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}
.mc-navbar .nav-item:not(.has-megamenu) > .nav-link:hover::after,
.mc-navbar .nav-item:not(.has-megamenu) > .nav-link.active::after { transform: scaleX(1); }

/* Remove Bootstrap default dropdown-toggle caret completely */
.mc-navbar .nav-item.has-megamenu > .nav-link::after {
  display: none !important;
}

/* Right-side arrow – always visible by default for items with submenus */
.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 2px;
  transition: var(--transition);
  color: var(--primary);
  flex-shrink: 0;
}
.nav-arrow svg {
  width: 14px;
  height: 14px;
}
.mc-navbar .nav-item.has-megamenu:hover .nav-arrow,
.mc-navbar .nav-item.has-megamenu.show .nav-arrow {
  transform: rotate(90deg);
  color: var(--secondary);
}
.mc-navbar .nav-link:hover .nav-arrow {
  color: var(--secondary);
}

/* Full-width mega dropdown container */
.mc-navbar .dropdown-menu.mega-menu {
  border: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 0;
  margin-top: 0;
  box-shadow: 0 16px 48px rgba(15,28,46,.12);
  position: absolute;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-top: 3px solid var(--secondary);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.mc-navbar .nav-item.dropdown:hover > .dropdown-menu.mega-menu,
.mc-navbar .dropdown-menu.mega-menu.show {
  opacity: 1;
  visibility: visible;
}
.mega-menu-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 28px;
}
.mega-menu .mega-col { padding: 0 18px; }
.mega-menu .mega-col-header {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-2);
}

/* Dropdown items with SVG icons – BIGGER */
.mc-navbar .dropdown-menu .mega-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  text-decoration: none;
}
.mc-navbar .dropdown-menu .mega-link:hover {
  background: rgba(122,182,72,.08);
  color: var(--primary);
  transform: translateX(4px);
}
.mc-navbar .dropdown-menu .mega-link:hover .mega-icon {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.08);
}
.mega-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  transition: var(--transition);
}
.mega-icon svg { width: 20px; height: 20px; }
.mega-link-text { line-height: 1.35; }
.mega-link-text span { font-size: .78rem; color: var(--text-muted); display: block; margin-top: 2px; font-weight: 400; }

/* CTA button in nav */
.mc-navbar .btn-primary-custom {
  padding: 12px 28px;
  font-size: .88rem;
  background: var(--secondary);
  box-shadow: 0 4px 12px rgba(122,182,72,.3);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mc-navbar .btn-primary-custom:hover {
  background: var(--secondary-dark);
  box-shadow: 0 8px 20px rgba(122,182,72,.4);
}

/* ============================================
   SECONDARY NAVIGATION BAR
   ============================================ */
.secondary-nav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 1040;
  background: var(--primary);
  transition: top var(--transition);
  overflow: hidden;
}
.secondary-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  padding: 0;
      justify-content: center;
}
.secondary-nav-inner::-webkit-scrollbar { display: none; }
.sec-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.1);
  letter-spacing: .3px;
}
.sec-nav-link:first-child { border-left: 1px solid rgba(255,255,255,.1); }
.sec-nav-link:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.sec-nav-link i { font-size: .75rem; }
.sec-nav-highlight {
  background: var(--secondary);
  color: #fff;
}
.sec-nav-highlight:hover {
  background: var(--secondary-dark);
  color: #fff;
}

/* Hamburger */
.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { width: 26px; height: 26px; }

/* Responsive nav */
@media (max-width: 1199.98px) {
  .mc-navbar .navbar-brand img { height: 80px; max-height: 80px; }
  .mc-navbar.scrolled .navbar-brand img { height: 56px; max-height: 56px; }
  .mc-navbar .nav-link { font-size: .88rem; padding: .7rem .8rem !important; }
}
@media (max-width: 991.98px) {
  .mc-navbar .navbar-brand img { height: 70px; max-height: 70px; }
  .mc-navbar.scrolled .navbar-brand img { height: 50px; max-height: 50px; }
  .mc-navbar .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 10px;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
  }
  .mc-navbar .dropdown-menu.mega-menu {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
    border-top: 2px solid var(--light-2);
    border-radius: var(--radius);
    opacity: 1;
    visibility: visible;
  }
  .mega-menu-inner { padding: 16px 8px; }
  .secondary-nav { display: none; }
  .nav-arrow { width: 16px; height: 16px; }
  .nav-arrow svg { width: 12px; height: 12px; }
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 170px;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,182,72,.12) 0%, transparent 70%);
  animation: heroPulse 8s ease-in-out infinite;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,45,139,.1) 0%, transparent 70%);
  animation: heroPulse 10s ease-in-out infinite reverse;
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-content h1 span { color: var(--secondary-light); }
.hero-content p {
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px;
  margin-top: 60px; flex-wrap: wrap;
}
.hero-stat h3 { color: var(--secondary-light); font-size: 2.2rem; margin-bottom: 4px; }
.hero-stat p { color: rgba(255,255,255,.6); font-size: .88rem; margin: 0; }

.hero-image { position: relative; z-index: 2; }
.hero-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 4s ease-in-out infinite;
}
.hero-float-card.card-1 { bottom: 3%; left: -30px; }
.hero-float-card.card-2 { top: 5%; right: -20px; animation-delay: 2s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-float-card .icon { font-size: 1.5rem; color: var(--secondary); margin-bottom: 4px; }
.hero-float-card h5 { font-size: .9rem; margin-bottom: 2px; }
.hero-float-card p { font-size: .78rem; color: var(--text-muted); margin: 0; }

/* Hero logo/banner area */
.hero-logo-badge {
  display: inline-block;
  margin-bottom: 24px;
}
.hero-logo-badge img {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

/* ---------- Page Header / Breadcrumb Banner ---------- */
.page-header {
  background: var(--gradient-hero);
  padding: 190px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
}
.page-header h1 { color: #fff; margin-bottom: 12px; position: relative; }
.page-header .breadcrumb { justify-content: center; margin: 0; position: relative; }
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a { color: rgba(255,255,255,.6); font-size: .9rem; }
.page-header .breadcrumb-item.active { color: var(--secondary-light); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card .icon-wrap.blue { background: rgba(27,58,92,.1); color: var(--primary); }
.service-card .icon-wrap.orange { background: rgba(232,113,43,.1); color: var(--orange); }
.service-card .icon-wrap.green { background: rgba(122,182,72,.1); color: var(--secondary); }
.service-card .icon-wrap.purple { background: rgba(107,45,139,.1); color: var(--accent); }
.service-card .icon-wrap.red { background: rgba(244,67,54,.1); color: #f44336; }
.service-card .icon-wrap.teal { background: rgba(42,123,136,.1); color: var(--teal); }
.service-card:hover .icon-wrap { transform: scale(1.1); }
.service-card h4 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { color: var(--text-light); font-size: .92rem; margin-bottom: 18px; }
.service-card .card-link {
  font-weight: 600;
  font-size: .88rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .card-link:hover { gap: 12px; color: var(--secondary-dark); }

/* ---------- Feature / Info Cards ---------- */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-card .stars { color: #ffc107; margin-bottom: 16px; font-size: 1rem; }
.testimonial-card .quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-card .author { display: flex; align-items: center; gap: 14px; }
.testimonial-card .author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-card .author-name { font-weight: 600; font-size: .95rem; }
.testimonial-card .author-role { font-size: .82rem; color: var(--text-muted); }

/* ---------- Pricing Cards ---------- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card.featured .pricing-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  padding: 6px 24px;
  border-radius: 0 0 12px 12px;
  font-size: .78rem;
  font-weight: 600;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-8px); }
.pricing-card .plan-name { font-size: 1.1rem; font-weight: 600; color: var(--text-light); margin-bottom: 8px; }
.pricing-card .price { font-size: 3rem; font-weight: 800; color: var(--dark); }
.pricing-card .price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card .features-list { text-align: left; margin: 30px 0; }
.pricing-card .features-list li {
  padding: 8px 0; font-size: .92rem; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card .features-list li i { color: var(--secondary); font-size: .85rem; }
.pricing-card .features-list li.disabled { color: var(--text-muted); }
.pricing-card .features-list li.disabled i { color: var(--text-muted); }

/* ---------- Portfolio Grid ---------- */
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%; height: 280px;
  object-fit: cover;
  transition: var(--transition);
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,28,46,.85) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h5 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.portfolio-overlay p { color: rgba(255,255,255,.7); font-size: .85rem; margin: 0; }

/* ---------- Gallery Grid ---------- */
.gallery-item {
  position: relative; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
}
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card .blog-img { height: 220px; overflow: hidden; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-card .blog-body { padding: 26px; }
.blog-card .blog-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: .82rem; color: var(--text-muted); }
.blog-card .blog-meta i { margin-right: 4px; }
.blog-card .blog-title { font-size: 1.1rem; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .blog-title a:hover { color: var(--secondary); }
.blog-card .blog-excerpt { font-size: .9rem; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Team Cards ---------- */
.team-card { text-align: center; padding: 30px 20px; border-radius: var(--radius-lg); transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); }
.team-card .team-img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 20px; overflow: hidden; border: 4px solid var(--border); transition: var(--transition); }
.team-card:hover .team-img { border-color: var(--secondary); }
.team-card .team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h5 { margin-bottom: 4px; }
.team-card .role { color: var(--secondary); font-size: .85rem; font-weight: 500; }

/* ---------- Counter / Stats ---------- */
.counter-section { background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%); color: #fff; }
.counter-box { text-align: center; padding: 30px; }
.counter-box .count { font-size: 2.8rem; font-weight: 800; }
.counter-box p { margin: 0; font-size: .95rem; opacity: .85; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-section h2 { color: #fff; margin-bottom: 16px; position: relative; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto 32px; position: relative; }

/* ---------- Contact Form ---------- */
.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .92rem;
  transition: var(--transition);
  background: var(--white);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(122,182,72,.1);
}
.contact-form label { font-weight: 500; font-size: .88rem; margin-bottom: 6px; color: var(--text); }
.form-success-msg {
  display: none;
  background: rgba(122,182,72,.1);
  color: var(--secondary-dark);
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
}
.form-success-msg.show { display: block; animation: fadeInUp .4s ease; }

/* ---------- Footer ---------- */
.mc-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding-top: 80px;
}
.mc-footer h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.mc-footer h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 3px;
  background: var(--secondary);
  border-radius: 3px;
}
.mc-footer p { font-size: .9rem; }
.mc-footer .footer-links li { margin-bottom: 10px; }
.mc-footer .footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mc-footer .footer-links a:hover { color: var(--secondary-light); padding-left: 4px; }
.mc-footer .contact-info li {
  display: flex; align-items: flex-start;
  gap: 12px; margin-bottom: 14px; font-size: .88rem;
}
.mc-footer .contact-info li i { color: var(--secondary-light); margin-top: 4px; }
.mc-footer .social-icons { display: flex; gap: 10px; margin-top: 20px; }
.mc-footer .social-icons a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: var(--transition);
}
.mc-footer .social-icons a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; margin-top: 50px; font-size: .84rem;
}
.payment-icons { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.payment-icons .pay-icon {
  background: rgba(255,255,255,.1);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

/* ---------- Scroll To Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--secondary-dark); transform: translateY(-3px); }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.stagger-children.animated > *:nth-child(1) { transition-delay: .05s; }
.stagger-children.animated > *:nth-child(2) { transition-delay: .1s; }
.stagger-children.animated > *:nth-child(3) { transition-delay: .15s; }
.stagger-children.animated > *:nth-child(4) { transition-delay: .2s; }
.stagger-children.animated > *:nth-child(5) { transition-delay: .25s; }
.stagger-children.animated > *:nth-child(6) { transition-delay: .3s; }
.stagger-children.animated > * { opacity: 1; transform: translateY(0); }

/* ---------- Client Logos ---------- */
.client-logo { padding: 20px 30px; display: flex; align-items: center; justify-content: center; filter: grayscale(1) opacity(.4); transition: var(--transition); }
.client-logo:hover { filter: grayscale(0) opacity(1); }

/* ---------- Process / Timeline ---------- */
.process-step { text-align: center; position: relative; }
.process-step .step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700;
  margin: 0 auto 20px;
}
.process-step h5 { margin-bottom: 8px; }
.process-step p { font-size: .9rem; color: var(--text-light); }

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 2000;
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.lightbox-overlay.active { display: flex; opacity: 1; }
.lightbox-overlay img { max-width: 90%; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  border: none; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Service Detail Page ---------- */
.service-detail-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 24px;
}
.service-features li { padding: 10px 0; display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.service-features li i { color: var(--secondary); margin-top: 4px; }

/* ---------- Career Page ---------- */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow); border-color: var(--secondary); }
.job-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 500;
  background: rgba(122,182,72,.08);
  color: var(--secondary-dark);
}

/* ---------- Legal Pages ---------- */
.legal-content h3 { margin-top: 36px; margin-bottom: 14px; font-size: 1.3rem; }
.legal-content p, .legal-content li { font-size: .95rem; color: var(--text-light); }
.legal-content ul { padding-left: 20px; }
.legal-content ul li { margin-bottom: 8px; position: relative; padding-left: 16px; }
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

/* ---------- Life at MC ---------- */
.culture-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.culture-card img { width: 100%; height: 300px; object-fit: cover; }
.culture-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,28,46,.8) 100%);
  display: flex; align-items: flex-end; padding: 24px;
}
.culture-card .overlay h5 { color: #fff; margin: 0; }

/* ---------- Loading Skeleton ---------- */
.skeleton { background: linear-gradient(90deg, var(--light-2) 25%, var(--light-3) 50%, var(--light-2) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section-padding { padding: 70px 0; }
  .hero-section { min-height: auto; padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .hero-image { margin-top: 40px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .page-header { padding: 140px 0 60px; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 50px 0; }
  .hero-section { padding: 110px 0 50px; }
  .hero-stats { gap: 20px; }
  .hero-stat h3 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-float-card { display: none; }
  .counter-box .count { font-size: 2rem; }
  .cta-section { padding: 60px 0; }
  .mc-footer { padding-top: 50px; }
  .footer-bottom { text-align: center; }
  .payment-icons { justify-content: center; margin-top: 12px; }
  .page-header { padding: 120px 0 50px; }
  .hero-logo-badge img { height: 60px; }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease;
}
.preloader.hide { opacity: 0; pointer-events: none; }
.preloader .spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Dropdown header in mega menu ---------- */
.mega-menu .dropdown-header {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 4px 12px 10px;
}

/* ============================================
   24/7 ALWAYS-ON BUSINESS SECTION
   ============================================ */
.always-on-section {
  background: var(--light);
  position: relative;
  overflow: hidden;
}
.always-on-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,182,72,.06) 0%, transparent 70%);
}
.always-on-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,45,139,.04) 0%, transparent 70%);
}

.always-on-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.always-on-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.always-on-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.always-on-card:hover::before { transform: scaleX(1); }

.always-on-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  background: rgba(27,58,92,.08);
  color: var(--primary);
  position: relative;
  transition: var(--transition);
}
.always-on-icon.icon-green { background: rgba(122,182,72,.1); color: var(--secondary); }
.always-on-icon.icon-purple { background: rgba(107,45,139,.08); color: var(--accent); }
.always-on-icon.icon-teal { background: rgba(42,123,136,.08); color: var(--teal); }
.always-on-icon.icon-orange { background: rgba(232,113,43,.08); color: var(--orange); }
.always-on-icon.icon-navy { background: rgba(27,58,92,.08); color: var(--primary); }

.always-on-card:hover .always-on-icon {
  transform: scale(1.1);
}

.pulse-ring {
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 22px;
  border: 2px solid currentColor;
  opacity: 0;
  animation: pulseRing 2.5s ease-in-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: .4; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

.always-on-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.always-on-card p {
  color: var(--text-light);
  font-size: .92rem;
  margin-bottom: 16px;
}
.always-on-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: rgba(122,182,72,.08);
  padding: 5px 14px;
  border-radius: 50px;
}
.always-on-tag .text-success { color: #22c55e !important; font-size: .5rem; }
