/* 4K Screens - Large Desktop View Enhancements */
@media (min-width: 2560px) {
  /* Remove all gaps and ensure hero section is truly full width in 4K */
  .container-fluid.hero-fullwidth,
  .container-fluid.py-0.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .container-fluid.hero-fullwidth > .row,
  .row.g-0.align-items-center.flex-column.flex-md-row.position-relative {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  /* Remove padding from hero text/image columns */
  .hero-text-col,
  .col-md-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* NAVBAR */
  .navbar-nav .nav-link {
    font-size: 36px !important; /* Further increase nav link size for 4K */
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    letter-spacing: 0.5px;
  }

  .nav-link.partner-link {
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  .navbar-brand img {
    width: 320px;
    height: 200px; /* Scale logo */
  }

  /* HERO SECTION - Scan Print Collect */
  .highlight-text {
    font-size: 70px !important;
    padding-left: 0 !important;
    text-align: left !important;
    margin-top: 40px !important;
    margin-bottom: 16px !important;
  }

  .tagline {
    font-size: 32px !important;
    padding-left: 0 !important;
    text-align: left !important;
    margin-bottom: 24px !important;
  }

  .play-btn img,
  .google-play-img {
    width: 360px !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    display: block;
  }

  /* See More button in 4K view */
  .see-more-desktop .btn {
    font-size: 1.5rem !important;
    padding: 18px 48px !important;
  }
  .see-more-desktop i.fa-angle-down {
    font-size: 3.5rem !important;
  }

  /* Adjust hero section container for better vertical alignment */
  .col-md-6.hero-text-col {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 60px !important;
    padding-bottom: 40px !important;
    min-height: 600px !important;
  }

  .hiw-illustration2 img {
    top: -700px;
    transform: translateX(-250px) scale(1.6); /* Shift left & enlarge */
    width: auto; /* Let scale control the size */
    max-width: none; /* Prevent bootstrap from limiting size */
  }

  /* "How It Works" Section */
  #work {
    font-size: 48px !important;
  }

  .hiw-steps .hiw-step-number {
    font-size: 28px;
    width: 60px;
    height: 60px;
  }

  .hiw-badge {
    font-size: 22px;
    padding: 14px 18px;
  }

  .hiw-steps p {
    font-size: 22px !important;
  }

  .hiw-steps > li {
    margin-bottom: 64px !important;
  }

  .col-lg-6 img[src*="phone.png"] {
    margin-left: -520px !important;
    width: 120% !important;
    max-width: 120% !important;
    height: auto !important;
    display: block;
  }

  /* About Us Section - 4K Fixes */
  #about {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }
  .about-heading,
  #about .display-4,
  #about h2 {
    font-size: 90px !important;
    line-height: 1.1;
    margin-bottom: 40px !important;
  }
  #about p,
  #about .fw-semibold,
  #about .fs-8,
  #about .about-subtext {
    font-size: 2rem !important;
    max-width: 1800px !important;
    margin-bottom: 40px !important;
    line-height: 1.4;
  }
  #about .d-flex.flex-column.align-items-center.gap-5.px-4.px-md-5 {
    gap: 80px !important;
  }
  #about .bg-white.shadow.rounded-4.p-4 {
    padding: 80px 100px !important;
    max-width: 1800px !important;
    min-height: 350px;
    font-size: 1.8 rem !important;
    box-shadow: 0 8px 48px rgba(66, 133, 244, 0.1);
  }
  #about .bg-white img {
    width: 220px !important;
    height: auto;
    margin-right: 60px;
  }
  #about .bg-white p {
    font-size: 2rem !important;
    margin-bottom: 0;
    color: #222;
  }
  #about strong {
    font-size: 2.2rem !important;
  }
  #about .bg-white {
    border-radius: 48px !important;
  }
  #about .flex-shrink-0 {
    margin-right: 60px !important;
  }
  #about .mb-3.mb-md-0.me-md-4 {
    margin-right: 60px !important;
  }
  #about .mx-auto {
    max-width: 1800px !important;
  }
  .container,
  .container-fluid {
    max-width: 2200px !important;
  }
  .row.g-4 p.small {
    font-size: 2rem !important;
  }
  .about-subtext {
    font-size: 2.4rem !important;
  }

  /* Larger social icons in footer */
  .footer .social-icons a i {
    font-size: 30px; /* Increase this if needed */
    transition: transform 0.3s ease;
    margin: 0 12px;
  }

  .footer .social-icons a i:hover {
    transform: scale(1.2);
  }

  /* Larger font size for "Dev Creations and Solutions" */
  .footer .container small a {
    font-size: 24px;
    font-weight: 300;
    text-decoration: none;
  }
  .footer .container small a:hover {
    text-decoration: underline;
  }
  .footer ul li a,
  .footer small {
    font-size: 22px;
  }
  .footer img {
    max-width: 320px;
  }
}

