body {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    color: #333;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

.header {
  width: 100%;
  background: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #e6e6e6;
  font-family: "Outfit", sans-serif;

}

.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo img {
  height: 40px;
}

/* Navigation */
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  padding-bottom: 4px;
  transition: 0.3s;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.nav a.active {
  border-bottom: 2px solid #047BF8;
  color: #047BF8;
}

.nav a:hover {
  color: #047BF8;
  border-bottom: 2px solid #047BF8;
}

/* Buttons */
.actions {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 8px 18px;
  text-decoration: none;
  font-size: 15px;
  border-radius: 6px;
  transition: 0.3s;
}

.btn.login {
  border: 1px solid transparent;
  color: #333;
}

.btn.login:hover {
  background: #f2f2f2;
}

.btn.try {
    background-color: #0000;
    background-image: linear-gradient(#3d7fff, #4b5dff);
    border: 1px solid #3961d9;
    color: #fff;
}

.btn.try:hover {
    background-image: unset;
    background-color: #fff;
    border: 1px solid #0056AD;
    color: #0056AD;
}

.btn.try-2 {
    background-color: #fff;
    border: 1px solid #0056AD;
    color: #0056AD;
}

.btn.try-2:hover {
    background-color: #0000;
    background-image: linear-gradient(#3d7fff, #4b5dff);
    border: 1px solid #3961d9;
    color: #fff;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Responsive for mobile/tablet */
@media (max-width: 900px) {
  .nav,
  .actions {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }

  .nav.active,
  .actions.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .container {
    flex-wrap: wrap;
  }
}

/* Footer */

.qlarm-footer {
  background: #11171d;
  padding: 40px;
  color: #ffffff;
  font-family: "Nunito Sans", sans-serif;
}

/* Top section */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 45px;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.footer-nav a:hover,
.footer-nav a.active {
  border-bottom: 2px solid #44aaff; 
}

.footer-line {
  margin: 25px 0;
  border: none;
  border-top: 1px solid #555;
}

/* Bottom section */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.footer-right {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  min-height: 70px;
}

.follow-text {
    white-space: nowrap;
}

.linkedin-icon {
  width: 80px;
  height: 80px;
  position: absolute;
  left: -22px;
  top: 10px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

.bg-top-header {
    background-color: #F0F1F3;
    background-image:  url("../img/cover_image_1.png");
    background-size: initial;
    background-position: right;
    background-repeat: no-repeat;
    min-height: 400px;
}

/* Cards responsive */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  font-family: "Nunito Sans", sans-serif;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: 0.3s ease;
  align-items: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.card-icon {
  width: 55px;
  height: 55px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* ⭐ Tablet (2 columns) */
@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ⭐ Mobile (1 column) */
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 30px 20px;
  }
}

/* TAB BUTTONS */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 25px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 26px;
  padding-bottom: 6px;
  cursor: pointer;
  color: #444;
  border-bottom: 3px solid transparent;
  transition: 0.3s;
}

.tab-btn.active {
  color: #000;
  border-bottom: 3px solid #2a8cff; /* blue underline */
}

/* CONTENT */
.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tab-text {
  font-size: 18px;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto 30px auto;
  text-align: center;
}

.tab-image-box img {
  width: 100%;
  max-width: 550px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .tab-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .tab-btn {
    font-size: 20px;
  }
}

/* carousel-wrapper */

.carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: auto;
}

.carousel {
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .slide {
        grid-template-columns: 1fr !important; /* 1 card per row */
        gap: 15px;
    }
}



.carousel {
    width: 100%;
    overflow: hidden; /* shows only 2 cards */
    min-width: 100% !important;
}

.cards-row {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel .card {
    box-shadow: none;
    box-sizing: border-box;
    padding: 0;
    align-items: flex-start;
    border: unset;
}

.carousel .card-content {
    justify-content: flex-start;
    padding: 1rem;
    text-align: left;
    background-color: #EEEEEE;
    border-radius: 0 0 20px 20px;
    flex: 1;
}

.carousel .card-img {
    max-height: 300px;
    border-radius: 20px 20px 0 0;
}

.carousel .card-title {
    color: #0056AD;
    text-transform: capitalize;
}

@media (max-width: 768px) {
    .slide {
        grid-template-columns: 1fr !important; /* force 1 column */
        grid-template-rows: 1fr; /* single row */
        gap: 15px; /* optional smaller gap */
    }

    .carousel .card-img {
        max-height: 250px; /* adjust image size for mobile */
    }
}

/* Navigation arrows */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    /* font-size: 30px; */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.left {
    left: -40px;
}

.right {
    right: -40px;
}

/* Dots */
.dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
    min-height: 32px;
    align-items: center;
}

.mobile-dots { display: none; }
.desktop-dots { display: flex; }

@media (max-width: 768px) {
    .mobile-dots { display: flex; }
    .desktop-dots { display: none; }
}


.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
}

.dot.active {
    background: #333;
}

.light-blue-background {
    background-image: linear-gradient(#f1f5ff, #f1f5ff);
}

#image-homepage-cover {
    max-width: 100%;     
    height: auto;
    width: auto;
}

@media (max-width: 768px) {
    #image-homepage-cover {
        width: 80%;   /* scales down */
        right: 0;     /* adjust if needed */
        left: auto;   /* do not recentre */
        transform: none; /* no shifting */
    }
}

