/* ==========================================================================
   INTELLEKT GENIE - ROBOTICS UI DARK THEME STYLES
   ========================================================================== */

:root {
  --robotics-bg-dark: #080b12;
  --robotics-bg-card: rgba(13, 21, 37, 0.85);
  --robotics-blue: #2563eb;
  --robotics-blue-light: #3b82f6;
  --robotics-cyan: #00d2ff;
  --robotics-text-white: #ffffff;
  --robotics-text-muted: #94a3b8;
  --robotics-text-dim: #64748b;
  --robotics-border: rgba(255, 255, 255, 0.08);
  --robotics-border-blue: rgba(59, 130, 246, 0.3);
  --robotics-glow: 0 0 25px rgba(37, 99, 235, 0.35);
}

/* Base Body Adjustments */
body {
  background-color: var(--robotics-bg-dark);
  color: #f1f5f9;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   NAVBAR COMPONENT
   ========================================================================== */
#navbar {
  background: rgba(8, 12, 20, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 0;
  transition: transform 0.32s ease, background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  will-change: transform;
}

/* Hide the global navigation while scrolling down; reveal it again while scrolling up.
   At the top of every page it always remains visible on initial entry. */
#navbar.robotics-navbar-hidden {
  transform: translateY(-110%);
}

#navbar.robotics-navbar-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  #navbar { transition: none; }
}

#navbar.scrolled {
  background: rgba(6, 9, 16, 0.96) !important;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 10px 0;
}

.robotics-navbar-brand img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

@media (max-width: 767.98px) {
  .robotics-navbar-brand img {
    height: 44px;
  }
}

.robotics-navbar-brand:hover img {
  transform: scale(1.02);
}

/* Nav Links */
.robotics-nav-item {
  position: relative;
  margin: 0 4px;
}

.robotics-nav-link {
  color: #cbd5e1 !important;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px !important;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.robotics-nav-link i {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.2s ease;
}

.robotics-nav-link:hover {
  color: #ffffff !important;
}

.robotics-nav-link:hover i {
  color: var(--robotics-blue-light);
  transform: translateY(2px);
}

/* Active Link Indicator */
.robotics-nav-link.active {
  color: #ffffff !important;
  font-weight: 600;
}

.robotics-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--robotics-blue-light);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--robotics-blue-light);
}

/* Contact Us Button in Navbar */
.robotics-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
}

.robotics-nav-btn i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.robotics-nav-btn:hover {
  background: var(--robotics-blue);
  border-color: var(--robotics-blue);
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.5);
}

.robotics-nav-btn:hover i {
  transform: translateX(4px);
}

/* Dropdown Menus */
.robotics-dropdown-menu {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  padding: 10px;
  min-width: 230px;
  animation: roboticsFadeIn 0.2s ease forwards;
}

@keyframes roboticsFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.robotics-dropdown-item {
  color: #cbd5e1;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none;
}

.robotics-dropdown-item:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #ffffff;
  padding-left: 18px;
}

.robotics-dropdown-item i {
  font-size: 11px;
  color: var(--robotics-blue-light);
  opacity: 0.7;
}

.robotics-dropdown-item:hover i {
  opacity: 1;
}

/* Navbar Toggler */
.robotics-toggler {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.robotics-toggler i {
  color: #ffffff;
  font-size: 20px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.robotics-hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 130px;
  padding-bottom: 0;
  background-color: var(--robotics-bg-dark);
  background-image: 
    linear-gradient(90deg, rgba(8, 12, 20, 0.96) 0%, rgba(8, 12, 20, 0.88) 42%, rgba(8, 12, 20, 0.25) 80%, rgba(8, 12, 20, 0.5) 100%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.7) 0%, transparent 20%, transparent 70%, rgba(8, 12, 20, 0.95) 100%),
    url('../image/new-images/robotics-hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Ambient Blue Floor Glow */
.robotics-hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero Content Area */
.robotics-hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
}

/* Badge Kicker */
.robotics-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.robotics-kicker-line {
  width: 32px;
  height: 2px;
  background: var(--robotics-blue-light);
  box-shadow: 0 0 8px var(--robotics-blue-light);
}

.robotics-kicker-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8;
}

/* Hero Headline */
.robotics-headline {
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.robotics-highlight {
  color: #3b82f6;
  text-shadow: 0 0 35px rgba(59, 130, 246, 0.45);
}

/* Hero Subtitle */
.robotics-subtext {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 530px;
  margin-bottom: 34px;
}

/* Hero Action Buttons */
.robotics-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.btn-robotics-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--robotics-blue);
  border: 1px solid var(--robotics-blue);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-robotics-primary i {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.btn-robotics-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
}

.btn-robotics-primary:hover i {
  transform: translateX(4px);
}

.btn-robotics-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 15, 26, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-robotics-outline i {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.btn-robotics-outline:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: var(--robotics-blue-light);
  color: #60a5fa;
}

.btn-robotics-outline:hover i {
  transform: translateX(4px);
}

/* Capability Badges (01, 02, 03) */
.robotics-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 40px;
}

.robotics-metric-item {
  display: flex;
  flex-direction: column;
}

