/*!
 * Start Bootstrap - Landing Page v5.0.5 (https://startbootstrap.com/template-overviews/landing-page)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-landing-page/blob/master/LICENSE)
 */
 html {
  scroll-behavior: smooth !important;
}

body {
  font-family: 'Source Sans Pro', 'Lato',-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif; 
  line-height: 1.6;
}

/* Mobile-only overflow fix */
@media (max-width: 767.98px) {
  body {
    overflow-x: hidden;
  }
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
  background-color: #015DB4 !important;
  border-color: #015DB4 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Source Sans Pro','Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
}

.voice-services-img {
  width: 96px;
  height: 96px;
}

.device-type-img {
  width: 45px;
  height: 45px;
}

header.masthead {
  position: relative;
  background-color: #343a40;
  background: url("../img/bg-masthead-2.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

header.masthead .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
}

header.masthead h1 {
  font-size: 2rem;
}

.steps__circle {
  float: left;
  font-family: 'Source Sans Pro','Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  border: 1px solid #9da3a6;
  border-radius: 50%;
  background-clip: padding-box;
  margin-right: 20px;
  width: 45px;
  height: 45px;
  line-height: 42px;
  text-align: center;
}
 

.steps__image-wrapper {
  display: block;
}
.steps__image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.steps__text {
  display: table-cell;
  vertical-align: middle;
  height: 45px;
  padding: 0;
  text-align: left;
}
 

@media (min-width: 768px) {
  header.masthead {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

.showcase .showcase-text {
  padding: 2rem;
}

.showcase .showcase-img-business-account {
  min-height: 30rem;
  background-size: cover;
  background-image: url('../img/bg-business-account.png');
}

.showcase .showcase-img-go-further {
  min-height: 30rem;
  background-size: cover;
  background-image: url('../img/bg-showcase-2.png');
}

.showcase .showcase-sinric {
  min-height: 30rem;
  background-repeat: no-repeat;
}

.showcase .custom-devices-bg {
    min-height: 36rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-image: url('../img/create-device-template.gif');
}
 
.showcase .automations-bg {
  min-height: 36rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-image: url('../img/automations.png');
}

.showcase .showcase-vdo {
    background-repeat: no-repeat;
}

.showcase .zerocode-demo-bg {
  min-height: 36rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-image: url('../img/zerocode-demo.gif');
}

.showcase .yaka-demo-bg {
  min-height: 36rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-image: url('../img/yaka.png');
}


.showcase .ota-bg {
  min-height: 36rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-image: url('../img/ota-updates.png');
}

.imgA1 {
  z-index: 1;
}
.imgB1 {
  z-index: 3;
}

@media (min-width: 768px) {
  .showcase .showcase-text {
    padding: 2rem;
  }
}

.features-icons {
  padding-top: 7rem;
  padding-bottom: 2rem;
}

.features-icons .features-icons-item {
  max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
  height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
  font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
  font-size: 5rem;
}

.testimonials {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.testimonials .testimonial-item {
  max-width: 18rem;
}

.testimonials .testimonial-item img {
  max-width: 12rem;
  -webkit-box-shadow: 0px 5px 5px 0px #adb5bd;
  box-shadow: 0px 5px 5px 0px #adb5bd;
}

.call-to-action {
  position: relative;
  background-color: #343a40;
  background: url("../img/bg-masthead-2.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.call-to-action .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
}

.irdevkit {
  position: relative;
  background-color: #343a40;
  background: url("../img/irdevkit.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.irdevkit .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
}

.teleport {
  position: relative;
  background-color: #343a40;
  background: url("../img/teleport.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.teleport .overlay {
  position: absolute;
  background-color: #212529;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
}

footer.footer {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.center-phone-img {
    display: block;
    margin: 0 auto;
}

.image-link1,.image-link2,.image-link3{
  cursor: pointer;
}

.image-link1:hover,.image-link2:hover,.image-link3:hover{
  color:#3399ff;
}

.alexa-skill-avail-languages {
  font-family: 'Source Sans Pro','Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
}

.small-subjects {
  font-family: 'Source Sans Pro','Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
}

.btn-link {
  color: #333;
  text-decoration: none;
}
.btn-link:hover {
  color: #007bff;
  text-decoration: none;
}
.card {
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0,0,0,.125);
}
.card-header {
  background-color: #f8f9fa;
  padding: 0.75rem 1.25rem;
}
.btn-block.text-left {
  text-align: left;
  position: relative;
  padding-right: 30px;
}
.btn-block.text-left:after {
  content: '\2212';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.btn-block.text-left.collapsed:after {
  content: '\002B';
}

.fa-check-circle {
  color: #467fcf;
}

.lh-2 {
  line-height: 2;
}

/* Mobile-Only Responsive Improvements */

/* Fix container and image overflow ONLY on mobile */
@media (max-width: 767.98px) {
  .container, .container-fluid {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Navigation: Keep desktop styles intact, only fix mobile */
@media (min-width: 768px) {
  /* Ensure desktop navigation stays as original */
  .navbar-toggler {
    display: none;
  }
  
  .navbar-collapse {
    display: flex !important;
  }
}

/* Mobile Navigation Improvements */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-brand img {
    width: 24px;
    height: 24px;
  }
  
  .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
  }
}

/* Mobile Header/Masthead Improvements - DO NOT affect desktop */
@media (max-width: 767.98px) {
  header.masthead {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 100vh;
  }
  
  header.masthead h1 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  header.masthead h5 {
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.5;
  }
}

/* Mobile Button Layout */
@media (max-width: 575.98px) {
  .masthead .row .col-sm-4 {
    margin-bottom: 1rem;
  }
  
  .masthead .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  .col-md-10.col-lg-8.col-xl-7.mx-auto .row {
    margin: 0;
  }
  
  .col-md-10.col-lg-8.col-xl-7.mx-auto .row [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Mobile Showcase Sections */
@media (max-width: 767.98px) {
  .showcase .showcase-text {
    padding: 1.5rem 1rem;
  }
  
  .showcase .showcase-img-business-account,
  .showcase .showcase-img-go-further,
  .showcase .custom-devices-bg,
  .showcase .automations-bg,
  .showcase .zerocode-demo-bg,
  .showcase .ota-bg {
    min-height: 20rem;
    margin-top: 2rem;
  }
  
  .features-icons {
    padding-top: 3rem;
    padding-bottom: 1rem;
  }
  
  .features-icons .features-icons-item {
    margin-bottom: 2rem;
  }
}

/* Mobile Typography */
@media (max-width: 767.98px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  h4 {
    font-size: 1.2rem;
  }
  
  h5 {
    font-size: 1.1rem;
  }
  
  h6 {
    font-size: 1rem;
  }
}

/* Mobile Image Fixes */
@media (max-width: 767.98px) {
  .voice-services-img {
    width: 64px;
    height: 64px;
  }
  
  .device-type-img {
    width: 35px;
    height: 35px;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Mobile Spacing and Padding */
@media (max-width: 767.98px) {
  .mb-5 {
    margin-bottom: 2rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Fix for horizontal scroll issues ONLY on mobile */
@media (max-width: 767.98px) {
  * {
    box-sizing: border-box;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Mobile viewport specific fixes */
@media (max-width: 480px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .masthead .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}