/*
Theme Name: APC Integrated Theme
Description: A custom WordPress theme for APC Integrated based on the original HTML design
Author: Your Name
Version: 1.0
Text Domain: apc-theme
Tags: business, corporate, it-services, responsive, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, sticky-post, theme-options
Requires at least: 5.0
Tested up to: 6.3
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme is based on the APC Integrated HTML template and converted to WordPress.
It includes all the original functionality with WordPress integration.
*/

/* Import Montserrat Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap');

/* Import the existing styles - this will include all the original CSS */

/* Include all original styles from styles.css *//* Mobile Navigation Styles */
.mobile-nav {
  display: none;
}

/* Mobile nav should only be visible when explicitly opened by JS */
.mobile-nav.open {
  display: block !important;
}

.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 1280px) {
  .main-nav {
    display: none !important;
  }
  /* Mobile nav hidden by default; opened via .open class */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    background: white;
    z-index: 1002;
    padding: 80px 0 0 0;
    overflow-y: auto;
  }

  .mobile-nav.open {
    display: block !important;
  }
  .mobile-nav-menu {
    list-style: none;
    padding: 40px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .mobile-nav-item {
    border-bottom: 1px solid var(--grey);
    margin: 0;
    padding: 0;
  }
  .mobile-nav-link {
    display: block;
    padding: 25px 0;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
  }
  .mobile-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 25px 0;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
  }
  .mobile-accordion-toggle::after {
    content: '\25BC';
    font-size: 18px;
    color: var(--brand-color);
    margin-left: 10px;
    transition: transform 0.3s;
  }
  .mobile-accordion-parent.open > .mobile-accordion-toggle::after {
    transform: rotate(180deg);
  }
  .mobile-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
    background: rgba(244, 249, 255, 0.95);
  }
  .mobile-accordion-parent.open > .mobile-accordion-panel {
    max-height: 1000px;
    padding: 10px 0 10px 20px;
  }
  /* Nested levels: increase left padding and reduce font-size slightly */
  .mobile-accordion-panel .mobile-accordion-parent > .mobile-accordion-toggle {
    padding-left: 10px;
    font-size: 20px;
  }
  .mobile-accordion-panel .mobile-accordion-panel {
    padding-left: 20px;
  }
  /* deeper chevron rotation uses the same selector, ensure it inherits transform */
  .mobile-accordion-panel .mobile-accordion-toggle::after {
    transition: transform 0.25s;
  }
  /* Hide nested accordion markup inside the main root menu and use drill panels instead */
  .mobile-nav .mobile-accordion-panel {
    display: none;
  }

  /* Mobile Action Buttons */
  .mobile-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 40px;
    margin-top: 20px;
  }

  .mobile-action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--brand-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .mobile-action-btn:hover,
  .mobile-action-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112, 85, 238, 0.3);
  }

  .mobile-action-btn i {
    font-size: 24px;
  }

  .mobile-action-btn span {
    flex: 1;
  }

  /* Drilldown panel styles (full-screen panels that slide in) */
  .mobile-drill-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  .mobile-drill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--grey);
  }

  .mobile-drill-header .drill-back {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--brand-color);
    cursor: pointer;
    padding: 6px 10px;
  }

  .mobile-drill-header .drill-title {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    flex: 1;
  }

  .mobile-drill-list {
    list-style: none;
    padding: 40px;
    margin: 0;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-drill-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--grey);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-drill-link {
    background: none;
    border: none;
    width: 100%;
    font-size: 24px;
    text-align: left;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    text-decoration: none;
  }

  .mobile-drill-link .chev {
    font-size: 20px;
    color: var(--brand-color);
    margin-left: 10px;
  }
  .mobile-accordion-panel li a {
    display: block;
    padding: 12px 0;
    font-size: 20px;
    color: var(--text-color);
    text-decoration: none;
  }
  .mobile-accordion-panel li a:hover {
    color: var(--brand-color);
  }
}
/* Strong override to ensure mobile nav only appears when explicitly opened */
.mobile-nav {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.mobile-nav.open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&display=swap');

:root {
  --brand-color: #2119d4;
  --brand-dark: #190043;
  --secondary-brand-color: #6f07ff;
  --text-color: #0D0717;
  --secondary-color: #00c8ff;
  --light-color: #f4f9ff;
  --grey: #e6e6e6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-y: auto;
  overflow-x: clip;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-color);
  overflow-x: clip;
  width: 100%;
  position: relative;
  font-size: 24px;
  font-weight: 400;
}

