/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Primary / Brand ==========*/
  --first-color: #1DC9A9;
  /* accent-teal */
  --first-color-lighten: #112340;
  /* navy-light (dropdown bg, hover bg) */

  /*========== Text ==========*/
  --title-color: #ffffff;
  /* text-main */
  --text-color: #b9c6e3;
  /* text-muted */

  /*========== Backgrounds ==========*/
  --body-color: #081324;
  /* navy-dark */
  --section-color: #0e1f3a;
  /* navy-mid (optional use) */
  --card-color: #112340;
  /* navy-light */

  /*========== Font ==========*/
  --body-font: "Poppins", sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font Weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

html,
body {
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  /* max-width: 1120px;
  margin-inline: 1.5rem;*/

  max-width: 1200px;
  /* slightly wider */
  margin-inline: auto;
  /* center properly */
  padding-inline: 1.5rem;
  /* keep inner spacing */
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  /*  background-color: var(--body-color);  */
  z-index: var(--z-fixed);

  background: rgba(8, 19, 36, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* border-bottom: 1px solid rgba(255, 255, 255, 0.05); */

}

/* TOP HEADER BAR */

.header-top {
  width: 100%;
  /* background: #0e1f3a; */
  /*#0f172a;*/
  background: #0e1f3a;
  color: var(--title-color);
  font-size: 14px;
  padding: 6px 0;

}

.header-top-content {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: center;
}

.header-email {
  margin-right: 20px;
}

.header-sales {
  margin-right: 20px;
}

.header-cta {
  /* margin-left: 40px; */
  margin-left: 20px;
}

.header-sales {
  font-weight: 600;
}

.quote-btn {
  background: #1DC9A9;
  color: #fff;
  /*  padding: 3px 16px;
    font-size: 13px;      */
  padding: 1.5px 16px;
  border-radius: 35px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: .3s;
}

.quote-btn:hover {
  background: #1DC9A9;
  color: white !important;
}

.header-top a {
  color: white;
  text-decoration: none;
}

.header-top a:hover {
  color: #1DC9A9;
}

/* ============================= */
/* HEADER SCROLL BEHAVIOR FOR DESKTOP */
/* ============================= */
@media (min-width: 1025px) {
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: transform 0.4s ease;
  }

  .header.hide {
    transform: translateY(-100%);
  }

  .header.show {
    transform: translateY(0);
  }
}

/* Hide header-top on tablets and mobiles */
@media (max-width: 1024px) {

  /* Tablets and below */
  .header-top {
    display: none;
  }
}

/* Mobile 

@media (max-width:768px) {

  .header-top-content {
    justify-content: center;
    font-size: 12px;
    gap: 10px;
  }

} */

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  position: relative;
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 1rem;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  background: none;

}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
}

.nav__logo i {
  font-size: 1.25rem;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  position: relative;
  width: 36px;
  height: 36px;

}

.nav__toggle-menu,
.nav__toggle-close {
  font-size: 1.25rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__toggle-close {
  opacity: 0;
}

@media screen and (max-width: 1118px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 1rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }

  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }

  .nav__data {
    width: 100%;
    padding-inline: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav__toggle {
    margin-left: 0;
    /* safety reset */
  }

}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  /* padding: 1.25rem 1.5rem; */
  padding: 0.65rem 1.5rem;
  /* spacing reduced */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.nav__link:hover {
  background-color: var(--first-color-lighten);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__content,
.dropdown__group,
.dropdown__list {
  display: grid;
}

.dropdown__container {
  /*  background-color: var(--first-color-lighten);*/
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  transition: height 0.4s;
  top: 100%;
  /* margin-top: 2rem;     Aj  add kiya hai 20th March 2026  */
  margin-top: 0;
}

.dropdown__item:hover>.dropdown__container {
  top: 5.5rem;
}

.show-dropdown .dropdown__container {
  margin-top: 0.5rem;
  /* small clean spacing */
}

.dropdown__content {
  row-gap: 1.75rem;
}

.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}

.dropdown__group:first-child {
  margin-top: 1.25rem;
}

.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}

.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

.dropdown__title:hover {
  /*  for title  hover  */
  color: var(--first-color);
}

.dropdown__list {
  margin: 0;
  /* remove default UL margin */
  padding: 0;
  /* remove default UL padding */
  row-gap: 0.25rem;
}

.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: color 0.3s;
}

.dropdown__link:hover {
  color: var(--title-color);
}

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {

  /* Nav */
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }

  .nav li {
    display: flex;
  }

  .nav__link {
    padding: 0;
  }

  .nav__link:hover {
    background-color: initial;
  }

  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }

  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: var(--body-color);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }

  .dropdown__group {
    padding: 4rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }

  .dropdown__group:first-child,
  .dropdown__group:last-child {
    margin: 0;
  }

  .dropdown__list {
    row-gap: 0.75rem;
  }

  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
  }

  .dropdown__icon i {
    font-size: 2rem;
  }

  .dropdown__title {
    font-size: var(--normal-font-size);
  }

  .dropdown__link {
    font-size: var(--small-font-size);
  }

  .dropdown__link:hover {
    color: var(--first-color);
  }

  .dropdown__item {
    cursor: pointer;
  }

  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }

  .dropdown__item:hover>.dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}