/* Apply Inter font globally, but NOT to icon elements */
html,
body,
*:not(i):not(.fa):not([class^="fa-"]):not([class*=" fa-"]) {
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
}
/* Mobile: align navbar toggler with logo and bring it slightly down */
@media (max-width: 575.98px) {
  .navbar-toggler {
    top: 26px !important;
    right: 10px !important;
  }
  .navbar-brand {
    margin-top: 10px !important;
    margin-left: 10px !important;
  }
}
/* Mobile navbar toggler icon and border color (3 white bars) */
@media (max-width: 991px) {
  .navbar-toggler {
    border: 2px solid #4285f4 !important;
    position: relative;
  }
  .navbar-toggler .navbar-toggler-icon {
    background-image: none !important;
    width: 24px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .navbar-toggler .navbar-toggler-icon span {
    display: block;
    height: 3px;
    width: 22px;
    background: #fff;
    margin: 3px 0;
    border-radius: 2px;
  }
}

/* Mobile navbar collapse: blue background and white text */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #4285f4 !important;
  }
  .navbar-collapse .nav-link {
    color: #fff !important;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (max-width: 991px) {
  .navbar-toggler {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 9999;
    border: 1px solid #ccc;
    width: 36px;
    height: 36px;
    padding: 4px;
  }
  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
  }
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    z-index: 9990;
  }
}

.about-heading {
  border-bottom: 4px solid #2d86ff;
  font-size: 50px;
}