p {
  font-size: 24px;
}

h2 {
  font-size: 55px;
}

h4 {
  font-size: 32px;
  font-weight: 300;
}

strong {
    font-weight: 600;
}

/* Generic Button Styles - matching main-btn with hover effects */
/* Note: Input elements don't support ::before/::after, so this works for button elements and classes */
button,
.btn,
input[type="button"],
input[type="submit"] {
  background: linear-gradient(135deg, var(--secondary-color), var(--brand-color));
  color: white;
  border: none;
  padding: 20px 50px;
  border-radius: 50px;
  font-size: 24px;
  font-weight: 600;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform, background;
  --shimmer-x: 50%;
  --shimmer-y: 50%;
}

/* Hover effects work on button elements and classes (not input elements due to browser limitations) */
.page-content button::before,
.btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: radial-gradient(
    circle 80px at var(--shimmer-x, 50%) var(--shimmer-y, 50%),
    rgba(255, 255, 255, 0.3) 0%,
    transparent 70%
  ) !important;
  transform: scale(0) !important;
  transition: transform 0.2s ease !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

button:hover::before,
.btn:hover::before {
  transform: scale(1) !important;
}

.page-content button::after,
.btn::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--brand-color)
  ) !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  border-radius: 50px !important;
  z-index: -1 !important;
}

.gform-body button:hover,
.gform-body .btn:hover,
.gform-body input[type="button"]:hover,
.gform-body input[type="submit"]:hover {
  color: white;
}

.gform-body button:hover::after,
.gform-body .btn:hover::after {
  opacity: 1 !important;
}

.gform-body button:active,
.gform-body .btn:active,
.gform-body input[type="button"]:active,
.gform-body input[type="submit"]:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}



/* Header Styles */
.header {
  width: 100%;
  position: relative;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

/* Logo Section */
.logo {
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Navigation Menu */
.main-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  z-index: 1001;
}

.main-nav.sticky {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

/* Mobile Navigation Override */
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: -100% !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important; /* Dynamic viewport height for mobile */
    max-height: 100vh !important;
    max-height: 100dvh !important;
    background: white !important;
    z-index: 1002 !important;
    padding: 80px 0 0 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    transition: left 0.3s ease !important;
  }

  .main-nav.mobile-open {
    display: flex !important;
    left: 0 !important;
  }
  
  /* Prevent body scroll when menu is open */
  body.mobile-menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
    touch-action: none !important;
  }

  .nav-link {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 40px !important;
    gap: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    position: relative;
    align-items: flex-start !important;
    .mega-menu-item > .nav-link::after {
      content: '\25BC';
      font-size: 18px;
      color: var(--brand-color);
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%) rotate(0deg);
      transition: transform 0.3s;
    }
    .mega-menu-item.mobile-expanded > .nav-link::after {
      transform: translateY(-50%) rotate(180deg);
    }
    .mega-menu-item > .nav-link {
      padding-right: 40px;
    }
    text-align: left !important;
    list-style: none !important;
    margin: 0 !important;
  }

  .nav-menu::before {
    display: none !important;
  }

  .nav-item {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid var(--grey) !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-menu a {
    display: block !important;
    padding: 25px 0 !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    color: var(--text-color) !important;
    border-radius: 0 !important;
    text-align: left !important;
    width: 100% !important;
    text-decoration: none !important;
  }

  .nav-menu a:hover {
    background: transparent !important;
    color: var(--brand-color) !important;
    -webkit-text-fill-color: var(--brand-color) !important;
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;

  padding: 14px 20px;
  border-radius: 50px;
  position: relative;

  transition: background-color 0.5s ease, border-color 0.5s ease;
  background-color: #ffffffa3;
  -webkit-backdrop-filter: blur(60px);
  backdrop-filter: blur(60px);
}

.nav-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  border-radius: 25px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

.nav-menu li {
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Mega Menu Styles */
.mega-menu-item {
  position: relative;
}

.mega-menu-item {
  position: relative;
}

.mega-menu-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 999;
  pointer-events: none; /* don't steal pointer events from JS-driven logic */
}

.mega-menu {
  position: fixed; /* positioned relative to viewport; JS will set exact top to keep 50px gap */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  background: white;
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  pointer-events: none; /* ignore pointer when hidden */
}

.mega-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Invisible hover zone that captures pointer movement between nav and mega menu */
#mega-hover-zone {
  position: fixed;
  background: transparent;
  z-index: 995; /* below mega menu (1000) but above most page content */
  pointer-events: auto;
  left: 0;
  height: 0;
}

