:root {
  --primary-color: #FF5E14;
  /* Orange */
  --primary-hover: #e04a0b;
  --bg-dark: #0f081c;
  /* Deep dark purple/black */
  --header-bg: #0a0515;
  --text-light: #ffffff;
  --text-gray: #a8a3b5;
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-border: rgba(255, 255, 255, 0.08);

  --font-main: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-light-gray {
  color: var(--text-gray) !important;
}

.bg-dark-elem {
  background-color: var(--bg-dark) !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--text-light);
}

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

/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border: none;
  border-radius: 5px;
  font-weight: 700;
  padding: 0.7rem 2rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 94, 20, 0.3);
  color: #fff;
}

.btn-primary:hover {
  /* background: var(--primary-hover); */
  transform: scale(1.05);
  background: #ffffff;
  color: #000000;
}

/* Navbar */
.custom-navbar {
  padding: 1.2rem 0;
  transition: var(--transition);
  background-color: var(--header-bg);
}

.custom-navbar.scrolled {
  background-color: rgba(10, 5, 21, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.8rem 0;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light) !important;
  text-transform: uppercase;
  margin: 0 0.8rem;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section-home {
  padding: 160px 0 100px;
  position: relative;
  background: radial-gradient(circle at right center, rgba(255, 94, 20, 0.1) 0%, rgba(15, 8, 28, 1) 50%);
}


.hero-title-home {
  font-size: 33px;
  line-height: 48px;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Added globally so it works on desktop! Left-aligned to match the hero text */
.hero-title-home::after {
  content: "";
  display: block;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, #ff5e14, #ff8c00);
  margin-top: 15px;
  border-radius: 2px;
}

.hero-subtitle-home {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero-img {
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Section Common */
.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 600;
}



.section-title h2 span {
  color: var(--primary-color);
}

/* Services Card */
.service-card {
  background: var(--card-bg);
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 8, 28, 0%);
  /* Dark overlay */
  border-radius: 12px;
  z-index: -1;
  transition: var(--transition);
}

.service-card:hover::before {
  background: rgba(15, 8, 28, 0.65);
  /* Highlight on hover */
}

/* ===== Global FAQ Section & Accordion Styles ===== */
.faq-section {
  padding: 80px 0;
  background-color: #0a0515;
  /* Ensure dark background for the section */
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
}

.faq-title span {
  color: var(--primary-color);
}

.faq-underline {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #ff5e14, #ff8c00);
  margin: 0 auto 50px;
  border-radius: 2px;
}

.custom-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.custom-accordion .accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.custom-accordion .accordion-item:hover {
  border-color: rgba(255, 94, 20, 0.4) !important;
  background: rgba(255, 255, 255, 0.05);
}

.custom-accordion .accordion-button {
  background: transparent !important;
  color: #ffffff !important;
  padding: 15px 35px;
  /* Increased side padding */
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: none !important;
  border: none !important;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 15px;
  /* Ensure space between elements */
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color) !important;
  padding-bottom: 12px;
}

/* Custom Chevron Icon (Right Side) */
.custom-accordion .accordion-button::after {
  margin-left: auto !important;
  filter: invert(1);
  background-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(47%) sepia(87%) saturate(2878%) hue-rotate(345deg) brightness(101%) contrast(101%);
  /* Match orange */
  transform: rotate(-180deg);
}

.custom-accordion .accordion-collapse {
  border: none;
}

.custom-accordion .accordion-body {
  padding: 0 35px 30px 35px;
  /* Matched increased side padding */
  color: #bbb3c6;
  font-size: 1rem;
  line-height: 1.8;
  background: transparent;
}

/* Divider line between Question and Answer when open */
.custom-accordion .accordion-collapse.show::before {
  content: "";
  display: block;
  width: calc(100% - 70px);
  /* Align with increased padding */
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 20px;
}

/* Numbering inside FAQ items */
.custom-accordion .accordion-button .faq-num {
  color: var(--primary-color);
  font-weight: 800;
  min-width: 25px;
  flex-shrink: 0;
}

.service-card:hover {
  border-color: rgba(255, 94, 20, 0.3);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.service-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-text {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
}

.service-btn:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* About Section */
.about-box {
  background: var(--primary-color);
  color: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  display: inline-block;
  position: absolute;
  bottom: 20px;
  right: -20px;
  box-shadow: 0 10px 30px rgba(255, 94, 20, 0.3);
}

.about-box h3 {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.about-box p {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* Why Choose Us */
.feature-card {
  border: 0.1px solid var(--primary-color);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
}

.feature-card:hover {
  /* transform: translateY(-5px); */
  background: transparent;
  border: 1px solid var(--card-border);
}

.feature-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-title {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin: 0;
}

/* Industries Section */
.industry-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-card:hover {
  border: 1px solid var(--primary-color);
  border-radius: 10px;
}

.industry-card:hover img {
  border: 2px solid var(--primary-color);
  transform: scale(1.1);
}

.industry-title {
  color: #fff;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(30, 15, 50, 1), rgba(15, 8, 28, 1));
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
}



/* Footer */
.site-footer {
  background: #0a0515;
  border-top: 1px solid var(--card-border);
}

.footer-heading {
  color: #fff;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links a {
  display: inline-flex;
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: #000;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition);
}

.footer-icon a {
  display: inline-flex;
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background: #fff;
  color: var(--primary-color);
}

.footer-contact li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  color: var(--text-gray);
}

.footer-contact li i {
  margin-bottom: 1.2rem;
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: #000;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  display: flex;
}

.footer-contact li a {
  color: inherit;
  text-decoration: none;
}

.footer-contact li a:hover {
  color: var(--primary-color);
}

.footer-contact i {
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 5px;
}

.fs-7 {
  font-size: 0.85rem;
}

/* Block Heading Divider Lines */
.hero-title::after {
  content: '';
  display: block;
  width: 155px;
  height: 3px;
  /* background-color: var(--primary-color); */
  background: linear-gradient(90deg, transparent, #ff5e14, #ffbc3b, transparent);
  box-shadow: 0 0 10px #ff5e14;
  margin-top: 15px;
  margin-bottom: 20px;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  /* background-color: var(--primary-color); */
  /* background: linear-gradient(90deg, transparent, #ff5e14, #ffbc3b, transparent); */
  background: linear-gradient(90deg, #ff5e14, #ff8c00);
  /* box-shadow: 0 0 10px #ff5e14; */
  margin: 15px auto 0;
}

.about-title::after {
  content: '';
  display: block;
  width: 180px;
  height: 3px;
  /* background-color: var(--primary-color); */
  background: linear-gradient(90deg, #ff5e14, #ff8c00);
  /* box-shadow: 0 0 10px #ff5e14; */
  margin-top: 15px;
}

.contact-title {
  text-align: center;
}

.contact-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  /* background-color: var(--primary-color); */
  background: linear-gradient(90deg, #ff5e14, #ff8c00);
  /* box-shadow: 0 0 10px #ff5e14; */
  margin: 15px auto 0;
}

/* Footer Heading Underline */
.footer-heading {
  position: relative;
  padding-bottom: 15px;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 200px;
  height: 3px;
  margin: 10px 0px 0px 0px;
  background: linear-gradient(90deg, #ff5e14, #ff8c00);
  border-radius: 2px;
}

/* Dropdown Hover */
@media all and (min-width: 992px) {
  .navbar .nav-item.dropdown-hover>.dropdown-menu {
    display: none;
  }

  .navbar .nav-item.dropdown-hover:hover>.dropdown-menu {
    display: block;
  }

  .nav-item.dropdown-hover:hover .dropdown-icon {
    transform: rotate(180deg);
  }
}

.dropdown-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  margin-left: 4px;
}

.dropdown-item {
  color: var(--text-light) !important;
}

.dropdown-item .dropdown-item-our-services:hover {
  background-color: rgba(255, 94, 20, 0.1) !important;
  color: var(--primary-color) !important;
  padding-left: 20px !important;
}

/* Slim Multi-level Dropdown */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -5px;
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: translateX(5px);
  transition: all 0.2s ease;
  background: rgba(15, 8, 28, 0.98) !important;
  border: 1px solid rgba(255, 94, 20, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  pointer-events: none;
  z-index: 1001;
  min-width: 190px;
  padding: 5px 0;
}

.dropdown-submenu:hover>.dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Compact Desktop Hover Logic */
@media (min-width: 992px) {

  .nav-item.dropdown-hover:hover>.custom-dropdown,
  .dropdown-hover:hover>.dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* Mobile Styling */
@media (max-width: 991px) {
  .dropdown-submenu>.dropdown-menu {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    padding-left: 1.5rem;
    background: transparent !important;
    border: none;
    box-shadow: none;
    transition: none;
    pointer-events: auto;
  }

  .dropdown-submenu.show>.dropdown-menu {
    display: block;
  }

  .dropdown-submenu.show .bi-chevron-down {
    transform: rotate(180deg);
  }

  .dropdown-item-container>a {
    color: var(--text-gray) !important;
  }
}

/* ================= HOME PAGE RESPONSIVE FIXES ================= */

@media (max-width: 992px) {

  .hero-title-home {
    font-size: 28px;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center for mobile tablet */
  }

  .hero-title-home::after {
    content: "";
    display: block;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, #ff5e14, #ff8c00);
    margin: 15px auto 0;
    border-radius: 2px;
  }

  /* .hero-subtitle-home {
    margin: 0 auto 2rem;
  } */

  .section-title h2 {
    align-items: center;
    /* Center headings on mobile for better looks */
    text-align: center;
  }

  .section-title h2::after {
    margin: 15px auto 0;
  }

  /* About Section Image Grid Fix */
  .about-box {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 20px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }





  .hero-title {
    font-size: 24px;
  }

  /* Stack the Industry cards 2 per row properly */
  .industry-card {
    height: 160px;
  }

  /* Fix CTA Banner padding and text */
  .cta-banner {
    padding: 1.5rem;
    min-height: auto !important;
    width: 100%;
  }

  .custom-cta-text {
    font-size: 1.2rem !important;
  }

  /* Service Cards Spacing */
  .service-card {
    margin-bottom: 20px;
    padding: 2rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero-img {
    max-height: 350px !important;
  }

  .about-title {
    align-items: center;
    text-align: center;
  }

  .about-title::after {
    margin: 15px auto;
  }
}

/* --- About Page Specific Refinements --- */

.section-padding {
  padding: 80px 0;
  /* Standardized spacing */
}

/* Overlapping Image Grid in Section 1 */
.growth-images-layout {
  position: relative;
  padding-bottom: 40px;
}

.img-grid-top {
  width: 70%;
  position: relative;
  z-index: 1;
}

.img-grid-side {
  width: 50%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  border: 5px solid var(--bg-dark);
  border-radius: 15px;
}

.experience-badge-new {
  position: absolute;
  bottom: 0;
  right: 15%;
  background: var(--primary-color);
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 10px 20px rgba(255, 94, 20, 0.3);
}

.experience-badge-new .exp-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.experience-badge-new .exp-text {
  font-size: 0.75rem;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

/* Hero Styling */
.hero-section {
  padding: 140px 0;
  text-align: center;
  position: relative;
  /* background: #0f081c; */
  background: url('../images/CTABackgroud.webp') no-repeat center center/cover;

  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 94, 20, 0.15) 0%, transparent 70%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  position: relative;
  display: inline-block;
}

.hero-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, #ff5e14, #ff8c00);
  margin: 15px auto 0;
  border-radius: 2px;
}

.hero-breadcrumb {
  color: white;
  font-weight: 500;
}

.hero-breadcrumb a {
  text-decoration: none;
  color: white;
}

.hero-breadcrumb span {
  color: #ff5e14;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(30, 15, 50, 1), rgba(15, 8, 28, 1));
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  width: auto;
}

.cta-banner-text {
  position: relative;
  z-index: 2;
  /* max-width: 600px; */
}

/* Strategy Cards */
.strategy-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
  border-radius: 12px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.strategy-card:hover {
  border-color: var(--primary-color);
  background: rgba(255, 94, 20, 0.05);
  transform: translateY(-5px);
}

/* Mascot Banner Section */
.why-choose-banner {
  background: linear-gradient(135deg, rgba(30, 15, 50, 1) 0%, rgba(15, 8, 28, 1) 100%);
  border: 1px solid rgba(255, 94, 20, 0.3);
  border-radius: 20px;
  padding: 50px;
  position: relative;
  overflow: visible;
  /* Allows mascot to pop out */
}

.mascot-img {
  max-height: 380px;
  margin-top: -80px;
  /* Pulls mascot up like Figma */
  filter: drop-shadow(0 10px 30px rgba(255, 94, 20, 0.4));
}

/* Responsive Fixes */
@media (max-width: 991px) {

  .img-grid-top,
  .img-grid-side {
    width: 100%;
    position: relative;
    right: auto;
    top: auto;
    margin-bottom: 15px;
  }

  .experience-badge-new {
    position: relative;
    right: auto;
    display: inline-block;
    margin-top: 10px;
  }

  .mascot-img {
    margin-top: 20px;
    max-height: 250px;
  }

  .why-choose-banner {
    padding: 30px;
    text-align: center;
  }
}

/* ================== PRIVACY POLICY PAGE CSS ================== */

.privacy-content-wrapper {
  font-size: 1.05rem;
}

/* Removed empty policy-block hover rulesets to fix lint warning */

.privacy-content-wrapper ul.policy-list li {
  margin-bottom: 8px;
  color: var(--text-gray);
}

.privacy-content-wrapper ul.policy-list li::marker {
  color: var(--primary-color);
  font-size: 1.2em;
}

.privacy-content-wrapper ul.policy-list ul li {
  color: var(--text-gray);
}

.privacy-content-wrapper ul.policy-list ul li::marker {
  color: #fff;
  font-size: 1em;
}

/* ================== NAVBAR VISUAL UPGRADES & RESPONSIVE ================== */

/* Compact & Clean Dropdown Menu */
.custom-dropdown {
  background: rgba(15, 8, 28, 0.99);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 94, 20, 0.2);
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  padding: 5px 0;
  min-width: 190px;
  margin-top: 5px;
}

/* Invisible Hover Bridge: Eliminates the "dead zone" gap so the mouse safely hits the menu! */
.custom-dropdown::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

/* Slide up animation for desktop */
@media (min-width: 992px) {
  .animate-slide-up {
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: top;
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Compact Dropdown Items */
.custom-dropdown .dropdown-item {
  transition: all 0.2s ease;
  color: #fff !important;
  font-size: 0.85rem;
  padding: 6px 15px !important;
  font-weight: 500;
}

.custom-dropdown .dropdown-item:hover {
  background: rgba(255, 94, 20, 0.1) !important;
  color: var(--primary-color) !important;
  padding-left: 18px !important;
}

.custom-dropdown .dropdown-item.active,
.custom-dropdown .dropdown-item.text-primary {
  background: rgba(255, 94, 20, 0.08) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Mobile Navbar Overrides */
@media (max-width: 991px) {
  .custom-navbar {
    background-color: rgba(10, 5, 21, 0.98) !important;
    /* Always solid dark on mobile */
    padding: 15px 0;
  }

  .navbar-collapse {
    background: rgba(15, 8, 28, 0.98);
    padding: 20px 20px 10px;
    border-radius: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Enabled vertical scrolling for long menus */
    max-height: 70vh;
    overflow-y: auto;
  }

  /* Scrollbar styling for a cleaner look */
  .navbar-collapse::-webkit-scrollbar {
    width: 6px;
  }

  .navbar-collapse::-webkit-scrollbar-thumb {
    background: rgba(255, 94, 20, 0.5);
    border-radius: 10px;
  }

  .nav-item {
    margin-bottom: 10px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color);
  }

  .blur-bg-home {
    background: rgba(45, 20, 35, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 580px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .custom-dropdown {
    background: rgba(15, 8, 28, 0.98) !important;
    border: none;
    box-shadow: none;
    padding: 0 0 0 15px;
    margin-top: 0;
  }

  .nav-link-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .dropdown-toggle-split {
    background: transparent !important;
  }
}

.custom-dropdown .dropdown-item {
  padding: 8px 15px !important;
  border-radius: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.custom-dropdown .dropdown-item:hover {
  border-left-color: var(--primary-color);
}

/* Custom Unique Hamburger Icon */
.custom-toggler {
  border: 1px solid rgba(255, 94, 20, 0.5) !important;
  background: rgba(255, 94, 20, 0.05) !important;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.custom-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 94, 20, 0.25);
  background: rgba(255, 94, 20, 0.15) !important;
}

/* Override Bootstrap's default icon to be distinct and brightly colored */
.navbar-dark .custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff5e14' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================== GLOBAL MOBILE SAFETY RESPONSIVE FIX ================== */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
    /* Prevents tiny horizontal scroll breaking layouts */
  }


  p {
    word-wrap: break-word;
    /* Ensure long links or words wrap safely */
  }

  /* img {
    max-width: 100%;
    height: auto;
  } */
}

/* Home CTA Section */
.home-cta-section {
  background: url('../images/CTABackgroud.webp') no-repeat center right/cover;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.cta-glass-box {
  background: rgba(45, 20, 35, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

.custom-cta-text {
  font-size: 1.85rem !important;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero-section-home img {
  animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}


/* final media query */

/* mobile css */

@media (min-width : 0px) and (max-width : 767px) {
  .industry-card .industry-title {
    text-align: center;
    font-size: 16px;
  }


  .home-cta-section {
    padding: 40px 0;
  }

  .cta-glass-box {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
  }

  .custom-cta-text {
    font-size: 1.3rem !important;
  }

  .button-center {
    display: block;
    margin: auto;
    width: fit-content;
  }

  .hero-section-home img {
    max-width: 100% !important;
    height: auto !important;
    margin-top: 30px !important;
    translate: 0 -20px !important;
    animation: floatUpDown 3s ease-in-out infinite;
  }

  @keyframes floatUpDown {
    0% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-15px);
    }

    100% {
      transform: translateY(0px);
    }
  }

  .text-align-center {
    text-align: center;
  }

  .hero-subtitle-home {
    margin: 0;
  }

  .hero-title-home::after {
    margin: auto;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-padding {
    padding: 30px 0;
  }

  .hero-section-home {
    text-align: center !important;
    padding: 120px 0 0 0;
  }

  .custom-accordion .accordion-button{
    display: block;
  }

  .custom-accordion .accordion-button::after {
    margin-left: auto !important;
    filter: invert(1);
    background-size: 1.1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    position: absolute;
    right: 7px;
    top: 50%;
  }

  .contact-form{
    padding: 20px !important;
  }

}

/* tab css */

@media (min-width : 768px) and (max-width : 991px) {

  /* Full Width Stacked Hero for Tablets */
  .hero-section-home {
    padding: 120px 0 0 0;
    text-align: center !important;
  }

  .hero-section-home .row {
    display: block !important;
  }

  .hero-section-home .col-lg-6 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .hero-title-home h1 {
    font-size: 2.6rem !important;
    line-height: 1.2 !important;
    margin-bottom: 20px;
  }

  .hero-title-home::after {
    margin: auto;
    width: 100px !important;
  }

  /* .hero-section-home img {
    max-width: 100% !important;
    height: auto !important;
    margin-top: 30px !important;
  } */

  .hero-section-home img {
    max-width: 100% !important;
    height: auto !important;
    margin-top: 30px !important;
    translate: 0 -20px !important;
    animation: floatUpDown 3s ease-in-out infinite;
  }

  @keyframes floatUpDown {
    0% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-15px);
    }

    100% {
      transform: translateY(0px);
    }
  }

  .hero-subtitle-home {
    font-size: 1.05rem !important;
    max-width: 100% !important;
    line-height: 1.6 !important;
    margin-top: 20px !important;
  }

  /* Full Width CTA for Tablets */
  .home-cta-section {
    padding: 80px 0 !important;
  }

  .home-cta-section .col-md-10 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .cta-glass-box {
    padding: 3.5rem 2rem !important;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .custom-cta-text {
    font-size: 1.6rem !important;
  }

  .industry-card .industry-title {
    text-align: center;
    font-size: 16px;
  }

  .section-padding {
    padding: 30px 0 !important;
  }
}

/* mini desktop css */

@media (min-width : 992px) and (max-width : 1199px) {

  /* Footer email fix */
  .footer-contact li a {
    font-size: 0.85rem !important;
    word-break: break-all;
  }

  .industry-card .industry-title {
    text-align: center;
    font-size: 18px;
  }

  .section-padding {
    padding: 30px 0;
  }
}

/* laptop css */

@media (min-width : 1200px) and (max-width : 1399px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* large screen css */

@media (min-width : 1400px) and (max-width : 1919px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* hd screen css */

@media (min-width : 1920px) and (max-width : 2559px) {
  .section-padding {
    padding: 50px 0;
  }
}