@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}

/* Grid for industries dropdown */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  /* mobile default: 1 column */
  gap: 1.5rem;
  /* spacing between items */
  padding: 1rem;
}

/* Desktop: 3 or 4 columns */
@media screen and (min-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on large screens */
  }
}

/* Extra large screens: 4 columns */
@media screen and (min-width: 1400px) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
  }
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* aligns icon, title, desc to left */
  gap: 0.5rem;
  /* spacing between icon, title, description */

}

/* New: Icon container */
.industry-icon {
  width: 40px;
  height: 40px;
  background-color: var(--first-color-lighten);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.industry-icon i {
  font-size: 1.2rem;
  color: var(--first-color);
}

.dropdown__desc {
  font-size: 0.75rem;
  color: var(--text-color);
  line-height: 1.2;
  /* margin-top: 0.25rem; */
}

.dropdown__title {
  font-weight: var(--font-semi-bold);
  font-size: var(--small-font-size);
  color: var(--title-color);
}

/* ================================
   FOOTER
================================ */
/*
.footer-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 10px;
}
*/

#site-footer {
  background: linear-gradient(180deg,
      var(--navy-light),
      var(--navy-dark));
  color: var(--text-color);
  font-size: 0.95rem;
}

#site-footer span {
  color: var(--title-color);
  font-size: 18px;
}

/* Company description fix */
#site-footer .col-md-4 p {
  /* max-width: 280px; */
  line-height: 1.6;
  max-width: 320px;
}

#site-footer p {
  font-size: 13px !important;
}

#site-footer li {
  font-size: 13px !important;
}

.year-text {
  color: var(--text-color) !important;
  font-size: 13px !important;
}

.year {
  color: var(--text-color) !important;
  font-size: 13px !important;
}

.color {

  color: var(--text-color) !important;
  text-decoration: none;
}

.color:hover {
  color: #1DC9A9 !important;
}

.footer-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--first-color);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(255, 255, 255, 0.08); */
  background: rgba(29, 201, 169, 0.12);
  border-radius: 50%;
  color: var(--title-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--first-color);
  color: var(--title-color);
  transform: translateY(-3px);
}

.identity-trust {
  margin-top: 12px;
}

.footer-trust-title {
  font-size: 0.75rem;
  letter-spacing: 0.6px;
  color: var(--title-color);
  opacity: 0.8;
}

.trust-badge {
  /* display: inline-block;*/
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--first-color);
  text-decoration: none;
  transition: opacity 0.3s ease;

  display: block;
  max-width: 260px;
  line-height: 1.5;
}

.trust-badge:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.footer-logo {
  height: 32px;
  /* dono same size */
  width: auto;
}

.technosoft-logo {
  height: 95px;
  width: auto;
  opacity: 0.95;
}

.trust-brand {
  flex-wrap: wrap;
}

/* ---------------- Responsive CSS ---------------- */

/* Medium screens / tablets (≤992px) */
@media (max-width: 992px) {

  #site-footer span {
    font-size: 16px;
  }

  #site-footer p,
  #site-footer li,
  .year-text,
  .year {
    font-size: 12px !important;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .technosoft-logo {
    height: 80px;
  }
}