/* When the mega menu is hidden, hover zone should not capture pointer events */
.mega-menu:not(.show) + #mega-hover-zone,
#mega-hover-zone.hidden {
  pointer-events: none;
}

.active-trigger > .nav-link {
  /* subtle preview state on the trigger when active */
  color: var(--brand-color);
}

.main-nav.sticky ~ * .mega-menu,
.main-nav.sticky .mega-menu {
  top: 120px;
}

.mega-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  border-radius: 15px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  z-index: -1;
}

/* Hide the original mega menus in HTML since we use a dedicated centered one */
.mega-menu-item .mega-menu {
  display: none !important;
}

/* The dedicated centered mega menu created by JS */
#centered-mega-menu {
  display: block;
}

.mega-menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 60px 80px;
}

.mega-menu-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mega-menu-image-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg,var(--secondary-color, #00c8ff), var(--brand-color, #2119d4));
  border-radius: 25px;
  padding: 40px 30px;
  text-align: left;
  min-height: 400px;
}

.mega-menu-image-section img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.mega-menu-image-section h5 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: auto;
}

.mega-menu-image-section p {
  color: white;
  margin: 0 0 20px 0;
}

.mega-menu-image-section .btn {
  margin-top: 0;
  padding: 12px 24px;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid white;
  font-size: 18px;
  width: 155px;
  background: transparent;
}


.mega-menu-image-section .btn:hover {
  background: white;
  color: var(--brand-color);
}

.mega-menu-column h4 {
  color: var(--brand-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  font-weight: 300;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
}

.mega-menu-column h4:hover {
  color: var(--secondary-color);
}

.mega-menu-column h4:hover .mega-menu-icon {
  color: var(--secondary-color);
}

.mega-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 28px;
  min-width: 32px;
  margin-right: 15px;
  color: var(--brand-color);
  transition: color 0.3s ease;
}

