/* ========================
   Root Variables
======================== */
:root {
  --font-base: 'Poppins', sans-serif;
  --font-size-base: 14px;

  --color-bg-dark: #1C222E;
  --color-accent: #4EC9FA;
  --color-purple: #D17EFF;
  --color-white: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.8);
  --shadow-blue: 0 8px 40px rgba(78, 201, 250, 0.15);
}

/* ========================
   Global Styles
======================== */
body {
  margin-top: 50px;
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  color: var(--color-white);
}

/* ========================
   Typography Utilities
======================== */
.heading-lg {
  color: #000;
  font-size: 2rem;
  font-weight: 500;
  align-items: center;
}
heading{
  font-size: 2rem;
  font-weight: 500;
  align-items: center;
  color: white;
}

.text-muted {
  color: var(--color-muted);
}

/* ========================
   Navbar
======================== */
    .navbar {
      background-color: var(--color-bg-dark);
      box-shadow: var(--shadow-blue);
    }

    .navbar-brand {
      font-weight: bold;
      color: var(--color-white);
    }

    .nav-link {
      color: var(--color-white);
      margin-right: 1rem;
      font-weight: 500;
      position: relative;
    }

    .nav-link:hover:not(.services),
    .nav-link.active:not(.services) {
      color: var(--color-accent);
    }

    .nav-link:not(.services)::after {
      content: '';
      position: absolute;
      width: 0%;
      height: 2px;
      left: 0;
      bottom: 0;
      background-color: var(--color-accent);
      transition: width 0.3s ease;
    }

    .nav-link:hover:not(.services)::after {
      width: 100%;
    }

.dropdown-menu.dropdown-mega {
  display: none !important;  /* Always hidden by default */
  position: absolute;
  left: 50% !important;
  transform: translateX(-50%);
  top: 100%;
  width: 1000px;
  padding: 2rem;
  border-radius: 6px;
  background: url('/assets/navbar/ServiceNav.png') no-repeat center center;
  background-size: cover;
  box-shadow: var(--shadow-blue);
  flex-direction: row;
  background-color: rgba(28, 34, 46, 0.95);
  z-index: 1050;
}

.dropdown-menu.dropdown-mega.show {
  display: flex !important; /* Force show when active */
}


    .navbar .dropdown-menu {
      background-color: transparent;
      border: none;
    }

    .col-left {
      background-color: rgba(18,22,35,0.9);
      color: var(--color-muted);
      padding: 1.5rem;
      border-radius: 6px;
      width: 25%;
    }

    .submenu-container {
      padding: 0 1.5rem;
      display: flex;
      flex-direction: column;
      width: 35%;
    }

    .submenu-item {
      position: relative;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      padding-bottom: 0.4rem;
      margin-bottom: 0.4rem;
    }

    .has-submenu {
      cursor: pointer;
      font-weight: bold;
      color: var(--color-white);
      text-transform: uppercase;
      font-size: 13px;
    }

    .submenu-panel {
      width: 40%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding-left: 1.5rem;
    }

    .submenu-box {
      background-color: rgba(18, 22, 35, 0.95);
      padding: 1rem;
      border-left: 2px solid var(--color-accent);
      box-shadow: var(--shadow-blue);
      border-radius: 6px;
      display: none;
    }

    .submenu-box.active {
      display: block;
    }

    .submenu-box a {
      display: block;
      color: var(--color-muted);
      font-size: 13px;
      margin-bottom: 0.4rem;
    }

    .submenu-box a:hover {
      color: var(--color-accent);
    }

    .submenu-img {
      width: 100%;
      margin-top: 1rem;
      border-radius: 6px;
      box-shadow: var(--shadow-blue);
    }

    @media (max-width: 991px) {
      .dropdown-menu.dropdown-mega {
        position: static !important;
        transform: none !important;
        width: 100%;
        flex-direction: column;
        border-radius: 0;
        background: var(--color-bg-dark);
      }
      .submenu-panel {
        width: 100%;
      }
      .submenu-box {
        position: static;
        border-left: none;
        margin-top: 0.5rem;
      }
    }

    @media (max-width: 767px) {
      .col-left,
      .submenu-img {
        display: none !important;
      }

      .dropdown-menu.dropdown-mega {
        flex-direction: column;
        padding: 1rem;
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
      }

      .submenu-container, .submenu-panel {
        width: 100% !important;
        padding: 0;
      }

      .submenu-box {
        border-left: none;
        margin-top: 1rem;
        padding-left: 10px;
      }

      .submenu-item {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
      }
    }
/* Initially hide the search box */
.search-box {
  display: none;
  width: 180px;
  transition: all 0.3s ease;
}

/* When checkbox is checked, show the search box */
#toggleSearch:checked + label + .search-box {
  display: block;
}

/* Style for the input */
.search-box input {
  border: 1px solid rgba(17, 175, 223, 0.509);
  height: 32px;
  font-size: 0.85rem;
}

/* Align everything properly in navbar */
.search-toggle-wrapper {
  display: flex;
  align-items: center;
}


 
.icon-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 18px;
  margin-left: 1rem;
}

