:root {
    --green: #1D4E9E; /* Primary: Royal Blue */
    --green-dark: #153a75; /* Darker Royal Blue */
    --blue: #9837d4; /* Secondary: Bright Purple */
    --blue-dark: #7528a8; /* Darker Purple */ 
    --accent: #E31E24; /* Accent: Red for CTAs */
    --bg: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%); /* Gradient background */
    --bg-alt: #F8F9FA; /* Light Gray background */
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(29, 78, 158, 0.1);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --green-transparent: rgba(29, 78, 158, 0.1);
    --blue-transparent: rgba(152, 55, 212, 0.1);
}
* { 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; /* Removes default grey tap box on mobile so custom animations shine */
}
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body { margin: 0; font-family: "Inter", sans-serif; background: var(--bg-alt); color: var(--text); overflow-x: hidden; width: 100%; max-width: 100%; padding-top: 152px; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; }
img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.wide-container { width: 100%; padding: 0 4vw; margin: 0 auto; }
.top-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 31; background-color: var(--green); color: #ffffff; font-size: 0.8rem; padding: 10px 0; font-weight: 500; }
.top-bar:not(.shared-top-bar) { display: none !important; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-contact, .top-links { display: flex; gap: 24px; }
.top-bar a { color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color 0.2s ease; }
.top-bar a:hover { color: #ffffff; }
.site-header { position: fixed; top: 40px; left: 0; right: 0; z-index: 30; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); animation: headerSlideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-wrap, .hero-grid, .contact-grid, .footer-top, .footer-nav, .footer-bottom, .form-row, .stats-grid { display: grid; gap: 24px; }
.nav-wrap { grid-template-columns: auto 1fr auto; align-items: center; padding: 16px 0; }
.nav-wrap-header { max-width: 1440px; margin: 0 auto; padding: 16px 5vw; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 80px; width: auto; object-fit: contain; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover img { transform: scale(1.06) rotate(-2deg); }
.brand-badge { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--green), var(--blue)); box-shadow: var(--shadow); }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 0.92rem; letter-spacing: 0.04em; color: var(--blue-dark); }
.brand-copy small { color: var(--muted); font-size: 0.74rem; }
.site-nav { display: flex; justify-content: center; gap: 18px; color: #120b1f; font-weight: 600; perspective: 1000px; }
.site-nav-main { justify-content: flex-start; align-items: center; padding-left: 1.25vw; flex-wrap: nowrap; row-gap: 0; white-space: nowrap; }
.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 12px;
    border-radius: 999px;
    overflow: hidden;
    color: #120b1f;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.35s ease;
}
.site-nav a span {
    position: relative;
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(29, 78, 158, 0.12), rgba(152, 55, 212, 0.16));
    transform: scale(0.82);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current {
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(29, 78, 158, 0.12);
}
.site-nav a:hover span,
.site-nav a:focus-visible span,
.site-nav a.is-current span {
    transform: translateX(4px);
}
.site-nav a:hover::before,
.site-nav a:focus-visible::before,
.site-nav a.is-current::before {
    opacity: 1;
    transform: scale(1);
}
.site-nav a:focus-visible {
    outline: none;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background 0.4s ease !important; cursor: pointer; position: relative; overflow: hidden; }
.nav-cta { min-height: 32px; padding: 0 14px; font-size: 0.8rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); border-radius: 6px !important; }
.nav-cta:hover, .button-primary:hover { background: var(--accent) !important; box-shadow: 0 12px 24px rgba(29, 78, 158, 0.35) !important; transform: translateY(-4px) scale(1.03) !important; }
.nav-cta:active, .button:active, .btn-shine:active, .btn-white:active, .hero-btn:active, .sgm-view-all-btn:active, .cs-view-all-btn:active, .btn-ghost:active { transform: translateY(0) scale(0.98) !important; box-shadow: none !important; }
.button { min-height: 50px; padding: 0 24px; border: 0; cursor: pointer; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); box-shadow: 0 14px 30px rgba(21, 101, 192, 0.2); }
.button-secondary { color: var(--blue-dark); background: #fff; border: 1px solid var(--line); }

.btn-shine { position: relative; overflow: hidden; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease; }
.btn-shine::after { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: shine 3s infinite; }
.btn-shine:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 24px rgba(29, 78, 158, 0.25); }
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
@keyframes headerSlideIn {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}