/* For SVG background icons (optional) */
.mega-menu-icon.icon-bg {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* SVG Icon variations - if you want to use custom SVG icons */
.mega-menu-icon.icon-bg.icon-cloud {
  background-image: url('../assets/img/icons/cloud.svg');
}

.mega-menu-icon.icon-bg.icon-security {
  background-image: url('../assets/img/icons/security.svg');
}

.mega-menu-icon.icon-bg.icon-support {
  background-image: url('../assets/img/icons/support.svg');
}

.mega-menu-icon.icon-bg.icon-infrastructure {
  background-image: url('../assets/img/icons/infrastructure.svg');
}

.mega-menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-column li {
  margin-bottom: 8px;
}

.mega-menu-column a {
  color: var(--text-color);
  text-decoration: none;
  padding: 5px 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.mega-menu-column a .mega-menu-icon {
  color: var(--text-color);
}

.mega-menu-column a:hover {
  color: var(--brand-color);
}

.mega-menu-column a:hover .mega-menu-icon {
  color: var(--brand-color);
}

/* Mega Menu Animation */
.mega-menu-item .mega-menu {
  animation: none;
}

.mega-menu.show {
  animation: fadeInUp 0.3s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Mega Menu Responsive Styles */
@media (max-width: 1200px) {
  .mega-menu-container {
    padding: 50px 60px;
  }
  
  .mega-menu-image-section {
    padding: 30px 20px;
  }
  
  .mega-menu-image-section img {
    max-width: 220px;
  }
}

@media (max-width: 991px) {
  .mega-menu-container {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
  
  .mega-menu-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .mega-menu-image-section {
    grid-column: 1 / -1;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .mega-menu {
    display: none !important;
  }
  
  .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mega-menu-image-section {
    padding: 20px;
  }
  
  .mega-menu-image-section img {
    max-width: 180px;
  }
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  align-items: center;
  border-radius: 0;
}

/* Target the element and force the display property to be overridden */
/* Target the button's parent container and the button itself for max specificity */
.header-container .hamburger-menu button::before,
.header-container .hamburger-menu button::after {
    display: none !important;
}

/* Also try the selector that works for the AFTER element, just in case */
.hamburger-menu button::before {
    display: none !important;
}




.hamburger-line {
  width: 30px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active .hamburger-line {
  background: var(--text-color);
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 0;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  border-radius: 25px;
  flex-shrink: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 4px;
  line-height: 18px;
}

.action-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* FontAwesome Icons */
.action-btn i {
  color: white;
  font-size: 26px;
  margin-right: 5px;
}

/* What We Do Section */
.what-we-do {
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  max-height: 624px;
  height: 624px;
  display: flex;
  align-items: stretch;
  padding: 0;
  border-radius: 25px 25px 0 0;
}

.what-we-do-container {
  padding: 0 40px;
  width: 100%;
  height: 100%;
}

.what-we-do-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  height: 100%;
  padding: 30px 0 0 0;
}

.what-we-do-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
}

.section-label {
  background: white;
  color: var(--brand-color);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 96px;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  margin: 0;
  padding-bottom: 20px;
}

.what-we-do-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
}

.what-we-do-image img {
  max-width: 100%;
  height: 479px;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom right;
}

/* What We Do Info Section */
.what-we-do-info {
  padding: 80px 0;
  background-color: white;
  border-radius: 0 0 25px 25px;
  position: relative;
}

.what-we-do-info::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  border-radius: 0 0 25px 25px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

.what-we-do-info-container {
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.info-column {
  display: flex;
  justify-content: center;
}

.info-card {
  background-color: var(--light-color);
  height: 410px;
  width: 100%;
  border-radius: 25px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  position: relative;
}

.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  border-radius: 25px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
}

.info-card i {
  font-size: 45px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: auto;
}

.info-content {
  margin-top: auto;
}

.info-content h4 {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-color);
  margin-bottom: 15px;
}

.info-content p {
  font-size: 24px;
  color: var(--text-color);
  opacity: 0.9;
}



/* Responsive Design */
@media (max-width: 1380px) {
  .what-we-do-info-container {
    gap: 20px;
  }
}

@media (max-width: 1024px) {


  h2 {
    font-size: 45px;
  }

  h4 {
    font-size: 28px;
  }

  .section-title {
    font-size: 76px;
  }

  /* Hide action buttons on tablet */
  .action-buttons {
    display: none;
  }
  /* Disable sticky behaviour for challenges on tablet/smaller so it doesn't
       cover content when vertical space is limited */
  .challenges-text {
    position: static !important;
    top: auto !important;
  }
}















/* Footer Styles */
.footer {
  background: var(--brand-dark);
  padding: 60px 0;
  margin-top: 80px;
  border-radius: 25px 25px 0 0;
}

.footer-container {
  margin: 0 auto;
  padding: 0 40px;
}

.footer-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.footer-logo-column {
  flex: 1;
}

.footer-logo {
  max-width: 300px;
  height: auto;
}

.footer-contact-column {
  flex: 1;
  position: relative;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  border-radius: 15px;
  padding: 2px;
}

.contact-content {
  background: var(--brand-dark);
  border-radius: 13px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-row {
  display: flex;
  gap: 25px;
  align-items: center;
}

.contact-text-column {
  flex: 1;
  color: white;
}

.contact-text-column h3 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.contact-text-column p {
  font-weight: 100;
}

.contact-image-column {
  flex: 1;
  text-align: right;
}

.contact-image {
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-button-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 150px;
}

.footer-expert-btn {
  background: white;
  color: var(--brand-color);
  border: none;
  padding: 18px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 40%;
}

.footer-expert-btn:hover {
  transform: translateY(-2px);
}

.footer-expert-btn.gradient-border {
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  color: white;
  border: none;
  padding: 2px;
  position: relative;
}

.footer-expert-btn.gradient-border > span {
  display: block;
  background: var(--brand-dark);
  padding: 16px 38px;
  border-radius: 23px;
  position: relative;
  z-index: 1;
}

.footer-expert-btn.gradient-border:hover {
  transform: translateY(-2px);
}

@media (max-width: 1280px) {
 

  h2 {
    font-size: 36px;
  }

  h4 {
    font-size: 24px;
  }

  .apc-cta-benefit {
    margin: 0 auto;
  }

  .next-step-title {
    text-align: center;
  }

  .header-container {
    padding: 15px 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hamburger-menu {
    display: flex !important;
    position: relative;
    z-index: 1003;
    order: 3;
    flex-shrink: 0;
  }

  .logo {
    z-index: 1003;
    position: relative;
    order: 1;
    flex-shrink: 0;
  }

  /* Hide action buttons on mobile */
  .action-buttons {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    padding: 40px;
    gap: 0;
    background: transparent;
    backdrop-filter: none;
    align-items: flex-start;
    text-align: left;
    list-style: none;
    margin: 0;
  }

  .nav-menu::before {
    display: none !important;
  }

  .nav-item {
    display: block !important;
    width: 100%;
    border-bottom: 1px solid var(--grey);
    text-align: left;
    margin: 0;
    padding: 0;
  }

  .nav-menu a {
    display: block !important;
    padding: 25px 0;
    font-size: 24px;
    font-weight: 300;
    color: var(--text-color) !important;
    border-radius: 0;
    text-align: left;
    width: 100%;
    text-decoration: none;
  }

  .nav-menu a:hover {
    background: transparent !important;
    color: var(--brand-color) !important;
    -webkit-text-fill-color: var(--brand-color) !important;
  }

  /* Mobile Mega Menu - Transform to Accordion */
  .mega-menu-item .mega-menu {
    position: static !important;
    display: block !important;
    width: 100%;
    max-width: none;
    background: rgba(244, 249, 255, 0.95);
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    margin-left: 0;
    padding: 0 0;
  }

  .next-step {
    margin-top: 0;
    width: 100%;
  }

  .mega-menu-item.mobile-expanded .mega-menu {
    max-height: 1000px;
    padding: 20px 0 20px 20px;
    overflow: visible;
  }

  #centered-mega-menu {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
  }

  .mega-menu-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }

  .mega-menu-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--brand-color);
    font-weight: 600;
    margin: 0 0 15px 0;
  }

  .mega-menu-column a {
    font-size: 16px;
    padding: 10px 0;
    color: var(--text-color);
    font-weight: 300;
  }

  .mega-menu-column a:hover {
    color: var(--brand-color);
  }

  .action-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
  }

  .action-btn {
    padding: 20px 15px;
        font-size: 24px;
        gap: 4px;
        border-radius: 25px;
  }

  .action-btn i {
    font-size: 24px;
    margin-right: 2px;
  }

  .what-we-do {
    max-height: none;
    height: auto;
  }

  .what-we-do-info {
    padding: 40px 0;
  }

  .what-we-do-info-container {
    padding: 0 20px;
    gap: 20px;
  }

  .what-we-do-image {
    justify-content: center;
    align-items: center;
  }

  .what-we-do-image img {
    height: auto;
    max-height: 300px;
  }

  .what-we-do-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }

  .section-title {
    font-size: 38px;
    margin-top: 20px;
  }

  .info-card {
    height: auto;
  }

  .info-content {
    margin-top: 20px;
  }
  .info-content h4 {
    font-size: 28px;
  }

  .info-content p {
    font-size: 22px;
  }

  .what-we-do-info-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tailored-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }



  .tailored-text p {
    font-size: 22px;
  }

  .services-list {
    height: 400px;
  }

  .challenges-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .challenges-card p {
    margin-top: 20px;
    font-size: 22px;
    line-height: 1.3;
  }

  .challenge-btn {
    padding: 12px 24px;
    font-size: 22px;
    margin-top: 0px !important;
  }










}