/* Small screens / mobile (≤768px) */
@media (max-width: 768px) {

  #site-footer span {
    font-size: 15px;
  }



  #site-footer p,
  #site-footer li,
  .year-text,
  .year {
    font-size: 11px !important;
  }

  .footer-social {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-social a {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .technosoft-logo {
    height: 65px;
  }
}

/* ---------------- Small Mobile Screens (≤580px) ---------------- */
@media (max-width: 580px) {

  /* Font sizes smaller for readability */
  #site-footer span {
    font-size: 15px;
  }

  #site-footer p,
  #site-footer li,
  .year-text,
  .year {
    font-size: 10px !important;
  }

  .footer-trust-title {
    font-size: 0.65rem;
  }

  .trust-badge {
    font-size: 0.7rem;
  }

  /* Social icons smaller and wrap nicely */
  .footer-social {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-social a {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  /* Logo adjustments */
  .footer-logo {
    height: 28px;
  }

  .technosoft-logo {
    height: 60px;
  }

}

/* Extra small screens / very small phones (≤480px) */
@media (max-width: 480px) {

  #site-footer span {
    font-size: 14px;
  }

  #site-footer p,
  #site-footer li,
  .year-text,
  .year {
    font-size: 10px !important;
  }

  .footer-social {
    gap: 6px;
  }

  .footer-social a {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .technosoft-logo {
    height: 55px;
  }
}

/* ---------------- Extra Extra Small Screens (360px width phones) ---------------- */
@media (max-width: 360px) {

  /* Font sizes smaller for narrow screen */
  #site-footer span {
    font-size: 13px;
  }

  #site-footer .col-md-4 p {
    /* max-width: 280px; */
    line-height: 1.6;
    max-width: 300px;
  }

  #site-footer p,
  #site-footer li,
  .year-text,
  .year {
    font-size: 9px !important;
  }

  .footer-trust-title {
    font-size: 0.6rem;
  }

  .trust-badge {
    font-size: 0.60rem;
  }

  /* Social icons smaller and wrap nicely */
  .footer-social {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-social a {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  /* Logo adjustments */
  .footer-logo {
    height: 26px;
  }

  .technosoft-logo {
    height: 50px;
  }

}

/*==================== MOBILE RESPONSIVENESS ====================*/
/* General small screen adjustments */
@media screen and (max-width: 768px) {

  .header .container {
    margin-inline: 0;
    /* REMOVE outer gap */
    padding-inline: 1rem;
    /* controlled inner spacing */
  }

  /* Header & Nav */
  .nav__data {
    flex-direction: row;
    padding-inline: 0.5rem;
  }

  .nav__logo {
    font-size: 1rem;
  }

  .nav__toggle {
    width: 28px;
    height: 28px;
  }

  .nav__link {
    /* padding: 1rem; 
    padding: 0.6rem 1rem; */
    font-size: var(--small-font-size);

    padding: 0.5rem 1rem;
  }

  /* Dropdown adjustments */
  .dropdown__container {
    width: 100%;
    padding: 0;
    /* remove extra space */
    /* top: 3.5rem; 
    padding: 1rem; */
  }

  .dropdown__content {
    grid-template-columns: 1fr;
    gap: 1rem;

    padding: 0.5rem 0;
  }

  .industries-grid {
    padding: 0.5rem 0;
    /* reduce space */
    gap: 0.75rem;
    /* tighter grid */
  }

  .industry-item {
    margin: 0;
    /* remove extra gaps */
  }

  .dropdown__group {
    padding-left: 1rem;
    row-gap: 0.25rem;

    margin: 0;
  }

  .dropdown__icon {
    width: 40px;
    height: 40px;
  }

  .dropdown__icon i {
    font-size: 1.2rem;
  }

  /* ==== New For small Spacing  adjustment  */
  .nav__menu {
    padding-block: 0.5rem;
    /* reduced */
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    /* controlled spacing */
  }

  .dropdown__group:first-child {
    margin-top: 0;
  }

  .dropdown__group:last-child {
    margin-bottom: 0;
  }
}

/* Extra small screens / mobile phones */
@media screen and (max-width: 480px) {

  .nav__logo {
    font-size: 0.9rem;
  }

  .nav__toggle {
    min-width: 36px;
    min-height: 36px;
    padding: 4px;
  }

  .nav__link {
    /* padding: 0.75rem 0.5rem; 
    padding: 0.5rem 0.5rem; */
    font-size: var(--smaller-font-size);

    padding: 0.45rem 0.75rem;
  }

  .nav__list {
    gap: 0.2rem;
    /* tighter */
  }

  .dropdown__content {
    gap: 1rem;
    padding-inline: 0.5rem;
  }

  /* Dropdown adjustments */
  .dropdown__group {
    padding-left: 0.5rem;
  }

  .dropdown__icon {
    width: 32px;
    height: 32px;
  }

  .dropdown__icon i {
    font-size: 1rem;
  }

  /* Industries Grid */
  .industries-grid {
    grid-template-columns: 1fr;
    /* 1 column on very small screens */
    padding: 0.5rem;
    gap: 1rem;

  }

  .industry-item {
    margin-top: 0.5rem;
    /* ya 0.75rem, jo visually acha lage */
  }

  /* Footer */
  /*.footer-social {
    gap: 8px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  } */
}


/* ===============================================
   COMPANY DROPDOWN — IMAGE PANEL (ISOLATED)
   Only affects Dropdown 3. Zero impact elsewhere.
   =============================================== */

@media screen and (min-width: 1118px) {

  .company-dd-wrapper {
    grid-template-columns: repeat(3, max-content) 1fr !important;
    column-gap: 4rem !important;
    align-items: center !important;
  }

  .company-dd-img {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 2rem 2rem 2rem 1rem;
    border-left: 1px solid rgba(29, 201, 169, 0.15);
    height: 100%;
    width: 100%;
  }

  .company-dd-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
    display: block;
    border: 1.5px solid rgba(29, 201, 169, 0.25);
    box-shadow:
      0 0 0 4px rgba(29, 201, 169, 0.05),
      0 8px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .company-dd-img img:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 0 4px rgba(29, 201, 169, 0.1),
      0 14px 36px rgba(0, 0, 0, 0.45);
  }

  .company-dd-caption {
    font-size: 0.68rem;
    color: var(--first-color);
    text-align: center;
    margin-top: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.85;
  }
}

/* Hidden on ALL small/medium screens */
@media screen and (max-width: 1117px) {
  .company-dd-img {
    display: none !important;
  }
}