/* latest blog post section */

.latest-blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Tablet: 2 cards per row */
@media (max-width: 900px) {
    .latest-blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 card per row */
@media (max-width: 600px) {
    .latest-blog-posts {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.blog-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.blog-card-img.custom-image-size {
    object-fit: scale-down;
    padding: 1rem;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.blog-card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.45;
}

.blog-footer {
    background-color: #262C33;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 160px;
    gap: 40px;
    box-sizing: border-box;
}

.cta-content {
    max-width: 500px;
    color: #ffffff;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-description {
    margin-bottom: 24px;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    background: #1e6ffb;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: #0f56cf;
}

.cta-image-wrapper {
    max-width: 500px;
}

.cta-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .blog-footer {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
    }

    .cta-image-wrapper {
        max-width: 350px;
    }
}


#preloader {
    position: fixed;
    inset: 0;
    background-color: #0B0D26; /* solid background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-gif {
    width: 500px; /* adjust size as needed */
    height: auto;
}

/* HERO WRAPPER */
.hero-section {
    position: relative;
    min-height: 650px;
}

/* BACKGROUND VIDEO */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    max-height: 800px;
}

/* TEXT CONTENT */
.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 120px;
    padding-bottom: 80px;
    color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-content h1 {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* DEVICES IMAGE */
.hero-devices {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: center;
    padding-top: 80px;
}

.hero-devices-img {
    width: 100%;
    max-width: 900px;
    /* position: absolute;
    top: -120px; */
}

/* RESPONSIVE FIX */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-devices-img {
        max-width: 600px;
        bottom: -80px;
    }
}

.hero-product {
    background-image: url(../img/blog\ post\ 1.png);
    background-position: 50%;
    background-size: cover;
    width: auto;
    height: 1000px;
}

@media screen and (max-width: 479px) {
    .hero-product {
        background-image: url(../img/blog\ post\ 1.png);
        background-position: 50%;
        background-size: cover;
        width: 100%;
        max-width: 100%;
        height: 280px;
        display: block;
    }
}

.features-section {
    text-align: center;
    padding: 60px 20px;
}


.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    flex-direction: row;
    transition: transform 0.3s ease;
}


#featuresSlider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.features-title {
    margin-bottom: 20px;
}

/* TAB CONTENT - Always hidden unless active */
.ql-tab-content {
    display: none !important;
    opacity: 0;
    transition: opacity .3s ease;
}

.ql-tab-content img{
    max-height: 360px;
    max-width: 100%;
}

.ql-tab-content.ql-active {
    display: flex !important;
    opacity: 1;
    flex-direction: column;
    align-items: center;
}

.ql-tabs-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* BUTTONS */
.ql-tab-buttons {
    margin-bottom: 20px;
}

.ql-tab-btn {
    padding: 10px 18px;
    background: transparent;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    white-space: nowrap; 
    flex-shrink: 0;      

}

.ql-tab-btn.ql-active {
    background: #023E7D;
    color: #fff;
}

.ql-tab-buttons .grey-bg-wrapper {
    background-color: #EEEEEE;
    padding: 8px;
    border-radius: 30px;
    width: fit-content;
    margin: auto;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;

}

@media (max-width: 1024px) {
    .ql-tab-buttons {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ql-tab-buttons .grey-bg-wrapper {
        width: max-content;
        overflow-x: auto;
    }

    /* Hide scrollbar (optional) */
    .ql-tab-buttons::-webkit-scrollbar,
    .grey-bg-wrapper::-webkit-scrollbar {
        display: none;
    }
}
/* WRAPPER */
.howitworks-section {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* LEFT STICKY COLUMN */
.howitworks-left {
    width: 35%;
    position: sticky;
    top: 100px; /* when it sticks */
    height: max-content;
}

.howitworks-left .heading {
    font-size: 70px;
    font-weight: 800;
}

.howitworks-left h2 {
    font-size: 48px;
    font-weight: 700;
}

/* WRAPPER */
.howitworks-section {
    display: flex;
    align-items: stretch;      /* <-- ensures both columns stretch equally */
    gap: 0;
    min-height: 100vh;         /* <-- full viewport height so left bg covers */
}


/* LEFT TITLE */
.howitworks-left h2 {
    font-size: 48px;
    font-weight: 700;
    max-width: 70%;
}

/* RIGHT COLUMN */
.howitworks-right {
    width: 60%;
    padding: 120px 60px;
    gap: 100px;
}

/* ROOT WRAPPER */
.howitworks-wrapper {
    position: relative;
    display: flex;
}

/* LEFT SIDE */
.howitworks-left {
    position: sticky;
    top: 0;
    width: 50%;
    height: 100vh;     /* stays full screen while scrolling */
    display: flex;
    align-items: center;
    padding-left: 60px;
    z-index: 2;
    background-color: #0D0F28; 
    color: #fff;
}

/* FULL HEIGHT BACKGROUND LAYER */
.howitworks-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: #1e2a39; /* your color */
    z-index: 1;
}

/* LEFT TITLE */
.howitworks-left h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
}