@media (max-width: 992px) {
  body {
    font-size: 22px;
  }

  p {
    font-size: 22px;
  }


  h2 {
    font-size: 28px;
  }

  h4 {
    font-size: 28px;
  }

  .header-container {
    padding: 12px 15px;
  }

  .main-nav {
    width: 100%;
    max-width: 100vw;
    padding: 80px 0 0 0;
  }

  .nav-menu {
    padding: 30px;
  }

  .nav-menu a {
    font-size: 22px !important;
    padding: 20px 0 !important;
    color: var(--text-color) !important;
  }

  .logo img {
    height: 45px;
  }

  /* Ensure challenges text isn't sticky on very small screens */
  .challenges-text {
    position: static !important;
    top: auto !important;
  }

  .section-title {
    font-size: 42px;
  }

  .nav-menu a {
    font-size: 16px;
    padding: 18px 15px;
  }

  .action-btn {
    padding: 12px 16px;
    font-size: 12px;
  }

  .action-btn i {
    font-size: 24px;
  }

  /* Small mobile adjustments */
  .challenges-text h2 {
    font-size: 28px;
  }

  .challenges-text p {
    font-size: 22px;
  }

  .challenges-card {
    padding: 40px 30px;
  }





  .testimonials-container {
    padding: 0 15px;
  }

  .testimonials-header-left h2 {
    font-size: 28px;
  }

  .testimonials-header-left p {
    font-size: 24px !important;
  }

  .testimonial-card {
    min-width: 260px !important;
    max-width: 260px !important;
    padding: 20px;
  }

  .testimonial-text {
    font-size: 14px;
  }

  .testimonial-author strong {
    font-size: 16px;
  }

  .resources-container {
    padding: 0 15px;
  }

  .resources-header h2 {
    font-size: 28px;
  }

  .resource-card {
    
  }

  .resource-image {
    height: 160px;
  }

  .resource-card h4 {
    font-size: 16px;
    padding: 0 15px 15px;
    margin: 20px 0;
  }

  .resource-tags {
    padding: 10px 15px 5px;
  }

  .resource-tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  .resource-card h4 {
    font-size: 16px;
    padding: 0 15px 15px;
  }

  .apc-cta-row-1,
  .apc-cta-row-2 {
    padding: 25px 15px;
  }

  .apc-cta-title {
    font-size: 28px;
    text-align: center;
    margin: 0 auto;
  }

  .cta-form {
    padding: 30px 20px;
  }

  .cta-submit-btn {
    font-size: 16px;
  }
}



