/*-----------------------------------------------------------------
  Sigu Solutions - Brand & Theme Stylesheet
  Colors & Design extracted from official brand kit
-------------------------------------------------------------------*/

:root {
  --body: #ffffff;
  --black: #0c0824;
  --white: #ffffff;
  --theme: #282078;         /* Sigu Primary Royal Indigo */
  --theme-dark: #1b1459;
  --theme-light: #3a2fa8;
  --theme2: #6b46ef;        /* Sigu Electric Tech Violet */
  --theme2-hover: #5733d8;
  --sigu-cyan: #38bdf8;
  --sigu-gold: #fbbf24;
  --sigu-cream: #fffdf5;
  --header: #130d36;        /* Deep Navy Midnight */
  --text: #4b4b5c;
  --text-muted: #747385;
  --border: #e6e5f0;
  --bg: #f8f7fd;
  --box-shadow: 0px 10px 30px rgba(40, 32, 120, 0.08);
  --box-shadow-hover: 0px 15px 40px rgba(40, 32, 120, 0.16);
}

/* Scroll Offset for Sticky Header */
html {
  scroll-behavior: smooth;
}

section[id], div[id] {
  scroll-margin-top: 100px;
}

/* Base Typography */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background-color: var(--body);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--header);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* =========================================
   LOGO HIGHLIGHTING & DISPLAY
   ========================================= */
.header-main .logo {
  display: flex;
  align-items: center;
  padding: 6px 0;
}

.header-logo-sigu {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(40, 32, 120, 0.14));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.header-logo-sigu:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 14px rgba(40, 32, 120, 0.24));
}

.footer-logo-sigu {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(107, 70, 239, 0.4));
  transition: transform 0.3s ease;
}
.footer-logo-sigu:hover {
  transform: scale(1.03);
}

.offcanvas-logo-sigu {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Preloader Logo Icon */
.preloader-brand-icon {
  height: 68px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 16px rgba(107, 70, 239, 0.35));
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.06); opacity: 1; }
}

/* Buttons with high contrast */
.main-button a .theme-btn,
.main-button a .arrow-btn,
.theme-btn {
  background-color: var(--theme) !important;
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.main-button a:hover .theme-btn,
.main-button a:hover .arrow-btn,
.theme-btn:hover {
  background-color: var(--theme2) !important;
  color: #ffffff !important;
}

.header-1 .header-right .main-button .theme-btn,
.header-1 .header-right .main-button .arrow-btn {
  background-color: var(--theme2) !important;
  color: #ffffff !important;
}

.header-1 .header-right .main-button:hover .theme-btn,
.header-1 .header-right .main-button:hover .arrow-btn {
  background-color: var(--theme) !important;
  color: #ffffff !important;
}

/* Minimalist Secondary Button */
.minimal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  color: var(--header);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(40, 32, 120, 0.15);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  text-decoration: none;
}
.minimal-btn:hover {
  background: #ffffff;
  color: var(--theme2);
  border-color: var(--theme2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107, 70, 239, 0.15);
}

/* Preloader S-I-G-U */
.animation-preloader .txt-loading .letters-loading {
  color: rgba(40, 32, 120, 0.2);
}
.animation-preloader .txt-loading .letters-loading::before {
  color: var(--theme);
}
.animation-preloader .spinner {
  border-top-color: var(--theme) !important;
}

/* Navigation Menu */
.header-main .main-menu ul li a {
  font-weight: 600;
  color: var(--header);
  transition: color 0.3s ease;
}
.header-main .main-menu ul li a:hover,
.header-main .main-menu ul li.active > a {
  color: var(--theme2) !important;
}

/* =========================================
   MINIMALIST HERO SECTION
   ========================================= */
.hero-minimalist {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(180deg, #f3f1fc 0%, #fbfaff 60%, #ffffff 100%);
  overflow: hidden;
}

.hero-minimalist::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 70, 239, 0.12) 0%, rgba(107, 70, 239, 0) 70%);
  pointer-events: none;
}

