@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap');

/* Resetting default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", system-ui;
    font-weight: 500;
    font-style: normal;
}


/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #fefefe;
    border-bottom: 1px solid #d1d1d1;
    height: 60px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo img {
    height: 25px;
    margin-left: 40px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    padding: 17px 0;
    position: relative;
}

.nav-menu a:hover {
    color: rgb(41, 7, 174);
}

.nav-menu a:hover::after {
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
}

.language {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-right: 40px;
}

.language .globe {
    margin-right: 8px;
    font-size: 16px;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hide menu on smaller screens */
    }

    .logo img {
        height: 30px;
    }

    .language {
        font-size: 12px;
    }
}

/* Submenu styles */
.submenu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
    z-index: 1000;
}

.submenu li {
    display: inline-block;
}

.submenu a {
    padding: 20px 15px;
    color: #000;
}

.submenu .has-submenu .submenu-blocks a {
    padding: 3px 15px;
}

.has-submenu:hover > a,
.submenu a:hover {
    color: rgb(41, 7, 174);
}

/* Show submenu on hover */
.has-submenu:hover .submenu {
    display: flex;
}

/* CSS for submenu-blocks */
.submenu-blocks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    padding: 10px;
    list-style: none;
    justify-content: center;
    z-index: 1000;
    width: 100%;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.has-submenu:hover > .submenu > .has-submenu:hover > .submenu-blocks {
    display: flex;
}

/* Styling each block item */
.block-item {
    width: 100px;
    height: 100px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    align-items: center;
    margin: 5px; /* Space between blocks */
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.block-item img {
    max-width: 100%;
    max-height: 90px;
    margin-bottom: 5px;
}

.block-item img:hover {
    transform: scale(1.2);
    transition: transform 1s ease;
}

.block-item a {
    color: #000;
    text-decoration: none;
}

.block-item a:hover {
    color: rgb(41, 7, 174);
}

/* Hero section */
.hero-sb-container {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    margin: 0 auto;
    position: relative;
    margin-top: 50px;
}

.hero-sb-logo-container {
    margin-bottom: 20px;
}

.hero-sb-company-logo {
    max-width: 150px;
}

.hero-sb-title-container {
    margin-bottom: 20px;
}

.hero-sb-main-heading {
    font-size: 2rem;
    color: #000;
    margin-bottom: 10px;
}

.hero-sb-main-title {
    font-size: 3.5rem;
    color: #000;
    font-weight: bold;
}

.hero-sb-main-title .hero-sb-highlight {
    color: #2b449e;
}

.hero-sb-trusted-section {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-sb-button-container {
    margin-bottom: 50px;
}

.hero-sb-cta-button {
    padding: 15px 30px;
    background-color: #0033cc;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-sb-cta-button:hover {
    background-color: #005f99;
    transform: scale(1.05);
}

.hero-sb-image-container {
    position: relative;
    margin-top: 1px;
}

.hero-sb-product-image {
    width: 100%;
    max-width: auto;
}

@media (max-width: 768px) {
    .hero-sb-main-title {
        font-size: 2.5rem;
    }

    .hero-sb-main-heading {
        font-size: 1.5rem;
    }

    .hero-sb-product-image {
        max-width: 80%;
    }
}

/* Three devices section */
.three-device-container {
    text-align: center;
    padding: 80px 40px;
    background-color: #2b449e;
}

.three-device-heading {
    font-size: 48px;
    color: white;
    margin-bottom: 60px;
}

.three-device-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.three-device-card {
    background-color: white;
    border-radius: 20px;
    padding: 60px 40px;
    width: 400px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.three-device-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
}

.three-device-image {
    width: auto;
    height: 300px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.three-device-card:hover .three-device-image {
    transform: scale(1.1);
}

.three-device-text {
    font-size: 22px;
    color: #333;
    margin-top: auto;
    transition: color 0.3s ease;
}

.three-device-button {
    background-color: white;
    color: black;
    padding: 20px 40px;
    border: none;
    border-radius: 30px;
    margin-top: 30px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.three-device-button:hover {
    background-color: black;
    color: #0056b3;
    transform: translateY(-5px);
}

/* Devices list section */
#devices-container {
    max-width: 1300px;
    margin: 100px auto;
    padding-top: 20px;
    height: auto; /* Changed to auto */
    background-color: white;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.devices-main-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
}

.devices-left-side {
    flex: 1; /* Changed to flexible width */
    display: flex;
    padding-left: 100px;
    flex-direction: column;
    justify-content: flex-start;
}

.devices-title {
    font-size: 90px;
    margin-bottom: 15px;
    font-family: "Afacad Flux", sans-serif;
    line-height: 90px;
    font-weight: 600;
}

.devices-description {
    font-size: 30px;
    margin-bottom: 20px;
}

.devices-button {
    padding: 15px 20px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    max-width: 150px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.devices-button:hover {
    background-color: #0056b3;
}

.devices-right-side {
    flex: 1; /* Changed to flexible width */
    text-align: center;
}

.devices-image {
    width: auto;
    height: 500px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.devices-image:hover {
    transform: scale(1.05);
}

.devices-features {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    background-color: #def6ff;
    padding: 20px;
    border-radius: 8px;
}

.devices-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 25px;
}

.devices-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.devices-icon:hover {
    transform: scale(1.1);
}

.devices-feature-text {
    margin-top: 8px;
    font-size: 18px;
    color: #0056b3;
    text-align: center;
}

#highlight-d {
    color: #313d7c;
    font-family: "Afacad Flux", sans-serif;
}

/* Footer styles */
.footer {
    background-color: #1c1e22;
    color: #fff;
    padding: 40px 0 0 0;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
}

.footer-column {
    flex: 1;
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 20px;
}

.footer-column ul li a {
    color: grey;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    transform: scale(1.2);
    text-decoration: underline;
}

.footer-column .social-icons {
    display: flex;
}

.footer-column .social-icons a {
    margin-right: 10px;
}

.footer-column .social-icons img {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    background-color: #004b9b;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Media Queries for responsiveness */
@media (max-width: 767px) {
  .devices-main-content {
      flex-direction: column;
      padding: 10px;
  }

  .devices-left-side {
      padding-left: 0;
      align-items: center;
      text-align: center;
  }

  .devices-title {
      font-size: 50px;
      line-height: 60px;
  }

  .devices-description {
      font-size: 20px;
  }

  .devices-button {
      max-width: 120px;
      font-size: 16px;
      padding: 10px 15px;
  }

  .devices-right-side {
      padding: 10px;
  }

  .devices-image {
      height: 300px;
      margin-bottom: 20px;
  }

  .devices-features {
      flex-direction: column;
      padding: 10px;
  }

  .devices-feature {
      margin: 15px 0;
  }

  .devices-icon {
      width: 50px;
      height: 50px;
  }

  .devices-feature-text {
      font-size: 16px;
  }
}