body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: white;
  overflow-x: hidden;
}

h1, h2, h3, h5 {
  font-family: 'Crimson Text', serif;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.486) !important;
  padding: 8px 0;
  z-index: 999;
}

.navbar-brand {
  font-weight: 700;
  color: white;
  font-size: 18px;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.nav-link {
  color: white !important;
  margin-left: 20px;
  font-weight: 500;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Mode Toggle */
.mode-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60px;
  padding: 6px;
  background-color: #2b2b2b;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mode-toggle .icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #aaa;
  transition: all 0.3s ease;
}

.mode-toggle .icon svg {
  width: 22px;
  height: 22px;
}

.mode-toggle .icon.active {
  background-color: #fff;
  color: #11A9FF;
  box-shadow: 0 0 0 2px #11A9FF;
}

body.dark-mode .mode-toggle .icon.active {
  background-color: #000;
  color: #11A9FF;
  box-shadow: 0 0 0 2px #11A9FF;
}

.mode-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60px;
  padding: 6px;
  background-color: #2b2b2b;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mode-toggle .icon {
  /* width: 30px;
  height: 28px; */

  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #aaa;
  transition: all 0.3s ease;
}

.mode-toggle .icon svg {
  width: 22px;
  height: 22px;
}

/* Light mode active icon */
.mode-toggle .icon.active {
  background-color: #000000;
  color: #11A9FF;
  box-shadow: 0 0 0 2px #11A9FF;
}

/* Dark mode active icon background should be black */
body.dark-mode .mode-toggle .icon.active {
  background-color: #ffffff;
  /* black circle in dark mode */
  color: #11A9FF;
  box-shadow: 0 0 0 2px #11A9FF;
}






/* Hero Section */

.hero-section {
  background-color: #000;
  padding-top: 140px;
  padding-bottom: 10px 0;
  position: relative;
  overflow: hidden;
}

.businessman-img {
  max-width: 90%;
  height: auto;
  margin-left: 40px;
  margin-top: 100px;
  z-index: 1;
  position: relative;
}

/* Speech Bubbles */
.quote-box {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  border: 2px solid #11A9FF;
  color: white;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  max-width: 220px;
  font-family: 'Poppins', sans-serif;
  z-index: 3;
  line-height: 1.4;
  transition: background-color 0.3s ease;
}

.quote-box:hover {
  background-color: #014b78;
}

.quote1 {
  position: absolute; /* Ensure it's positioned */
  top: 70px;
  left: 40px;
}

/* Mobile view adjustment */
@media (max-width: 576px) {
  .quote1 {
    top: 100px;          /* adjust position vertically */
    left: 20px;         /* smaller left offset for mobile screens */
  }
}


.quote2 {
  position: absolute; /* Ensure it's positioned */
  top: 3px;
  left: 250px;
}

/* Mobile view adjustment */
@media (max-width: 576px) {
  .quote2 {
    top: 1px;         /* adjust as needed */
    left: 250px;        /* center horizontally */
    transform: translateX(-50%);
  }
}


.quote3 {
  position: absolute; /* make sure it's positioned */
  top: 60px;
  left: 430px;
}

/* Mobile view adjustment */
@media (max-width: 576px) {
  .quote3 {
    top: -1px;   /* adjust as needed */
    left: 90px;    /* center horizontally */
    transform: translateX(-50%); /* ensure actual centering */
  }
}


/* Button styling */
.btn-custom {
  background-color: #2CA9F1;
  color: white;
  padding: 10px 50px;
  border: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #1e83c2;
}

/* products */
  .products-section {
  background-color: #000;
}

.product-card {
  background-color: #02273D;
  border: 2px solid rgba(17, 169, 255, 0.8); /* #11A9FF at 80% */
  border-radius: 12px;
  color: #fff;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(17, 169, 255, 0.2);
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-description {
  font-size: 14px;
  color: #d3d3d3;
  flex-grow: 1;
}

.product-image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}


/* prodcuts description section */
.codscare-section {
  background-color: #000; /* Dark background for contrast */
  color: #fff;
}

.codscare-title {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}

.codscare-paragraph {
  font-size: 15px;
  color: #ffffffd4;
  line-height: 1.8;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
}

.codscare-features li {
  font-size: 15px;
  color: #ffffffd4;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.codscare-thumb {
  width: 100%;
  height: 30vh;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}
@media (max-width: 576px) {
  .codscare-thumb {
    width: 60%;       /* or any custom value like 100%, 95%, or fixed px */
    height: 10vh;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.08);
    margin: 0 auto;   /* center the element if width is less than 100% */
  }
}
/* scrolling cards */

smart-solutions-section {
  background-color: #0A0C0B;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.smart-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.smart-desc {
  font-size: 14px;
  color: #dcdcdc;
  line-height: 1.8;
}

.smart-img {
  height: 307px;
  width: 96%;

}

.show-more-link {
  color: #2CA9F1;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.show-more-link:hover {
  color: #1e83c2;
  text-decoration: underline;
}

.scroll-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;

  
}

.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.scroll-card {
  min-width: 240px;
  max-width: 240px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.scroll-card a {
  text-decoration: none;
  color: inherit;
}

.scroll-card img {
  border-radius: 12px;
  height: 160px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scroll-card:hover img {
  transform: scale(1.05);
}

.project-name {
  font-size: 14px;
  color: #f0f0f0;
  margin-top: 8px;
  text-align: left;
}



    /* footer */
    
.footer-section {
  background-color: #02273D;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-section .contact-info li {
  margin-bottom: 13px;
  color: #ccc;
}

.footer-section .social-icons a {
  font-size: 18px;
  color: white;
  transition: 0.3s;
}

.footer-section .social-icons a:hover {
  color: #1da1f2;
}

.footer-links li a {
  line-height: 4;
  /* or use 1.8, 24px, etc. based on design */
}


/* white theme */
body.dark-mode .hero-section {
  background-color: #ffffff;
  padding-top: 140px;
  padding-bottom: 10px 0;
  position: relative;
  overflow: hidden;
}
body.dark-mode .h1, h2, h3, h5 {
  font-family: 'Crimson Text', serif;
  font: #000;
}
body.dark-mode .products-section {
  background-color: #ffffff;
}
body.dark-mode .codscare-section {
  background-color: #ffffff; /* Dark background for contrast */
  color: #000000;
}

body.dark-mode .scroll-section {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: white;
  overflow-x: hidden;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
  font-family: 'Crimson Text', serif;
  color: #000000;
}
body.dark-mode p {
  
  color: #000000;
}
body.dark-mode .codscare-features li {
  font-size: 15px;
  color: #000;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}
body.dark-mode h5 {
  font-family: 'Crimson Text', serif;
  color: #ffffff;
}
body.dark-mode .product-description {
  font-size: 14px;
  color: #ffffff;
  flex-grow: 1;
}