/* Global Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000000;
  color: white;
  overflow-x: hidden;
}

h1,
h2,
h3,
h5 {
  font-family: 'Crimson Text', serif;
}

/* Navbar */
/* .navbar {
  background-color: rgba(0, 0, 0, 0.486) !important;
  padding: 8px 0;
  z-index: 999;
} */

.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");
}

/* Hero Section */
.hero-section {
  background-color: #0a0c0b88;
  min-height: 100vh;
  /* padding-top: 100px; */
  display: flex;
  align-items: center;
}

.hero-text {
  /* padding: 40px; */
  color: white;
  z-index: 2;
  padding: 7px 0 10px 50px;

}

.hero-text h1 {
  font-size: 40px;
  font-weight: 700;
}

.hero-text p {
  font-size: 15px;
  margin-bottom: 25px;

}

.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;
}

.hero-img img {
  width: 100%;
  height: 700px;
  object-fit: cover;


}

.hero-img {
  padding: 0 !important;

}



/* Responsive Styling */
@media (max-width: 991.98px) {
  .hero-section {
    flex-direction: column;
    padding: 0;
    position: relative;
  }

  .hero-img {
    position: relative;
    width: 100%;
    height: 100vh;
  }

  .hero-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.181);
    /* Optional: dark overlay for better readability */
    padding: 20px;
    border-radius: 10px;
    z-index: 2;
    width: 90%;
  }

  .hero-text h1 {
    font-size: 24px;
    line-height: 40px;
    margin-bottom: 40px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .btn-custom {
    font-size: 14px;
    padding: 10px 50px;
  }

  .navbar-collapse {
    background-color: #0A0C0B;
    padding: 10px;
  }

  .nav-link {
    margin: 10px 0;
  }
}

/* About Section */

.about-title {
  font-size: 40px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.about-subtitle {
  font-size: 14px;
  color: #dcdcdce4;
  line-height: 1.6;
}

/* .about-card {
  background-color: #02273D;
  border: 2px solid transparent;
  padding: 20px;
  border-radius: 10px;
  color: white;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(45deg, #11A9FF, transparent, #11A9FF);
  background-size: 400% 400%;
  animation: borderRide 3s linear infinite;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

@keyframes borderRide {
  0% {
    background-position: 300% 0;
  }
  100% {
    background-position: 0 0;
  }
} */



.about-card {
  background-color: #02273D;
  border: 2px solid transparent;
  padding: 20px;
  border-radius: 10px;
  color: white;
  position: relative;
  z-index: 0;
  /* overflow: hidden; */

  height: 100%;
}

.about-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 12px;
  background: linear-gradient(45deg, #11A9FF, transparent, #11A9FF);
  background-size: 300% 300%;
  animation: borderRide 3s linear infinite;

  /* Show only the border area */
  padding: 2px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  z-index: -1;
  pointer-events: none;
}


@keyframes borderRide {
  0% {
    background-position: 300% 0;
  }

  100% {
    background-position: 0 0;
  }
}





/* service  */

/* SERVICES SECTION */
.services-section {
  position: relative;
  background: url('Images/Professional\ Celebration\ High-Five\ \(1\).jpeg') center center / cover no-repeat;
  padding: 100px 0;
  overflow: hidden;
}

.services-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.244);
  /* 85% overlay */
  z-index: 1;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-title {
  font-size: 40px;
  font-weight: 700;
  font-family: 'Crimson Text', serif;
  margin-bottom: 25px;
}

.services-description {
  font-size: 14px;
  line-height: 1.9;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

/* .service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
} */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: .8rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-heading-color);
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 10px;
  /* Optional space for invisible scrollbar */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

/* Hide scrollbar for Chrome, Edge, Safari */
.service-card-grid::-webkit-scrollbar {
  display: none;
}



.service-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 25px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;

  /* NEW: Flex settings to center content */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.service-card:hover {
  transform: translateY(-5px);
}

.service-card h5 {

  color: #dcdcdce4;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
}

.service-card p {
  font-size: 14px;
  margin-top: 10px;
  color: #e6e6e6;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background-color: #A6DBFA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* smart solutions */

.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;
  margin-top: 30px;
}

.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;
}

/* keep in touch */
.keep-in-touch-section {
  background-color: #0A0C0B;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.touch-title {
  font-size: 28px;
  font-weight: 700;
}

.touch-subtitle {
  font-size: 15px;
  color: #dcdcdc;
}

/* .subscribe-form {
  max-width: 600px;
  margin: 0 auto;
}

.touch-input {
  border-radius: 8px 0 0 8px;
  padding: 12px 16px;
  border: none;
  width: 70%;
  min-width: 250px;
}

.gap-2 {
  gap: rem !important;
}

.touch-button {
  border-radius: 0 8px 8px 0;
  background: linear-gradient(to right, #00587A, #0077A3);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  transition: background 0.3s ease;
}

.touch-button:hover {
  background: linear-gradient(to right, #0077A3, #00587A);
} */



.subscribe-form {
  max-width: 600px;
  margin: 0 auto;
}

.input-group {
  flex-wrap: nowrap; /* Ensures input and button stay in one line */
}

.touch-input {
  border-radius: 8px 0 0 8px;
  padding: 12px 16px;
  border: none;
  min-width: 250px;
}

.touch-button {
  border-radius: 0 8px 8px 0;
  background: linear-gradient(to right, #00587A, #0077A3);
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  transition: background 0.3s ease;
}

.touch-button:hover {
  background: linear-gradient(to right, #0077A3, #00587A);
}





.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 */
}



.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;
}






/* white theme */
.hero-section {
  background-color: #000000;
  color: #222;
}

body.dark-mode .about-us-section {
  background-color: #ffffff;
  color: #222;
}

body.dark-mode .hero-section {
  background-color: #000000;
  color: #eee;
}

body.dark-mode .smart-solutions-section {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  font-family: 'Poppins', sans-serif;
}

body.dark-mode .keep-in-touch-section {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  font-family: 'Poppins', sans-serif;
}

body.dark-mode .hero-text {
  /* padding: 40px; */
  color: white;
  z-index: 2;
  padding: 7px 0 10px 50px;

}

body.dark-mode .smart-desc {
  font-size: 14px;
  color: #2d2d2d90;
  line-height: 1.8;
}

body.dark-mode .touch-subtitle {
  font-size: 15px;
  color: #2d2d2d90;
}

body.dark-mode .services-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.282);
  /* 85% overlay */
  z-index: 1;
}

body.dark-mode .about-title {
  font-size: 40px;
  font-weight: 700;
  color: rgb(0, 0, 0);
  margin-bottom: 20px;
}

body.dark-mode .about-subtitle {
  font-size: 14px;
  color: #2d2d2d90;
  line-height: 1.6;
}

body.dark-mode .touch-input {
  border-radius: 8px 0 0 8px;
  padding: 12px 16px;
  border: 2px solid #0077A3;
  /* Replace #3D7438 with your preferred color */
  width: 70%;
  /* min-width: 250px; */
}

body.dark-mode .touch-button {
  border-radius: 0 8px 8px 0;
  background: linear-gradient(to right, #00587A, #0077A3);
  color: white;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  transition: background 0.3s ease;
}

body.dark-mode .project-name {
  font-size: 14px;
  color: #0f0f0f;
  margin-top: 8px;
  text-align: left;
}