/* ==========================================================================
   Global Infotech Communiication - Neat & Elegant Minimalist Theme
   ========================================================================== */

:root {
  /* Color Palette - white & brand blue */
  --bg-main: #ffffff;
  --bg-surface: #eef7fd;
  --bg-card: #ffffff;
  --bg-card-hover: #f7fcff;
  --border-subtle: rgba(4, 74, 106, 0.12);
  --border-glow: rgba(0, 174, 239, 0.45);

  --text-primary: #082837;
  --text-secondary: #4c6472;
  --text-muted: #7b909c;

  --accent-cyan: #0077b6;
  --accent-cyan-light: #00aeef;
  --accent-cyan-deep: #005f8f;
  --accent-blue: #2563eb;
  --accent-emerald: #10b981;
  
  --gradient-brand: linear-gradient(135deg, #00aeef 0%, #0077b6 100%);
  --gradient-accent-soft: linear-gradient(135deg, rgba(0, 174, 239, 0.1) 0%, rgba(0, 119, 182, 0.12) 100%);
  --glow-cyan: 0 8px 24px rgba(0, 119, 182, 0.22);
  --shadow-card: 0 10px 30px rgba(8, 40, 55, 0.08);
  --shadow-card-hover: 0 16px 38px rgba(8, 40, 55, 0.14);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Subtle background illumination dots */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.07) 0%, rgba(0, 119, 182, 0.04) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Section Padding */
.section-padding {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #0088c7 0%, #005f8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--accent-cyan) !important;
}

/* Theme utility helpers (replace Bootstrap dark-mode text/border utilities) */
.text-theme {
  color: var(--text-primary) !important;
}

.text-theme-muted {
  color: var(--text-secondary) !important;
}

.border-theme-subtle {
  border-color: var(--border-subtle) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.site-navbar {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.site-navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 22px rgba(8, 40, 55, 0.08);
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 0 16px rgba(0, 174, 239, 0.45);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.brand-logo-img:hover {
  transform: rotate(15deg) scale(1.08);
  box-shadow: 0 0 25px rgba(0, 174, 239, 0.7);
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 0 10px rgba(0, 174, 239, 0.35);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 8px 14px;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-cyan);
}

/* Navbar CTA Button */
.btn-action-glow {
  background: var(--gradient-accent-soft);
  border: 1px solid rgba(0, 174, 239, 0.35);
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-action-glow:hover {
  background: var(--accent-cyan);
  color: var(--bg-main);
  box-shadow: var(--glow-cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 110px 0 80px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.25);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.18rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.btn-primary-custom {
  background: var(--gradient-brand);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--glow-cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 174, 239, 0.45);
  color: #ffffff;
}

.btn-outline-custom {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  background: rgba(0, 174, 239, 0.07);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* Metrics Bar */
.metrics-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 26px 36px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.metric-item {
  text-align: center;
  flex: 1;
  min-width: 140px;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ==========================================================================
   Services Section (Clean Box Design)
   ========================================================================== */
.services-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
}

.service-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
}

.service-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: var(--transition-smooth);
}

.cctv-accent {
  background: rgba(0, 174, 239, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.network-accent {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.computer-accent {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.service-box:hover .service-icon-wrap {
  transform: scale(1.08);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.service-checklist li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-checklist li i {
  color: var(--accent-cyan);
  font-size: 1.05rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--accent-cyan-light);
  gap: 10px;
}

/* ==========================================================================
   About Section & Commitments
   ========================================================================== */
.highlight-pill {
  background: #f8fcff;
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.stat-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.commitment-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.2);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Why Choose Us & Process Sections
   ========================================================================== */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 174, 239, 0.1);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Process Steps */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.step-card:hover {
  border-color: rgba(0, 174, 239, 0.3);
  transform: translateY(-4px);
}

.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--glow-cyan);
}

.step-title {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Shared helpers for solution content blocks
   ========================================================================== */
.capability-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.capability-title {
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 0;
}

.capability-media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.capability-media img:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 26px rgba(8, 40, 55, 0.18);
}

/* ==========================================================================
   Service Detail Modal (click a solution card)
   ========================================================================== */
.service-box--clickable {
  cursor: pointer;
}

.service-box--clickable:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.service-detail-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.service-box--clickable:hover .service-detail-hint {
  color: var(--accent-cyan);
}

.service-detail-modal .modal-content {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  box-shadow: 0 30px 70px rgba(8, 40, 55, 0.18);
}

.service-detail-modal .modal-header,
.service-detail-modal .modal-footer {
  border-color: var(--border-subtle);
  padding: 20px 24px;
}

.service-detail-modal .modal-body {
  padding: 24px;
}

.service-detail-modal .modal-footer {
  justify-content: flex-end;
}

.detail-section + .detail-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.detail-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.detail-text {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-sidebar-card {
  background: linear-gradient(135deg, #ffffff 0%, #f1f9fe 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.sidebar-title {
  font-size: 1.6rem;
}

.contact-entry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.entry-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 174, 239, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.entry-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.entry-value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.entry-value:hover {
  color: var(--accent-cyan);
}

.entry-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-whatsapp-direct {
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-whatsapp-direct:hover {
  background: #1eb857;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

/* Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  background-color: #ffffff;
  border: 1px solid rgba(4, 74, 106, 0.18);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus,
.form-select:focus {
  background-color: #ffffff;
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.18);
  outline: none;
}

.form-select option {
  background: #ffffff;
  color: var(--text-primary);
}

/* Validation Feedback */
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #ef4444;
}

.invalid-feedback {
  color: #f87171;
  font-size: 0.78rem;
}

/* Button Loading State */
.btn-submitting {
  pointer-events: none;
  opacity: 0.85;
}

/* ==========================================================================
   Toasts Notification
   ========================================================================== */
.toast-success,
.toast-error {
  position: fixed;
  top: 90px;
  right: 25px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 15px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  z-index: 9999;
  transform: translateX(120%);
  transition: var(--transition-smooth);
  box-shadow: 0 18px 40px rgba(8, 40, 55, 0.16);
  max-width: 400px;
  font-size: 0.9rem;
}

.toast-success {
  border: 1px solid var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.toast-error {
  border: 1px solid #ef4444;
  box-shadow: 0 4px 25px rgba(239, 68, 68, 0.35);
}

.toast-success.show,
.toast-error.show {
  transform: translateX(0);
}

.toast-success i {
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.toast-error i {
  color: #ef4444;
  font-size: 1.25rem;
}

/* ==========================================================================
   Floating Actions (WhatsApp & Back to Top)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top-btn {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-main);
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #eef7fd;
  border-top: 1px solid var(--border-subtle);
}

.footer-links a {
  color: var(--text-secondary);
  margin: 0 5px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-top: 12px;
    box-shadow: var(--shadow-card);
  }
  .metrics-grid {
    gap: 20px;
    padding: 20px;
  }
  .metric-divider {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 70px 0 50px;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .metric-item {
    min-width: 45%;
  }
  .capability-title {
    font-size: 1.2rem;
  }
  .capability-media {
    gap: 10px;
  }
  .service-detail-modal .modal-header,
  .service-detail-modal .modal-footer {
    padding: 16px 18px;
  }
  .service-detail-modal .modal-body {
    padding: 18px;
  }
}