/* ========================
   Hero Section
======================== */
.hero-section {
    background-image: url(/assets/index/HeroBg.png);
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ========================
   Buttons
======================== */
.btn-explore {
  background-color: var(--color-bg-dark);
  color: white;
  font-weight: 500;
  padding: 10px 22px;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.btn:hover{
    background-color: #dc35bc;

}

.btn-explore::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--color-purple);
  left: 0;
  bottom: -5px;
}
.pillars-section {
  background: linear-gradient(to right, #f4fbff, #eaf7ff);
  padding: 30px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pillar-item {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111;
  position: relative;
}

.pillar-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: #ccc;
}.about-section {
  padding: 80px 0;
}

.about-image {
border-radius: 1px 30px 30px 1px;
    min-height: 60vh;
    object-fit: cover;
    width: 100%;
}

.about-text {
  max-width: 540px;
  font-weight: 400;
  line-height: 1.6;
}
.stat {
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 2px;
  background:#e614df;
  opacity: 0.6;
}

.stats-card {
  background-image:url(/assets/index/StatsGrid.png);
  border-radius: 25px;
  padding: 24px 16px;
  color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  background-color: #10172a;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.highlight {
  color: var(--color-accent);
}

.service-item {
  text-align: center;
  color: #111;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}



.icon-wrapper {
    background: linear-gradient(135deg, #fcd4ff, #c6f2ff);
    border-radius: 12px;
    padding: 20px;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.service-icon {
width: 50px;
    height: 50px;
    z-index: 1;
}
.services-section {
  padding: 80px 0;
  background-image:url(/assets/index/Grid.png);
  background-size: contain;
  background-repeat: repeat;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}


.image-card {
  color: white;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  padding: 20px;
  display: block;

}

.image-card h5 {
  margin-top: auto;
  font-size: 1rem;
}

.featured-card {
box-shadow: 0 10px 20px #920aca6e;
    min-height: 352px;
    background-size: cover;
    background-position: center;
    display: block;
      padding: 20px;

}

.masonry-label {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.918);
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  display: grid;
  margin-bottom: 10px;
}

.masonry-label span {
  color: #666;
  font-weight: normal;
  margin-left: 4px;
}
.about-section_2 {
    background: linear-gradient(#d0e7f1, #fae2f98a, #d1e7f1);}
.review{
      background: linear-gradient(#d0e7f1, #feffff );

}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 2px;
  background-image: repeating-linear-gradient(to bottom, #4ec9fa, #4ec9fa 6px, transparent 6px, transparent 12px);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-container {
  max-width: 1000px;
  position: relative;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #e8f8ff;
    border: 2px solid #4ec9fa;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}
.icon-img {
  width: 40px; 
}

.dot {
  width: 14px;
  height: 14px;
  background-color: #4ec9fa;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.horizontal-line {
  position: absolute;
  height: 2px;
  width: 100%;
  background-image: repeating-linear-gradient(to right, #4ec9fa, #4ec9fa 6px, transparent 6px, transparent 12px);
}
.left-line {
  left: -100px;
}
.right-line {
  right: -100px;
}
@media (max-width: 767px) {
  .timeline-row {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
  }

  .timeline-row .col-md-5,
  .timeline-row .col-md-2 {
    width: 100%;
  }

  .timeline-row .dot {
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
  }

  .timeline-line {
    /* left: 50%;
    transform: translateX(-50%);
    height: 100%;
    top: 0; */
    display: none;
  }

  .timeline-row .horizontal-line {
    display: none;
  }

  .icon-circle {
    margin-bottom: 1rem;
  }
  .timeline-image {
display: none;
}
}
.tech-stack-section {
  position: relative;
  background-image: url('assets/index/tech-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  overflow: hidden;
}

.tech-stack-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
  z-index: 2;
}

.tech-stack-section .container {
  position: relative;
  z-index: 3; /* Push content above overlay */
}

.tech-stack-section img {
  filter: brightness(0) invert(1); /* optional if logos are black by default */
  opacity: 0.9;
  transition: 0.3s ease-in-out;
}
.cta-over-footer {
  background: linear-gradient(to bottom, #f8fcff 50%, #10172a 50%);
  padding-bottom: 5rem;
  margin-top: -60px;
}

.cta-box {
  max-width: 960px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  border-bottom: 6px solid #4ec9fa;
}

.cta-contact {
  background-color: #111;
  color: #fff;
  border: none;
  position: relative;
}

.cta-contact::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  width: 100%;
  background: #a259ff;
}

/* ========================
   service 
======================== */
.card-top-line {
  height: 8px;
  background-color: #22B8F5;
}


/* ========================
  industries 
======================== */


.industry-card-final {
  position: relative;
  overflow: hidden;
  height: 300px;
  border-radius: 8px;
}

.industry-card-final img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.industry-caption-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 90%; /* 👈 this makes the box 90% of image width */
  background-color: white;
  padding: 15px 40px 15px 20px; /* T R B L */
  font-weight: 600;
  font-size: 1rem;
  color: black;
  border-radius: 4px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  line-height: 1.4;
}


.card-label {
  width: 220px;
  height: 70px;
  font-size: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-btn-sm {
  width: 150px;
  height: 40px;
  font-size: 16px;
  background-color: #ffffff;
  color: #000;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 1rem;
  border: none;
}
.about-section2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); /* dark overlay */
  z-index: 1;
  pointer-events: none;
}
.timeline-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
}