.robotics-metric-num {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.robotics-metric-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.robotics-metric-desc {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
}

/* ==========================================================================
   BOTTOM CAPABILITIES BAR (5 DOCK ITEMS)
   ========================================================================== */
.robotics-dock-bar {
  background: rgba(6, 10, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  padding: 22px 0;
  position: relative;
  z-index: 10;
}

.robotics-dock-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  position: relative;
  transition: transform 0.2s ease;
}

.robotics-dock-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.robotics-dock-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--robotics-blue-light);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.robotics-dock-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--robotics-blue-light);
}

.robotics-dock-item:hover .robotics-dock-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.7));
}

.robotics-dock-text {
  display: flex;
  flex-direction: column;
}

.robotics-dock-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 2px;
}

.robotics-dock-subtitle {
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1199px) {
  .robotics-dock-item {
    padding: 6px 10px;
    gap: 12px;
  }
  .robotics-dock-title {
    font-size: 12px;
  }
  .robotics-dock-subtitle {
    font-size: 9.5px;
  }
}

@media (max-width: 991px) {
  #navbar {
    padding: 10px 0;
  }
  .robotics-hero-section {
    padding-top: 110px;
    background-position: 70% center;
  }
  .navbar-collapse {
    background: rgba(6, 9, 16, 0.98);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  }
  .robotics-nav-link.active::after {
    display: none;
  }
  .robotics-dock-item:not(:last-child)::after {
    display: none;
  }
  .robotics-dock-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 6px;
  }
}

@media (max-width: 767px) {
  .robotics-hero-section {
    padding-top: 100px;
    background-image: 
      linear-gradient(180deg, rgba(8, 12, 20, 0.92) 0%, rgba(8, 12, 20, 0.85) 60%, rgba(8, 12, 20, 0.96) 100%),
      url('../image/new-images/robotics-hero-bg.jpg');
  }
  .robotics-headline {
    font-size: 2.2rem;
  }
  .robotics-metrics-row {
    gap: 20px;
  }
  .btn-robotics-primary, .btn-robotics-outline {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   ROBOTICS WHY CHOOSE US SECTION
   ========================================================= */

.robotics-why-section {
    position: relative;
    padding: 110px 0;
    background: #f7f8fc;
    overflow: hidden;
}

.robotics-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}

.robotics-why-content {
    max-width: 620px;
}

.robotics-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.robotics-section-kicker-line {
    display: inline-block;
    width: 30px;
    height: 3px;
    background: #2563eb;
    border-radius: 10px;
}

.robotics-why-title {
    margin: 0;
    color: #000351;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.robotics-why-description {
    max-width: 570px;
    margin: 24px 0 0;
    color: #596579;
    font-size: 16px;
    line-height: 1.8;
}

.robotics-why-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    margin-top: 34px;
}

.robotics-why-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.robotics-why-feature-icon {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e8f0ff;
    color: #1769ff;
    font-size: 18px;
}

.robotics-why-feature h3 {
    margin: 2px 0 6px;
    color: #000351;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.robotics-why-feature p {
    margin: 0;
    color: #687386;
    font-size: 13px;
    line-height: 1.6;
}

.robotics-why-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    padding: 14px 22px;
    border-radius: 6px;
    background: #1769ff;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(23, 105, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.robotics-why-button:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(23, 105, 255, 0.28);
}

.robotics-why-visual {
    position: relative;
    width: 100%;
}

.robotics-why-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #dfe7f5;
    box-shadow: 0 24px 60px rgba(0, 3, 81, 0.12);
}

.robotics-why-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: inherit;
}

.robotics-why-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.15 / 1;
    object-fit: cover;
}

/* Tablet */
@media (max-width: 991px) {
    .robotics-why-section {
        padding: 80px 0;
    }

    .robotics-why-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .robotics-why-content {
        max-width: 760px;
        margin: 0 auto;
    }

    .robotics-why-visual {
        max-width: 760px;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .robotics-why-section {
        padding: 60px 0;
    }

    .robotics-why-title {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .robotics-why-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .robotics-why-features {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .robotics-why-image-frame {
        border-radius: 12px;
    }

    .robotics-why-button {
        margin-top: 30px;
    }
}


/* ==========================================================================
   HOMEPAGE FOOTER — ROBOTICS THEME
   Footer is rendered only on index.php.
   ========================================================================== */
#footer {
  background: var(--robotics-bg-dark, #080b12) !important;
  color: var(--robotics-text-muted, #94a3b8);
  border-top: 1px solid rgba(59, 130, 246, 0.24);
  box-shadow: 0 -18px 45px rgba(0, 0, 0, 0.28);
}

#footer h3,
#footer h4 {
  color: #ffffff !important;
}

#footer p,
#footer .text-light {
  color: #cbd5e1 !important;
}

#footer .qiuck-links,
#footer .contact-links {
  color: #cbd5e1 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

#footer .qiuck-links:hover,
#footer .contact-links:hover {
  color: var(--robotics-blue-light, #3b82f6) !important;
}

#footer .qiuck-links i,
#footer .contact-links i {
  color: var(--robotics-blue-light, #3b82f6) !important;
}

#footer .sigma-footer-bottom {
  border-top-color: rgba(59, 130, 246, 0.18);
}

#footer .text-primary {
  color: var(--robotics-blue-light, #3b82f6) !important;
}

#footer iframe {
  border: 1px solid rgba(59, 130, 246, 0.28) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 767px) {
  #footer {
    text-align: left;
  }

  #footer .sigma-footer-bottom {
    gap: 8px;
  }
}