.hero-minimalist::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0) 70%);
  pointer-events: none;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--theme);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border: 1px solid rgba(40, 32, 120, 0.12);
  box-shadow: 0 4px 15px rgba(40, 32, 120, 0.05);
  margin-bottom: 24px;
}

.hero-badge-pill i {
  color: var(--theme2);
}

.hero-heading-clean {
  font-size: 56px;
  line-height: 1.15;
  color: var(--header);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}

@media (max-width: 991px) {
  .hero-heading-clean {
    font-size: 38px;
    line-height: 1.25;
  }
}

.hero-subtext-clean {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 34px;
}

/* Minimalist Stat Strip */
.hero-stat-strip {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid rgba(40, 32, 120, 0.1);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--theme);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Hero Right Visual Wrapper */
.hero-visual-card {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.hero-visual-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(19, 13, 54, 0.22);
  transition: transform 0.4s ease;
}

.hero-visual-card:hover .hero-visual-img {
  transform: translateY(-4px);
}

/* Minimal Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: 0 12px 30px rgba(19, 13, 54, 0.12);
  border: 1px solid rgba(40, 32, 120, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.floating-badge.badge-top {
  top: -15px;
  right: -15px;
}

.floating-badge.badge-bottom {
  bottom: 25px;
  left: -20px;
}

@media (max-width: 767px) {
  .floating-badge {
    position: static;
    margin-top: 15px;
  }
}

.badge-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.badge-icon-box.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge-icon-box.gold {
  background: rgba(251, 191, 36, 0.15);
  color: #f59e0b;
}

/* =========================================
   S.I.G.U. FRAMEWORK PILLARS
   ========================================= */
.sigu-framework-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  padding: 100px 0;
}

.sigu-pillar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 28px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--box-shadow);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.sigu-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--theme);
  transition: height 0.3s ease;
}

.sigu-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(107, 70, 239, 0.3);
}

.sigu-pillar-card:hover::before {
  height: 8px;
  background: linear-gradient(90deg, var(--theme) 0%, var(--theme2) 100%);
}

.sigu-pillar-badge {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.sigu-pillar-card:hover .sigu-pillar-badge {
  background: var(--theme);
  color: #ffffff !important;
}

.sigu-pillar-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--header);
}

.sigu-pillar-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* =========================================
   CLEAN VERTICAL SERVICE CARDS
   ========================================= */
.sigu-service-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 28px;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(40, 32, 120, 0.05);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.sigu-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--theme2);
  box-shadow: 0 16px 40px rgba(107, 70, 239, 0.15);
}

.sigu-service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(107, 70, 239, 0.08);
  color: var(--theme2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.sigu-service-card:hover .sigu-service-icon-box {
  background: var(--theme);
  color: #ffffff;
  transform: scale(1.08);
}

.sigu-service-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--header);
  margin-bottom: 12px;
}

.sigu-service-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sigu-service-title a:hover {
  color: var(--theme2);
}

