html {
  scroll-behavior: smooth;
}

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

section, .hero-section {
  scroll-margin-top: 85px;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: .5s;
  /* z-index: 2200; */
  border-bottom: 1px solid #EEEEEE;
}

.navbar .nav-link {
  margin-right: 30px;
  padding: 18px 0;
  color: #000;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}

/* FIXED ACTIVE */
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #155dfc !important;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

/* Mobile */
@media (max-width: 991px) {
  .navbar .nav-link {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 122%;
    opacity: 0;
    visibility: hidden;
    border: 1px solid #EEEEEE;
    transition: .5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 122%;
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }

  .navbar .dropdown-item:hover {
    background-color: #155dfc;
    color: #fff !important;
  }
}


/* Offcanvas theme */
.offcanvas {
  background-color: #0b2239;
  width: 70% !important;

}

.offcanvas .nav-link {
  color: #fff;
}

.offcanvas .nav-link:hover {
  color: #e0b139;
}

.btn-close {
  filter: invert(1);
}

.offcanvas-header h5 {
  color: #fff;
  font-weight: 600;
}

.offcanvas-body {
  padding: 20px;
}

.btnmenu {
  background-color: #155dfc;
  color: #fff !important;
  border: none;
  font-size: 18px;
  padding: 8px 12px;

}


.bg-theme {
  background-color: #155dfc;
}

.mainbtn {
  background: linear-gradient(135deg, #155dfc, #0c4bd4);
  color: #fff !important;
  padding: 10px 30px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.4s ease;
  /* box-shadow: 0 4px 15px rgba(1, 42, 111, 0.4); */
  position: relative;
  overflow: hidden;
}

/* Shine Effect */
.mainbtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-25deg);
  transition: 0.5s;
}

/* Hover
.mainbtn:hover {
  background: linear-gradient(135deg, #e0b139, #f5d76e);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 177, 57, 0.5);
}
.mainbtn:hover::before {
  left: 125%;
} */

/* Hero Section 3.0 Redesign */
.hero-section {
  background: #fafcff;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

/* Engineering Grid Background */
.hero-grid-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(rgba(21, 93, 252, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(21, 93, 252, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  z-index: 0;
}

/* Gradients */
.text-gradient {
  background: linear-gradient(135deg, #155dfc 0%, #c73d59 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-dark-blue { color: #0b2239; }
.fw-extrabold { font-weight: 800; }

.btn-gradient {
  background: linear-gradient(135deg, #155dfc 0%, #c73d59 100%);
  color: white !important;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-gradient::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #c73d59 0%, #155dfc 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-gradient:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(21,93,252,0.3) !important; }
.btn-gradient:hover::after { opacity: 1; }

.play-btn-circle {
  width: 55px; height: 55px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-btn-wrapper:hover .play-btn-circle {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(21, 93, 252, 0.2);
}

/* --- 3D ISOMETRIC CONTAINER --- */
.perspective-container {
  perspective: 1500px;
  transform-style: preserve-3d;
  padding: 40px 20px;
}



/* 3D Floating Glass Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 15px 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.stat-1 {
  position: absolute;
  bottom: 5%;
  left: -5%;
  transform: translateZ(80px);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.stat-2 {
  position: absolute;
  top: 5%;
  right: -5%;
  transform: translateZ(50px);
  z-index: 10;
  animation: float-reverse 7s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateZ(80px) translateY(0px); }
  50% { transform: translateZ(80px) translateY(-15px); }
  100% { transform: translateZ(80px) translateY(0px); }
}

@keyframes float-reverse {
  0% { transform: translateZ(50px) translateY(0px); }
  50% { transform: translateZ(50px) translateY(15px); }
  100% { transform: translateZ(50px) translateY(0px); }
}

.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }
.min-vh-75 { min-height: 75vh; }

.min-vh-75 {
  min-height: 75vh;
}

/* How It Works Timeline */
.timeline-steps {
  position: relative;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  font-size: 20px;
}

.timeline-line {
  position: absolute;
  top: 50px;
  left: 24px;
  width: 2px;
  height: calc(100% - 30px);
  background-color: #155dfc;
  z-index: 0;
}

/* Pricing Section */
.bg-dark-blue {
  background-color: #1b2845;
}

.btn-dark-blue {
  background-color: #1b2845;
  color: #fff !important;
  border: 1px solid #1b2845;
  transition: all 0.3s ease;
}

.btn-dark-blue:hover {
  background-color: #fff;
  color: #1b2845 !important;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.scale-up {
  transform: scale(1.05);
  z-index: 2;
}

@media (max-width: 991px) {
  .scale-up {
    transform: scale(1);
    z-index: 1;
  }
}

/* Feature Cards Section */
.feature-card {
  background-color: #ffffff;
}

.feature-card-bg {
  background: linear-gradient(135deg, #155dfc 0%, #0dcaf0 100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.feature-icon {
  background-color: #f0f6ff;
  color: #155dfc;
  transition: all 0.4s ease;
}

/* Hover Effects */
.feature-card:hover {
  transform: translateY(-10px);
  border-color: transparent !important;
  box-shadow: 0 20px 40px rgba(21, 93, 252, 0.15) !important;
}

.feature-card:hover .feature-card-bg {
  opacity: 1;
}

.feature-card:hover h5, 
.feature-card:hover p {
  color: #ffffff !important;
}

.feature-card:hover .feature-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.1);
}

.transition-all {
  transition: all 0.4s ease;
}

/* Contact Section */
.contact-form-card .form-control:focus {
  background-color: #fff !important;
  border-color: #155dfc !important;
  box-shadow: 0 0 0 0.25rem rgba(21, 93, 252, 0.1);
}

.contact-icon-wrapper {
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.1);
}

/* Footer Section */
.footer-link {
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #155dfc !important;
}

/* Pricing Toggle Custom Styling */
.pricing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-switch .form-check-input {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2394a3b8'/%3e%3c/svg%3e");
  transition: background-color 0.3s, border-color 0.3s, background-position 0.3s;
}

.pricing-switch .form-check-input:checked {
  background-color: #155dfc;
  border-color: #155dfc;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.pricing-switch .form-check-input:focus {
  border-color: rgba(21, 93, 252, 0.25);
  box-shadow: 0 0 0 0.25rem rgba(21, 93, 252, 0.15);
}