@media (max-width: 480px) {
  .action-btn {
    padding: 15px 15px;
    font-size: 24px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-menu a {
    font-size: 14px;
  }

}

@media (max-width: 1200px) {
  .footer {
    padding: 40px 0;
    margin-top: 50px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-logo {
    max-width: 150px;
  }

  .contact-content {
    padding: 25px;
  }

  .contact-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }



  .contact-text-column h3 {
    font-size: 1.5rem;
  }

  .contact-image {
    height: 120px;
    width: 100%;
    object-fit: contain;
  }

  .footer-container {
    padding: 0 20px;
  }

  .footer-expert-btn {
    padding: 15px 30px;
    font-size: 14px;
    flex: 1;
  }

  .footer-contact-column {
    width: 100%;
  }

  .contact-button-row {
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }
}

/* Footer Copyright */
.footer-copyright {
  text-align: left;
  padding: 30px 0 0 0;
  margin-top: 40px;
}

.footer-copyright p {
  color: white;
  font-size: 14px;
  margin: 0;
}

.page-header{
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
  border-radius: 25px;
  padding: 40px;
  margin-bottom: 50px;
}

.page-header h1{
  margin-top: 160px;
  font-size: 96px;
  color: white;
  font-weight: 300;
}

.page-subtitle {
  color: white;
  font-size: 55px;
  font-weight: 300;
  margin: 10px 0 0 0;
}


.page-header-button {
  display: inline-block;
  color: white;
  padding: 15px 30px;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
}

.page-header-button:hover {
  border-color: rgb(255, 255, 255);
  color: white;
  text-decoration: none;
  transform: scale(1.05);
}

/* Page Subtitle - Responsive Styles */
@media (max-width: 1200px) {
  .page-header h1 {
    font-size: 72px;
  }
  
  .page-subtitle {
    font-size: 20px;
  }
  
  .page-header-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 48px;
    margin-top: 150px;
  }
  
  .page-subtitle {
    font-size: 18px;
    margin: 8px 0 0 0;
  }
  
 
  
  .page-header-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-header{
    padding: 20px;
    margin-bottom: 40px;
  }
  .page-header h1 {
    font-size: 36px;
    margin-top: 100px;
  }
  
  .page-subtitle {
    font-size: 16px;
    margin: 5px 0 0 0;
  }
  

  
  .page-header-button {
    padding: 8px 16px;
    font-size: 13px;
  }
}


 .sector-hero {
        padding: 100px 0;
        text-align: center;
    }

    .sector-hero h1.sector-title {
font-size: 96px;
    color: var(--text-color);
    font-weight: 900;
    }

    .sector-hero .sector-excerpt p {
      columns: var(--secondary-color);
    }

    .apc-rounded img{
      border-radius: 25px;
    }

   
  h1.post-title {
    font-size:96px;
    font-weight: 900;
    margin:100px 0;
  }

   .post-header {
    margin: 0;
    max-width: 80%;
}