/* RIGHT SIDE */
.howitworks-right {
    width: 60%;
    position: relative;
    z-index: 3;
    flex-direction: column;
    align-items: flex-start;
}

.howitworks-number {
    font-size: 60px;
    color: #0056ad;
    font-weight: 900;
}

.howitworks-step p {
    font-size: 26px;
    font-weight: 400;
    line-height: 30px;
}

@media (max-width: 768px) {
  .howitworks-section {
    flex-direction: column;
  }

  .howitworks-left {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 30vh;
  }

  .howitworks-right.container{
    width: 100%;
    padding: 0;
  }
}


.cover-contact-qlarm {
  background-color: #EEEEEE;
  min-height: 200px;
}

.cover-contact-qlarm .container{
  padding: 45px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
}

.cover-contact-qlarm .container .desc{
  font-weight: 300;
}

@media (max-width: 900px) {
  .contact {
    flex-direction: column;
  }

  .mobile-width {
    width: 100%;
  }

  .form-columns-2 {
    flex-direction: column;
  }

  .hs-input {
    width: 100%!important;
  }

}



.map-container {
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.qlarm-blog-page-wrapper {
  background-image: url(../img/qlarm_blog_cover.png);
  width: 100%;
  /* height: 100%; */
  color: #fff;
  flex-direction: column;
}

.qlarm-blog-page-wrapper .container{
  flex-direction: column;
  padding: 5rem;
  gap: 40px;
}

.qlarm-blog-page-wrapper .container .title{
  font-size: 89px;
}

.qlarm-blog-page-wrapper .container .subtitle{
  font-size: 26px;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 400px;
    padding: 10px;
    border-radius: 10px;
    background: #000;
    border-radius: 8px;
    font-family: sans-serif;
    
}

.audio-player span{
    color: #fff;
    
}

.audio-player button {
    border: none;
    background: none;
    font-size: 2rem; 
    cursor: pointer;
}

.audio-player #progress {
    flex: 1;
    cursor: pointer;
}

.audio-player #time {
    font-size: 0.9rem;
    min-width: 70px;
    text-align: right;
    color: #fff;
}

/* Contact form */

.hs-input {
    color: #000;
    background-color: #fff;
    border: .5px solid #ccc;
    border-radius: 6px;
    width: 243px;
    height: 48px;
    margin-bottom: 10px;
    padding-top: 0;
    padding-left: 10px;
    padding-right: 0;
    font-size: 15px;
    font-weight: 300;
    box-shadow: 0 3px 6px -2px #1d01501a;
}

.hs-form-booleancheckbox-display {
    display: flex;
    align-items: center;
}

.inputs-list {
  list-style-type: none;
  padding-left: 0px;
}

#hubspot-form label {
  font-weight: bold;
}

#hubspot-form .hs-button {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#hubspot-form .hs-button:hover {
   background-color: #005bb5;
}

.call-us-container, .visit-us-container {
  color: #000;
  background-color: #ebeeff;
  border-radius: 20px;
  align-items: center;
  width: 230px;
  padding: 20px;
  font-size: 16px;
  text-decoration: none;
  display: block;
}

@media (max-width: 400px), (min-device-width: 320px) and (max-device-width: 480px) {
    form.hs-form-4529fc63-4f29-4a0d-af8f-cb92c1662994_23be30fa-9ff1-4b31-9cca-c298b1871844:not(.hs-video-form) .form-columns-2 .hs-form-field, form.hs-form-4529fc63-4f29-4a0d-af8f-cb92c1662994_23be30fa-9ff1-4b31-9cca-c298b1871844:not(.hs-video-form) .form-columns-3 .hs-form-field {
        float: none;
        width: 100%;
    }
}

@media (max-width: 400px), (min-device-width: 320px) and (max-device-width: 480px) {
    form.hs-form-4529fc63-4f29-4a0d-af8f-cb92c1662994_cc620358-5dad-4b53-8b2b-5bb615ec4c9c:not(.hs-video-form) .form-columns-2 .hs-form-field .hs-input, form.hs-form-4529fc63-4f29-4a0d-af8f-cb92c1662994_cc620358-5dad-4b53-8b2b-5bb615ec4c9c:not(.hs-video-form) .form-columns-3 .hs-form-field .hs-input {
        width: 95%;
    }
}

.form-columns-2 {
  display: flex;
}

.hs-form-4529fc63-4f29-4a0d-af8f-cb92c1662994_a7bd2b3c-15eb-4762-a3af-9cab3aac8684 fieldset.form-columns-2 .hs-form-field {
    width: 100%;
    float: left;
}

#hubspot-form .actions {
  display: flex!important;
}

#hubspot-form .form-columns-2 .hs-form-field {
  width: 100%;
}