.full-width { width: 100%; }
.hero { padding: 88px 0; overflow: hidden; position: relative; }
.hero-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.hero-badge, .eyebrow { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 700; color: var(--green); background: rgba(37, 99, 235, 0.1); }
.hero h1 { margin: 18px 0 16px; line-height: 1.02; font-size: clamp(2.6rem, 5vw, 5rem); }
.section-heading h2, .contact-copy h2 { margin: 18px 0 16px; line-height: 1.15; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--text); }
.hero h1 span, .section-heading h2 span { color: var(--blue); }
.hero p, .section-heading p, .spread-card p, .core-card p, .price-desc, .contact-copy p { color: var(--muted); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-visual { display: grid; place-items: center; }
.hero-visual img { max-width: 100%; height: auto; animation: float 3s ease-in-out infinite; }
.section { padding: 88px 0; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.sectors-section { background: var(--bg); }
.sector-grid, .spread-cards, .core-grid, .pricing-grid, .info-stack { display: grid; gap: 20px; }
.sector-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sector-card, .spread-card, .core-card, .price-card, .stat-card, .info-card, .contact-form-wrap { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sector-card, .spread-card, .core-card, .price-card, .stat-card, .info-card { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.4s ease; cursor: pointer; } .sector-card:hover, .spread-card:hover, .core-card:hover, .price-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15); border-color: var(--blue); }
.stat-card:hover, .info-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.3); box-shadow: var(--shadow-strong); }
.sector-card { padding: 32px 20px; text-align: center; border-radius: 20px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sector-icon-wrap { width: 68px; height: 68px; display: grid; place-items: center; background: var(--blue-transparent); border-radius: 50%; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease; }
.sector-icon { font-size: 1.8rem; line-height: 1; }
.sector-card:hover .sector-icon-wrap { background: var(--green-transparent); transform: scale(1.2) rotate(8deg); }
.sector-name { color: var(--text); font-size: 1.05rem; }
.center-action { text-align: center; margin-top: 28px; }
.spread-cards { grid-template-columns: repeat(4, 1fr); gap: 40px; }
.spread-card { min-height: 270px; padding: 28px; border-radius: 30px; background: linear-gradient(180deg, #f0f7ff, #ffffff); }
.blue-card { background: var(--blue-transparent); border-color: rgba(30, 136, 229, 0.15); }
.spread-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: var(--green); font-weight: 800; background: var(--green-transparent); }
.spread-card h3, .core-card h3, .price-card h3 { margin: 18px 0 12px; font-size: 1.25rem; }
.core-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.core-card { padding: 28px; border-radius: 28px; }
.core-section { background: var(--bg); }
.core-card-top, .tag-list, .social-list { display: flex; align-items: center; }
.core-card-top { justify-content: space-between; }
.core-icon { width: 48px; height: 48px; border-radius: 16px; background: var(--green-transparent); color: var(--green); display: grid; place-items: center; }
.core-arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-transparent); color: var(--blue); font-size: 1.2rem; transition: all 0.25s ease; }
.core-card:hover .core-arrow { background: var(--green); color: #ffffff; transform: translateX(4px) rotate(-45deg); }
.tag-list { flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag-list span { padding: 8px 12px; border-radius: 999px; background: var(--green-transparent); color: var(--green-dark); font-size: 0.85rem; font-weight: 700; }
.pricing-section { background: var(--bg-alt); }
.pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.price-card { position: relative; padding: 30px; border-radius: 28px; }
.price-card.popular { border-color: rgba(102, 45, 145, 0.22); transform: translateY(-6px); }
.price-card.popular:hover { transform: translateY(-12px); box-shadow: var(--shadow-strong); border-color: var(--blue); }
.popular-pill { display: inline-block; margin-bottom: 10px; padding: 8px 12px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--green)); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.price { margin: 0; font-size: 2rem; font-weight: 900; }
.price span, .gst { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.price-card ul { margin: 20px 0 24px; padding: 0; list-style: none; }
.price-card li { position: relative; padding-left: 22px; margin-bottom: 12px; color: var(--muted); }
.price-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.stats-section { background: var(--green-dark); color: #fff; }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-section .section-heading h2 span { color: #89b3ff; }
.stat-card { padding: 28px 18px; border-radius: 24px; text-align: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); box-shadow: var(--shadow); } .stat-card:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.stat-card strong { display: block; margin-bottom: 8px; font-size: 2rem; color: #fff !important; }
.stat-card span { color: rgba(255,255,255,0.9); font-weight: 600; }
.contact-section { padding: 100px 0; background: linear-gradient(145deg, #020617 0%, #0b1f40 50%, #020617 100%); color: #fff; position: relative; overflow: hidden; z-index: 1; }
.contact-section::before, .contact-section::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: 0.45; pointer-events: none; }
.contact-section::before { top: -10%; left: -10%; width: 45vw; height: 45vw; background: #1D4E9E; }
.contact-section::after { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: #3b82f6; }
.contact-copy h2 { color: #fff; font-size: clamp(2.5rem, 5vw, 3.5rem); }
.contact-copy h2 span { color: #3b82f6; }
.contact-copy p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }
.contact-copy .eyebrow { background: rgba(59, 130, 246, 0.15); color: #3b82f6; padding: 8px 20px; border: 1px solid rgba(59, 130, 246, 0.4); border-radius: 999px; font-size: 0.95rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); }
.info-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; gap: 20px; }
.info-card { padding: 26px; border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 8px 20px rgba(0,0,0,0.2); backdrop-filter: blur(10px); }
.info-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(59, 130, 246, 0.5); transform: translateY(-6px) scale(1.02); box-shadow: 0 15px 30px rgba(59, 130, 246, 0.25); }
.info-card strong { display: block; margin-bottom: 10px; color: #3b82f6; font-size: 1.2rem; letter-spacing: 0.5px; }
.info-card span { color: rgba(255,255,255,0.9); line-height: 1.6; font-size: 1.05rem; }
.contact-form-wrap { padding: 44px; border-radius: 28px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 20px rgba(255,255,255,0.05); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.contact-form, .contact-form label { display: grid; gap: 10px; }
.contact-form { gap: 24px; }
.form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-form label { font-weight: 700; color: #f8fafc; font-size: 1rem; letter-spacing: 0.5px; }
.contact-form input, .contact-form textarea { width: 100%; border: 2px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 16px 20px; font: inherit; background: rgba(0,0,0,0.4); color: #fff; transition: all 0.3s ease; font-size: 1.05rem; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #3b82f6; outline: none; background: rgba(0,0,0,0.6); box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); transform: translateY(-2px); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form .button-primary { background: linear-gradient(135deg, #1D4E9E 0%, #3b82f6 50%, #1D4E9E 100%) !important; background-size: 200% auto !important; color: #fff !important; border: none; box-shadow: 0 10px 30px rgba(29, 78, 158, 0.4); transition: all 0.3s ease; border-radius: 999px; font-size: 1.15rem; padding: 18px 32px; font-weight: 800; letter-spacing: 1px; animation: btnGradientShift 5s ease infinite; cursor: pointer; }
.contact-form .button-primary:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6); }
.success-message { color: #4ade80; font-weight: 700; text-align: left; margin-top: 12px; font-size: 1.1rem; text-shadow: 0 0 10px rgba(74, 222, 128, 0.4); display: none; }
@keyframes btnGradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Hamburger Base */
.hamburger { display: none; background: transparent; border: none; cursor: pointer; flex-direction: column; gap: 6px; padding: 5px; z-index: 101; position: relative; }
.hamburger span { display: block; width: 28px; height: 3px; background: var(--text); transition: all 0.3s ease; border-radius: 3px; }
.hamburger.is-active span { background: var(--green-dark); }

/* NEW FOOTER */
.new-site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  color: var(--text);
  padding: 88px 0 40px;
  position: relative;
  overflow: hidden;
  font-weight: bold;
  border-top: 1px solid var(--line);
}

/* Force all typography inside the footer to be dark so it's visible on light background */
.new-site-footer p,
.new-site-footer span,
.new-site-footer a,
.new-site-footer h4 {
  color: var(--text) !important;
  font-weight: bold !important;
}

.new-site-footer::before,
.new-site-footer::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(117, 40, 168, 0.05);
  pointer-events: none;
}  
.new-site-footer::before {
  width: 220px;
  height: 220px;
  top: -70px;
  right: 6%;
  animation: footerFloatA 10s ease-in-out infinite;
}
.new-site-footer::after {
  width: 160px;
  height: 160px;
  bottom: -45px;
  left: 8%;
  animation: footerFloatB 11s ease-in-out infinite;
}

.new-site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.new-site-footer .footer-contact { order: 1; }
.new-site-footer .footer-brand { order: 2; }
.new-site-footer .footer-quick-links { order: 3; }
.new-site-footer .footer-quick-links h4,
.new-site-footer .footer-quick-links .footer-links,
.new-site-footer .footer-quick-links .footer-links a {
  text-align: left;
  align-self: flex-start;
}

.new-site-footer .footer-brand img {
  height: 75px;
  margin-bottom: 20px;
  transition: transform .28s ease;
}
.new-site-footer .footer-brand:hover img {
  transform: translateY(-3px);
}

.new-site-footer .footer-brand p {
  opacity: 0.9;
  line-height: 1.7;
  font-size: 14px;
}

.new-site-footer .footer-section h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
  letter-spacing: .2px;
}

.new-site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}

.new-site-footer .footer-links a {
  opacity: 0.9;
  font-size: 14px;
  position: relative;
  transition: opacity .2s ease, transform .2s ease;
}

.new-site-footer .footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.new-site-footer .footer-whatsapp-link .social-icon {
  width: 16px;
  height: 16px;
}
.new-site-footer .footer-address {
  opacity: 0.95;
  font-size: 14px;
  line-height: 1.6;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  width: 100%;
  text-align: left;
  transition: transform .2s ease, opacity .2s ease;
}
.new-site-footer .footer-links a[href^="mailto:"] + .footer-address {
  margin-top: -2px;
}
.new-site-footer .footer-links a[href^="mailto:"] + .footer-address::before {
  content: "Address:";
  grid-column: 1 / -1;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.new-site-footer .footer-address:hover {
  transform: translateX(3px);
  opacity: 1;
}

.new-site-footer .footer-address svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: #f97316;
}
.new-site-footer .footer-address span {
  min-width: 0;
}

.new-site-footer .footer-links a:hover {
  opacity: 1;
  text-decoration: none;
  transform: translateX(4px);
}
.new-site-footer .footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.new-site-footer .footer-links a:hover::after {
  transform: scaleX(1);
}

.new-site-footer .social-links {
  display: flex;
  gap: 18px;
  margin-top: 24px;
}

.new-site-footer .social-links a {
  width: 58px;
  height: 58px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}

.new-site-footer .social-links a:hover {
  transform: translateY(-4px) scale(1.1);
}

.new-site-footer .social-icon {
  width: 32px;
  height: 32px;
  display: block;
  fill: var(--text); /* Makes icons dark by default */
  transition: fill 0.3s ease;
}

/* Initial Dark State */
.new-site-footer .social-icon.facebook { fill: var(--text); }
.new-site-footer .social-icon.twitter { fill: var(--text); }
.new-site-footer .social-icon.linkedin { fill: var(--text); }
.new-site-footer .social-icon.youtube { fill: var(--text); }
.new-site-footer .social-icon.whatsapp { fill: var(--text); }

/* Reveal brand colors on hover */
.new-site-footer .social-links a:hover .facebook { fill: #1877f2; }
.new-site-footer .social-links a:hover .twitter { fill: #1da1f2; }
.new-site-footer .social-links a:hover .linkedin { fill: #0a66c2; }
.new-site-footer .social-links a:hover .youtube { fill: #ff0000; }
.new-site-footer .social-links a:hover .whatsapp { fill: #25D366; }

.new-site-footer .footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  text-align: center;
  opacity: 0.9;
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.new-site-footer .footer-bottom p {
  margin: 0;
}
.new-site-footer .footer-bottom a {
  text-decoration: underline;
}

.new-site-footer .footer-brand,
.new-site-footer .footer-section { position: relative; z-index: 1; }
.new-site-footer .footer-grid > * { animation: footerFadeUp .5s ease both; }
.new-site-footer .footer-grid > *:nth-child(2) { animation-delay: .06s; }
.new-site-footer .footer-grid > *:nth-child(3) { animation-delay: .12s; }

@keyframes footerFloatA {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-10px) translateX(6px); }
}
@keyframes footerFloatB {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(10px) translateX(-6px); }
}
@keyframes footerFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Global Unified Transitions & Animations --- */
/* Map CSS variable delays to transition-delay */
[style*="--delay"] { transition-delay: var(--delay) !important; }

/* Upgrade all scroll reveals globally */
.reveal, .cs-reveal, .sgm-reveal, .pm-reveal, .blog-reveal, .sd-reveal { 
    opacity: 0 !important; 
    transform: translateY(40px) scale(0.96) !important; 
    filter: blur(5px) !important; 
    transition-property: opacity, transform, filter !important;
    transition-duration: 0.9s !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important; 
    will-change: opacity, transform, filter;
}
.reveal.active, .reveal.in-view, .cs-reveal.cs-in-view, .sgm-reveal.sgm-in-view, .pm-reveal.pm-in-view, .blog-reveal.in-view, .sd-reveal.sd-in-view { 
    opacity: 1 !important; 
    transform: translateY(0) scale(1) !important; 
    filter: blur(0) !important; 
    animation: none !important;
}

/* Upgrade all card hovers globally */
.sector-card, .spread-card, .core-card, .price-card, .stat-card, .info-card, .feature-card, .process-card, .why-item, .tech-item, .benefit-card, .blog-card, .internship-card, .product-card, .srv-card, .testimonial-card, .award-item, .client-item, .pm-card, .sgm-card, .cs-card, .sd-card {
    transition-property: transform, box-shadow, border-color, filter !important;
    transition-duration: 0.5s !important;
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.sector-card:hover, .sector-card:active, .spread-card:hover, .spread-card:active, .core-card:hover, .core-card:active, .price-card:hover, .price-card:active, .stat-card:hover, .stat-card:active, .info-card:hover, .info-card:active, .feature-card:hover, .feature-card:active, .process-card:hover, .process-card:active, .why-item:hover, .why-item:active, .tech-item:hover, .tech-item:active, .benefit-card:hover, .benefit-card:active, .blog-card:hover, .blog-card:active, .internship-card:hover, .internship-card:active, .product-card:hover, .product-card:active, .srv-card:hover, .srv-card:active, .testimonial-card:hover, .testimonial-card:active, .award-item:hover, .award-item:active, .client-item:hover, .client-item:active, .pm-card:hover, .pm-card:active, .sgm-card:hover, .sgm-card:active, .cs-card:hover, .cs-card:active, .sd-card:hover, .sd-card:active {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

/* Ensure inner hover effects trigger on touch (mobile active state) */
.feature-card:active::before, .process-card:active::before, .why-item:active::before, .tech-item:active::before, .benefit-card:active::before, .srv-card:active .srv-card-overlay, .blog-card:active .blog-card-overlay, .sgm-card:active .sgm-card-overlay, .cs-card:active .cs-card-overlay { opacity: 1 !important; }
.feature-card:active h3, .process-card:active h3, .why-item:active h4, .benefit-card:active h3, .tech-item:active, .srv-card:active h3, .blog-card:active .blog-content h3, .sgm-card:active .sgm-card-title, .cs-card:active .cs-card-title { color: #fff !important; }
.feature-card:active p, .process-card:active p, .why-item:active p, .benefit-card:active p, .srv-card:active p, .blog-card:active .blog-content p, .sgm-card:active .sgm-card-desc, .cs-card:active .cs-card-desc { color: rgba(255,255,255,0.8) !important; }
.feature-card:active .feature-icon, .process-card:active .feature-icon, .why-item:active .feature-icon, .benefit-card:active .benefit-icon, .srv-card:active .srv-card-icon, .sgm-card:active .sgm-icon-box, .cs-card:active .cs-icon-box, .sd-card:active .sd-card-icon { transform: scale(1.1) rotate(-5deg) !important; background: rgba(255,255,255,0.2) !important; box-shadow: 0 6px 24px rgba(255,255,255,0.25) !important; border: 1.5px solid rgba(255,255,255,0.35) !important; color: #fff !important; }
.feature-card:active .card-arrow, .process-card:active .card-arrow, .why-item:active .card-arrow, .srv-card:active .srv-card-arrow, .sgm-card:active .sgm-card-arrow, .cs-card:active .cs-card-arrow { background: rgba(255,255,255,0.2) !important; color: #fff !important; transform: translate(3px, -3px) !important; }
.tech-item:active::before { transform: scale(1.5) !important; }
.tech-item:active svg { transform: scale(1.1) !important; color: #ffffff !important; }
.process-card:active .process-step-num { background: rgba(255,255,255,0.2) !important; transform: scale(1.15) rotate(-10deg) !important; border: 1.5px solid rgba(255,255,255,0.35) !important; }
.blog-card:active .blog-card-accent, .srv-card:active .srv-card-accent { opacity: 0 !important; }
.blog-card:active .blog-thumb { transform: scale(1.08) !important; }
.blog-card:active .blog-category { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
.blog-card:active .blog-date { color: rgba(255,255,255,0.8) !important; }
.blog-card:active .blog-read { gap: 12px !important; color: #fff !important; }
.intro-image-wrap:active img { transform: scale(1.05) !important; }
.faq-item:active { border-color: var(--blue) !important; box-shadow: var(--shadow) !important; }
.life-grid img:active { transform: translateY(-5px) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .sector-grid, .pricing-grid, .core-grid, .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spread-cards { grid-template-columns: repeat(2, 1fr); }
  .new-site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1199px) {
    body::after {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 25;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        pointer-events: none;
    }
    body:has(.site-nav.is-active) {
        overflow: hidden;
    }
    body:has(.site-nav.is-active)::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-wrap-header {
        gap: 16px;
        padding: 14px 20px;
    }
    .site-nav-main {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: min(340px, 86vw);
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 96px 24px 32px;
        gap: 12px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 100;
        overflow-y: auto;
    }
    .site-nav-main.is-active {
        transform: translateX(0);
    }
    .site-nav-main a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 12px;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
    }
    .site-nav-main.is-active a {
        opacity: 1;
        transform: translateX(0);
    }
    .site-nav-main.is-active a:nth-child(1) { transition-delay: 0.1s; }
    .site-nav-main.is-active a:nth-child(2) { transition-delay: 0.15s; }
    .site-nav-main.is-active a:nth-child(3) { transition-delay: 0.2s; }
    .site-nav-main.is-active a:nth-child(4) { transition-delay: 0.25s; }
    .site-nav-main.is-active a:nth-child(5) { transition-delay: 0.3s; }
    .site-nav-main.is-active a:nth-child(n+6) { transition-delay: 0.35s; }
    .site-nav-main a:hover,
    .site-nav-main a:active {
        background: var(--blue-transparent);
        color: var(--blue);
        padding-left: 24px;
    }
    .site-nav-main a:hover span,
    .site-nav-main a:active span,
    .site-nav-main a.is-current span {
        transform: none;
    }
    .header-actions {
        margin-left: auto;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}
@media (max-width: 991px) {
    .top-bar { display: none; }
    body { padding-top: 112px; }
    .site-header { top: 0; }
    .nav-wrap { display: flex; justify-content: space-between; }
    .contact-grid, .form-row, .footer-bottom, .footer-nav, .info-stack { grid-template-columns: 1fr; }
    .spread-cards, .pricing-grid, .core-grid, .sector-grid, .footer-top { grid-template-columns: 1fr; }
        .new-site-footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) { 
    .section { padding: 50px 0; } 
    .contact-form-wrap, .price-card, .core-card, .spread-card { padding: 22px; } 
    .nav-cta { display: none; }
    .container { width: min(1180px, calc(100% - 24px)); }
    body { padding-top: 96px; }
    .nav-wrap-header { padding-inline: 12px; }
    .brand img { height: 62px; }
    .site-nav-main { width: min(320px, 88vw); padding: 88px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-nav a,
    .site-nav a span,
    .site-nav a::before {
        animation: none !important;
        transition: none !important;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappFloat 3s ease-in-out infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    text-decoration: none;
    animation: none;
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}
@media (max-width: 768px) {
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 30px; height: 30px; }
}
@keyframes whatsappFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