@media (max-width: 576px) {
  .about-heading {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .about-heading {
    font-size: 32px;
  }

  .about-subtext {
    margin-top: 10px; /* pushes it down */
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    margin-left: 20px !important;
    margin-top: 10px !important;
  }

  .navbar-nav .nav-link {
    font-size: 16px !important;
    padding-top: 8px !important;
  }

  .nav-link.partner-link {
    font-size: 18px !important;
    font-weight: 600 !important;
  }
}

.highlight-text {
  color: #2d86ff;
  font-weight: 700;
  font-size: 50px;
}

.tagline {
  font-size: 20px;
  margin-top: 10px;
  color: #333;
}

.play-btn {
  margin-top: 30px;
}

.scroll-down {
  text-align: center;
  margin-top: 60px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .highlight-text {
    font-size: 36px;
  }

  .tagline {
    font-size: 16px;
  }

  .play-btn {
    margin-top: 20px;
  }

  .img-section img {
    max-width: 100%;
    height: auto;
  }
}

.bg-ring {
  width: 80%;
  max-width: 800px;
  opacity: 1;
  transform: scale(1.4);
  position: absolute;
  left: 0;
  top: -400px; /* default for desktop */
  z-index: 0;
}
.play-btn {
  position: relative;
  display: inline-block;
  z-index: 10;
}

.play-btn-img {
  position: absolute;
  top: -110px;
  left: 0;
  z-index: 10;
}

.play-btn-link {
  position: absolute;
  top: -10px;
  left: 0px;
  color: #000;
  z-index: 10;
}

@media (max-width: 575.98px) {
  .play-btn {
    display: none !important;
  }
}

.hiw-illustration2 img {
  width: 80%;
  max-width: 450px;
  opacity: 1;
  transform: scale(1.4);
  position: absolute;
  left: 0;
  top: -300px;
}

/* Mobile styles */
@media (max-width: 576px) {
  .hiw-illustration2 img {
    width: 80%;
    max-width: 300px;
    top: -100px;
    left: -10px;
    transform: scale(1.2);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer .row.align-items-start {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  /* Center logo and icons */
  .footer .col-md-4 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer .col-md-4 img {
    margin-bottom: 1rem;
    max-width: 180px;
  }

  .footer .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px !important;
    margin-bottom: 2rem !important;
    margin-top: 1rem !important;
  }

  .footer .col-md-8 {
    width: 100%;
  }

  .footer .col-md-8 .row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer .col-md-8 .row > div {
    width: calc(50% - 10px);
    margin-right: 0;
  }

  .footer ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
  }

  .footer ul li {
    margin-bottom: 8px;
  }

  /* Remove extra space under "Partner With Us" */
  .footer .col-md-8 strong a {
    display: inline-block;
    margin-bottom: 0.25rem;
  }
}
@media (min-width: 1440px) {
  /* NAVBAR */
  .navbar-nav .nav-link {
    font-size: 14px !important; /* Smaller nav link size */
    padding-top: 10px !important;
  }

  .nav-link.partner-link {
    font-size: 10px !important;
    font-weight: 600 !important;
  }

  .navbar-brand img {
    width: 220px;
    height: auto; /* Maintain aspect ratio */
  }

  /* HERO SECTION - Scan Print Collect */
  .highlight-text {
    font-size: 36px !important;
    padding-left: 0 !important;
    margin-left: 30px;
  }

  .tagline {
    font-size: 16px !important;
    padding-left: 0 !important;
    margin-left: 30px;
  }

  .google-play-img {
    width: 160px !important;
    max-width: 90%;
  }

  .link {
    font-size: 24px;
    top: 80px;
    left: 20px !important;
    position: relative;
  }

  /* MODIFIED: hiw-illustration2 image */
  .hiw-illustration2 img {
    position: relative;
    top: -300px;
    left: -120px;
    transform: scale(1.3); /* Resize proportionally */
    max-width: 100%;
    height: auto;
  }

  /* "About Us" Section */
  .about-heading {
    font-size: 60px !important;
  }

  .about-subtext {
    font-size: 10px;
  }

  .about-subtext,
  .container p,
  .footer p {
    max-width: 140%;
  }

  .container,
  .container-fluid {
    max-width: 1600px !important;
  }

  /* Footer */
  .footer .social-icons a i {
    font-size: 22px;
    transition: transform 0.3s ease;
    margin: 0 8px;
  }

  .footer .social-icons a i:hover {
    transform: scale(1.2);
  }

  .footer .container small a {
    font-size: 14px;
    font-weight: 200;
    text-decoration: none;
  }

  .footer .container small a:hover {
    text-decoration: underline;
  }

  .footer ul li a,
  .footer small {
    font-size: 14px;
  }

  .footer img {
    max-width: 280px;
  }
}

/* 4K Screens - Large Desktop View Enhancements */
.footer .social-icons a i {
  font-size: 18px;
  transition: transform 0.3s ease;
  margin: 0 8px;
}

.footer .social-icons a i:hover {
  transform: scale(0.9);
}

@media (max-width: 1024px) {
  .footer .social-icons a i {
    font-size: 14px !important;
    margin: 0 4px !important;
  }
}

/* Normal font size for "Dev Creations and Solutions" */
.footer .container small a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.footer .container small a:hover {
  text-decoration: underline;
}

.footer ul li a,
.footer small {
  font-size: 12px;
}

.footer img {
  max-width: 180px;
}

/* Wrapper for play button + link */
.play-btn-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  left: 45px;
  position: relative;
  z-index: 1;
}

/* Google Play Image */
.google-play-img {
  width: 140px;
  max-width: 90%;
}

/* Link wrapper */
.play-link-wrapper {
  margin-left: 30px; /* Push link to the right */
}

/* See How It Works link style */
.see-how-link {
  font-size: 14px;
  color: #000;
  text-decoration: underline;
}

/* Tablet (≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .google-play-img {
    width: 200px;
  }

  .see-how-link {
    font-size: 12px;
  }
}

/* Desktop (≥992px and <1440px) */
@media (min-width: 992px) and (max-width: 1439.98px) {
  .google-play-img {
    width: 180px;
  }

  .see-how-link {
    font-size: 16px;
  }
}

/* Large Desktop / 4K (≥1440px) */
@media (min-width: 1440px) {
  .google-play-img {
    width: 890px;
  }

  .see-how-link {
    font-size: 24px;
  }

  .play-btn-container {
    margin-top: 10px;
  }

  .play-link-wrapper {
    margin-left: 30px;
  }
}
