/* ICCS static restore — layout & UI (matches Consulting / Elementor snapshot) */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;700&display=swap");

:root {
  --iccs-navy: #020d67;
  --iccs-indigo: #040158;
  --iccs-purple: #5a4af5;
  --iccs-blue: #49aafe;
  --iccs-header-bg: #f1f9ff;
  --iccs-text: #333333;
  --iccs-container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--iccs-text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--iccs-purple);
  text-decoration: none;
}

a:hover {
  color: var(--iccs-blue);
}

/* —— Header —— */
#masthead {
  position: relative;
  z-index: 100;
  background: var(--iccs-header-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#masthead .elementor-section {
  padding: 12px 0 !important;
  margin: 0 !important;
}

#masthead .elementor-container {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--iccs-container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

#masthead .elementor-element-5847b781 {
  flex: 0 0 auto;
  max-width: 220px;
}

#masthead .elementor-element-69b3261a {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

#masthead .elementor-col-50 {
  max-width: none;
  width: auto !important;
  flex: inherit;
}

.wpr-logo-image img {
  max-height: 56px;
  width: auto;
  display: block;
}

/* —— Navigation (ElementsKit) —— */
.ekit-wid-con .elementskit-menu-hamburger {
  display: none;
  border: 0;
  background: var(--iccs-navy);
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.ekit-wid-con .elementskit-menu-hamburger-icon {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
}

.elementskit-menu-container {
  position: static !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.elementskit-nav-identity-panel,
.elementskit-menu-overlay {
  display: none !important;
}

.elementskit-navbar-nav {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementskit-navbar-nav > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementskit-navbar-nav .ekit-menu-nav-link {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: capitalize;
  color: var(--iccs-indigo) !important;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.elementskit-navbar-nav .ekit-menu-nav-link:hover,
.elementskit-navbar-nav .ekit-menu-nav-link.active {
  color: var(--iccs-purple) !important;
  background: rgba(90, 74, 245, 0.08);
}

/* —— Main layout —— */
#wrapper,
#page,
#main {
  width: 100%;
}

#main > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.content-area {
  padding: 0;
}

.consulting_elementor_wrapper .entry-content {
  margin: 0;
}

/* Elementor grid */
.elementor-section {
  padding: 48px 0;
}

.elementor-section.elementor-top-section:first-of-type {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-container {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--iccs-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.elementor-column {
  position: relative;
  min-height: 1px;
}

.elementor-col-100 {
  width: 100%;
  flex: 0 0 100%;
}

.elementor-col-50 {
  width: 50%;
  flex: 0 0 50%;
}

.elementor-col-33 {
  width: 33.333%;
  flex: 0 0 33.333%;
}

.elementor-col-25 {
  width: 25%;
  flex: 0 0 25%;
}

.elementor-widget-wrap {
  width: 100%;
}

.elementor-widget {
  margin-bottom: 20px;
}

.elementor-heading-title {
  color: var(--iccs-indigo);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}

h2.elementor-heading-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h3.elementor-heading-title {
  font-size: 1.35rem;
}

h5.elementor-heading-title {
  font-size: 1.05rem;
}

.elementor-button,
.rev-btn,
a.rev-btn {
  display: inline-block;
  background: var(--iccs-purple) !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 3px;
  border: none;
}

.elementor-button:hover,
.rev-btn:hover {
  background: #262626 !important;
  color: #fff !important;
}

/* —— Homepage hero carousel —— */
.iccs-hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: #dfe6f0;
}

.iccs-hero__track {
  position: relative;
  min-height: clamp(380px, 52vw, 560px);
}

.iccs-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
  background-image: var(--iccs-hero-bg);
  background-size: cover;
  background-position: center center;
}

.iccs-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.iccs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(255, 255, 255, 0.15) 100%);
}

.iccs-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--iccs-container);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 24px clamp(56px, 10vw, 110px);
  max-width: 560px;
  margin-left: max(24px, calc((100vw - var(--iccs-container)) / 2 + 24px));
}

.iccs-hero__title {
  margin: 0 0 20px;
  color: var(--iccs-indigo);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.iccs-hero__title--badge {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(4, 1, 88, 0.72);
  color: #fff;
}

.iccs-hero__text {
  margin: 0 0 28px;
  color: #00070c;
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  font-weight: 700;
  line-height: 1.45;
  max-width: 440px;
}

.iccs-hero__btn {
  display: inline-block;
  background: var(--iccs-purple);
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: 3px;
}

.iccs-hero__btn:hover {
  background: #262626;
  color: #fff !important;
}

.iccs-hero__nav {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.iccs-hero__nav button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(4, 1, 88, 0.25);
  cursor: pointer;
}

.iccs-hero__nav button.is-active {
  background: var(--iccs-purple);
  transform: scale(1.15);
}

rs-module-wrap,
#rev_slider_5_1_wrapper {
  display: none !important;
}

/* —— Cards / services —— */
.elementor-image-box-wrapper,
.elementor-widget-image-box {
  text-align: center;
}

.elementor-image-box-img img {
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(2, 13, 103, 0.08);
}

/* —— Team —— */
.elementor-widget-image img {
  border-radius: 4px;
}

/* —— Footer —— */
footer,
.elementor-location-footer,
#footer,
.site-footer {
  background: #1a1a1a !important;
  color: #ccc !important;
  padding: 40px 0 24px;
}

footer a,
.elementor-location-footer a {
  color: #ccc !important;
}

footer a:hover {
  color: var(--iccs-blue) !important;
}

/* —— Utilities —— */
.bhf-hidden,
.main-title.bhf-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.text-center {
  text-align: center;
}

/* —— Mobile —— */
@media (max-width: 1100px) {
  .elementskit-navbar-nav .ekit-menu-nav-link {
    font-size: 11px;
    padding: 8px 7px;
  }
}

@media (max-width: 1024px) {
  #masthead .elementor-container {
    flex-wrap: wrap;
  }

  #masthead .elementor-element-69b3261a {
    width: 100%;
    justify-content: flex-start;
  }

  .ekit-wid-con .elementskit-menu-hamburger {
    display: inline-block;
    margin-bottom: 8px;
  }

  .elementskit-menu-container {
    display: none;
    width: 100% !important;
    background: #fff !important;
    padding: 12px !important;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  .elementskit-menu-container.ekit-nav-menu-open {
    display: block !important;
  }

  .elementskit-navbar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .elementor-col-50,
  .elementor-col-33,
  .elementor-col-25 {
    width: 100%;
    flex: 0 0 100%;
  }

  .iccs-hero__content {
    margin-left: 0;
    max-width: none;
    padding: 40px 20px 64px;
  }

  .iccs-hero__track {
    min-height: 420px;
  }
}