.single-post .post-content-inner{
    width: 60%;
}

.single-post .post-content-inner p{
    margin-bottom: 40px;
}

.single-post .post-content-inner li{
    margin: 0 0px 20px 40px;
}
.single-post .post-content-inner li:last-child {
    margin-bottom: 40px;
}

.single-post .post-content-inner h2,
.single-post .post-content-inner h3,
.single-post .post-content-inner h4,
.single-post .post-content-inner h5,
.single-post .post-content-inner h6{
  margin: 100px 0px;
}


.has-large-font-size{
  font-size: 35px;
}

.padding-right{
  padding-right: 150px;
}

@media screen and (max-width: 768px) {
  .single-post .post-content-inner h2,
.single-post .post-content-inner h3,
.single-post .post-content-inner h4,
.single-post .post-content-inner h5,
.single-post .post-content-inner h6{
  margin: 50px 0px;
}

  .has-large-font-size{
  font-size: 25px !important;
}

h1.post-title {
    font-size: 50px;
    margin: 50px 0 0 0;
}

.single-post .post-content-inner{
  width: 100%;
}

.padding-right{
  padding-right: 0px;
}

.spacer-apc {
    height: 0px !important;
}
  
}

.gfield input, select, textarea {
    background-color: #f4f9ff ;
    border: 1px solid #a3b4c8 ;
    height: 70px;
    font-size: 24px !important;
    border-radius: 25px;
    padding-left: 20px !important;
}

.gform_wrapper.gravity-theme .gform_fields{
  grid-row-gap: 46px !important;
}

.gform-field-label, .gfield_label {
    margin-bottom: 10px !important;
    padding-left: 15px !important;
}

.ginput_right:has(select)::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome';
  font-weight: 900;
  position: absolute;
  right: 28px;
    top: 66%;
  transform: translateY(-50%);
  color: var(--brand-color);
  pointer-events: none;
  font-size: 18px;
} 

.ginput_container span {
  position: relative;
}

select {
  /* Hide the default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Hide the default arrow for IE 10+ */
  &::-ms-expand {
    display: none;
  }
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue{
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--brand-color) 100%
  );
}

h3.gsection_title {
    margin: 20px 0px;
}

.gf_progressbar.gf_progressbar_blue {
    margin-bottom: 50px !important;
}

.gform_wrapper.gravity-theme .gfield_label{
  font-size: 24px !important;
    font-weight: 400 !important;
}

.gform-theme-button{
  padding: 30px;
  margin: 50px 0;
}

/* Target the SELECT parent element when it 'has' the placeholder option selected */
.ginput_container_select select:has(option.gf_placeholder:checked) {
    color: #999 !important; /* Force the gray placeholder color */
}

/* Ensure the color reverts to dark when a non-placeholder option is selected */
.ginput_container_select select:not(:has(option.gf_placeholder:checked)) {
    color: #333 !important; /* Force the dark text color for real selections */
}