.sigu-service-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.sigu-service-link {
  color: var(--theme2);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.sigu-service-link:hover {
  gap: 10px;
  color: var(--theme);
}

/* =========================================
   ROBUST COUNTER SECTION (FIXED BUG)
   ========================================= */
/* Disable buggy template pseudo-elements that created blank gaps */
.cta-counter-section::before,
.cta-counter-section::after {
  display: none !important;
  content: none !important;
}

.sigu-counter-section {
  position: relative;
  background: linear-gradient(135deg, #130c38 0%, #1e1654 50%, #282078 100%);
  padding: 85px 0;
  overflow: hidden;
}

.sigu-counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(107, 70, 239, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.sigu-counter-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 20px;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.sigu-counter-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107, 70, 239, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.sigu-counter-val {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.sigu-counter-val .accent-mark {
  color: #fbbf24;
  font-size: 34px;
  font-weight: 800;
}

.sigu-counter-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #cbd5e1;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Marquee Styling */
.scrolling-wrap .cmn-textslide {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
}

/* Contact Cards */
.contact-info-items {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}
.contact-info-items:hover {
  border-color: var(--theme2);
  transform: translateY(-6px);
}
.contact-info-items .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--theme);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}
.contact-info-items:hover .icon {
  background: var(--theme);
  color: #ffffff;
}

/* Form Polish & Alignment Override */
.sigu-form-label {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--header);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.contact-wrapper-2 .contact-content .contact-form-items .form-clt input,
.contact-form-items .form-clt input {
  height: 56px !important;
  line-height: 54px !important;
  padding: 0 20px !important;
  border: 1.5px solid #d4dced !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  color: var(--header) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.contact-wrapper-2 .contact-content .contact-form-items .form-clt textarea,
.contact-form-items .form-clt textarea {
  min-height: 130px !important;
  padding: 16px 20px !important;
  line-height: 1.6 !important;
  border: 1.5px solid #d4dced !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  color: var(--header) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  resize: vertical !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Hide native select so Nice Select is the sole styled dropdown */
.contact-form-items select {
  display: none !important;
}

/* Service Dropdown & Nice Select Alignment */
.contact-wrapper-2 .contact-content .contact-form-items .form-clt .nice-select,
.contact-form-items .form-clt .nice-select {
  height: 56px !important;
  line-height: 54px !important;
  padding: 0 20px !important;
  border: 1.5px solid #d4dced !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  color: var(--header) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.contact-form-items .form-clt input:hover,
.contact-form-items .form-clt textarea:hover,
.contact-form-items .form-clt .nice-select:hover {
  border-color: var(--theme2) !important;
}

.contact-form-items .form-clt input:focus,
.contact-form-items .form-clt textarea:focus,
.contact-form-items .form-clt .nice-select:focus,
.contact-form-items .form-clt .nice-select.open {
  outline: none !important;
  border-color: var(--theme2) !important;
  box-shadow: 0 0 0 4px rgba(107, 70, 239, 0.12) !important;
  background-color: #ffffff !important;
}

/* Nice Select Internal Elements */
.contact-form-items .form-clt .nice-select .current {
  display: block !important;
  line-height: 54px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--header) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  margin-right: 25px !important;
}

.contact-form-items .form-clt .nice-select:after {
  content: '' !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  border-bottom: 2px solid var(--theme) !important;
  border-right: 2px solid var(--theme) !important;
  border-top: none !important;
  border-left: none !important;
  position: absolute !important;
  right: 22px !important;
  top: 50% !important;
  margin-top: -6px !important;
  transform: rotate(45deg) !important;
  transform-origin: 66% 66% !important;
  transition: all 0.2s ease-in-out !important;
  pointer-events: none !important;
}

.contact-form-items .form-clt .nice-select.open:after {
  transform: rotate(-135deg) !important;
}

.contact-form-items .form-clt .nice-select .list {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #ffffff !important;
  border: 1px solid #d4dced !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(21, 13, 58, 0.12) !important;
  margin-top: 8px !important;
  padding: 6px 0 !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
}

.contact-form-items .form-clt .nice-select .option {
  line-height: 44px !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  font-size: 14.5px !important;
  color: var(--header) !important;
  background-color: transparent !important;
  border: none !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}

.contact-form-items .form-clt .nice-select .option:hover,
.contact-form-items .form-clt .nice-select .option.focus {
  background-color: rgba(107, 70, 239, 0.08) !important;
  color: var(--theme2) !important;
  font-weight: 600 !important;
}

.contact-form-items .form-clt .nice-select .option.selected {
  background-color: rgba(107, 70, 239, 0.12) !important;
  color: var(--theme) !important;
  font-weight: 700 !important;
}

/* Footer Polish */
.footer-section {
  background-color: var(--header);
}
.footer-widgets .footer-content p {
  color: #a4a3b8;
}
.footer-widgets .contact-list li a,
.footer-widgets .footer-link-list li a {
  color: #d1d0e0;
  transition: color 0.3s ease;
}
.footer-widgets .contact-list li a:hover,
.footer-widgets .footer-link-list li a:hover {
  color: var(--theme2) !important;
}
