body, html {
    overflow-x: hidden !important;
    font-family: "Roboto", sans-serif;
}


.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #687cfe !important;
    --bs-btn-border-color: #687cfe !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #687cfe !important;
    --bs-btn-hover-border-color: #687cfe !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #687cfe !important;
    --bs-btn-active-border-color: #4454b8 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #687cfe !important;
    --bs-btn-disabled-border-color: #687cfe !important;
}
.nav-link.active-nav {
    color: #3cd188 !important;   /* Green color */
    font-weight: 700;
}

.hero-slide {
    position: relative;
}

.hero-img {
    height: 600px;
    object-fit: cover;
}

/* Transparent dark overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* Left aligned text content */
.hero-content {
    position: absolute;
    left: 10%;
    bottom: 20%;
    z-index: 2;
    max-width: 600px;
    text-align: left !important;
}

/* Buttons in one single row */
.hero-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.material-icons {
    font-size: 34px !important;
}
.flip-card {
    perspective: 1000px;
    height: 230px;          /* FIXED HEIGHT */
    position: relative;      /* Prevent layout shift */
}

.flip-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;      /* Stays on same layer */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;           /* EXACT same height */
    border-radius: 18px;
    backface-visibility: hidden;
    overflow: hidden;       /* Prevents stretching */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.problem-section {
  background: #f9fafb;
}

/* BOXES */
.problem-box {
  background: #fff5f5;
  border: 1px solid #ffe3e3;
}

.solution-box {
  background: #f3fff6;
  border: 1px solid #d4f5dd;
}

/* ICON STYLE */
.icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 16px;
  flex-shrink: 0;
}

/* VERTICAL DIVIDER */
.divider {
  position: absolute;
  left: 50%;
  top: 10%;
  width: 2px;
  height: 80%;
  background: linear-gradient(to bottom, #ffcccc, #ccffdd);
  transform: translateX(-50%);
}
.feature-card {
  transition: all 0.3s ease;
  border: 1px solid #f1f1f1;
  background-color: #fff;
}

.addon-card {
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.addon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto;
}

.step-card {
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-card h5 {
  margin-top: 10px;
}

@media (min-width: 768px) {
  #how-to-connect .row::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: #e0e0e0;
    z-index: -1;
  }
}
.nav-pills .nav-link.active {
  background-color: #687cfe;
}

.nav-pills .nav-link {
  border-radius: 30px;
  padding: 8px 20px;
}

/* FRONT */
.flip-front {
    background-size: cover;
    background-position: center;
    position: relative;
}

.flip-front h4 {
    z-index: 2;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
}

.overlay {
    position: absolute;
    inset: 0;
    /* border-radius: 18px; */
    background: rgba(0, 0, 0, 0.4);
}

/* BACK */
.flip-back {
    transform: rotateY(180deg);
    background: #687cfe;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.card-W{
    height: 275px;
    border: 1px solid #cccccc;
    border-radius: 8px;
}
.w-center {
    
    width: 80%;
    margin: auto;
    
}
.icon-lg {
    font-size: 42px;
    margin-bottom: 10px;
}
.material-icons-outlined {
    font-size: 34px !important;
}

.demo-section-full {
    position: relative;
    width: 100%;
    height: 300px;               /* FIXED HEIGHT */
    background-image: url('./images/demo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;                  /* Remove extra padding */
    margin: 0;
}

/* Center content vertically */
.demo-section-full .content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
}

/* Dark overlay */
.demo-section-full .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* White border premium button */
.btn-outline-light {
    padding: 12px 30px;
    font-size: 18px;
    border-width: 2px;
    transition: 0.3s;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #000000;
}
.modules-section {
    background: #f5f5f5;   /* Light grey */
    width: 100%;
    padding: 60px 0;
}

/* ===================== CONTACT BANNER ===================== */
.contact-banner {
    position: relative;
    width: 100%;
    height: 200px;
    background-image: url('./images/contact.jpg');
    background-size: cover;
    background-position: center;
}

.contact-banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.contact-banner .banner-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

/* ===================== FULL WIDTH 3 COLUMN ===================== */
.contact-fullwidth {
    width: 100%;
    padding: 0;
    margin-top: 0 !important; /* Attach directly to banner */
}

/* ===================== ICONS ===================== */


/* ===================== FORM BACKGROUND ===================== */
.form-bg {
    background: #f1f1f1;
}

/* Form inputs */
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
}
iframe, img {
    max-width: 100% !important;
    display: block;
}
