/* Google Fonts Poppins - loaded via <link> in performance-head.php for better performance */

body {
	background-color: #F8F7F7 !important;
	font-family: 'Poppins' !important;
}
.navbar {
	padding-top: 22px !important;
	padding-bottom: 22px !important;
	max-width: 1250px !important;
	margin: auto;
}
.container {
	max-width: 1250px !important;
}
.nav-link {
	color: black !important;
	letter-spacing: 1px;
	font-weight: 400 !important;
	font-size: 18px;
}
.nav-link:hover,
a {
	color: #02A9F7 !important;
}
span {
	color: #89D6FB;
}
.btn-primary {
	background: rgb(2, 169, 247);
	background: linear-gradient(90deg, rgba(2,169,247,1) 35%, rgba(137,214,251,1) 100%);
	border: 1px solid white !important;
	padding: 7px 30px !important;
	border-radius: 20px !important;
	color: white !important;
	transition: all 0.3s ease-in-out !important;
}
.btn-primary:hover,
.btn-primary:focus {
	transform: translateY(-4px);
	box-shadow: 0 1px !important;
	outline: 0 none !important;
}
.underline {
	text-align: center;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	text-decoration-thickness: 5px !important;
	text-decoration-color: #89D6FB !important;
}
.card {
	transition: box-shadow 0.3s;
}
.card:hover {
	box-shadow: 0 0 11px rgba(33,33,33,0.2);
}
.techimg {
	border-radius: 20px;
	width: 100%;
}
.icontech {
	width: 40px;
}
footer {
	background-color: #D4F0FC !important;
}
a {
	text-decoration: none !important;
}
p {
	line-height: 30px !important;
}
.messcard .card {
	padding: 20px !important;
	background-color: white !important;
	border-radius: 50px !important;
}
@media screen and (max-width: 1200px) {
	.herohome {
		text-align: center !important;
	}
	.herohome .col-10 {
		margin: auto;
	}
	.herohome img {
		width: 100% !important;
		margin-left: 20px;
	}
	.dropdown-item {
	    color: var(--bs-dropdown-link-color) !important;
	}
}
@media screen and (max-width: 700px) {
	.topbar {
		text-align: center;
	}
	.topbar .social {
		display: none;
	}
	.flex-lg-row-reverse div,
	.flex-lg-row div {
		margin: auto !important;
	}
    .contactinfo {
        text-align: center;
    }
	.flex-lg-row-reverse img,
	.flex-lg-row img {
		margin-bottom: 20px !important;
	}
	.navbar-nav {
		text-align: center;
	}
	.servicii {
		padding: 30px !important;
	}
	.tehnologii {
		text-align: center;
	}
	.tehnologii .row .col-sm-3 {
		width: 30%;
		margin: auto;
	}
	.iconsfooter {
		display: none !important;
	}
	.desprenoitext * {
		text-align: left !important;
		font-size: 15px !important;
	}
}
.img-logo {
	max-width: clamp(260px, 28vw, 350px);
}
.nav-link.active {
	display: inline-block;
	border-bottom: 2px solid #89D6FB;
	color: #000;
	/* Asigură că sublinierea are lățimea cuvântului */
	width: auto;
}

@media screen and (min-width: 1200px) {
    .navbar-collapse {
        justify-content: flex-end !important;
    }
}




  #whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: fadeInUp 0.5s ease-in-out;
  }
  #whatsapp-button img {
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  #whatsapp-button img:hover {
    transform: scale(1.1);
  }
  #whatsapp-chat {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    z-index: 1001;
    display: flex;
  }
  #whatsapp-chat.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  #whatsapp-chat header {
    display: flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    padding: 10px 15px;
  }
  #whatsapp-chat header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
  }
  #whatsapp-chat header div {
    display: flex;
    flex-direction: column;
  }
  #whatsapp-chat header .chat-title {
    font-size: 16px;
    font-weight: bold;
  }
  #whatsapp-chat header .chat-subtitle {
    font-size: 12px;
    opacity: 0.9;
  }
  #whatsapp-chat .chat-body {
    flex: 1;
    padding: 15px;
    background: #ece5dd; 
    overflow-y: auto;
    font-size: 14px;
    display: flex;
    flex-direction: column;
  }
  .whatsapp-message {
    max-width: 80%;
    background: #dcf8c6; 
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    align-self: flex-start;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  }
  .msg-time {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
  }
  #whatsapp-chat .chat-footer {
    padding: 10px 15px;
    background: #eee;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
  }
  #whatsapp-chat .chat-footer button#whatsapp-continue-btn {
    width: 100%;
    padding: 15px;
    background: #25D366;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
  }
  #whatsapp-chat .chat-footer button#whatsapp-continue-btn:hover {
    background: #1ebe58;
  }
  @keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  @media screen and (max-width: 768px) {
    #whatsapp-button {
      right: 5px;
    }
    #whatsapp-chat {
      right: 0px;
    }
  }


  /* Removed hover-to-open - now click-to-open only */
    .dropdown-menu.mega-menu {
      width: 800px; /* Lățime fixă de 700px */
      left: 50%;
      transform: translateX(-50%);
      padding: 20px;
      border: none;
      box-shadow: none;
    }
    .dropdown-menu.mega-menu .dropdown-col {
      padding: 0 15px;
    }
    .dropdown-menu.mega-menu .service-item {
      margin-bottom: 15px;
    }
    .dropdown-menu.mega-menu .service-item p {
      margin: 0;
      font-size: 0.85em;
      color: #777;
    }



.dropdown-item:focus, .dropdown-item:active {
    background-color: #e9ecef !important;
}
.dropdown-toggle:focus,
.nav-link.dropdown-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

.dropdown-item:not(.service-item-small):not(.mobile-service-item) i {
    background-color: #71cbfb !important;
    border-radius:100%;
    padding:5px;
    color:white !important;
}

/* Dropdown Backdrop Overlay */
.dropdown-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.dropdown-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* New Services Dropdown Styles */
.dropdown-services-new {
  position: fixed !important;
  width: 1180px !important;
  left: 50% !important;
  top: 80px !important;
  transform: translateX(-50%) translateY(-8px) !important;
  padding: 1.5rem !important;
  border: 1px solid rgba(33,37,41,.08) !important;
  border-radius: 1.2rem !important;
  box-shadow: 0 1.2rem 2.5rem rgba(33,37,41,.12) !important;
  background: #ffffff !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  z-index: 1050 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  display: block !important;
}

.dropdown-services-new.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) !important;
}

/* Divider (shared) */
.services-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(137,214,251,.3) 20%, rgba(137,214,251,.3) 80%, transparent);
  margin: 1rem 0;
}

/* ── Featured Cards Row ── */
.mega-featured-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  margin-bottom: .2rem;
}
.mega-featured-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #FF5A5F;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 .2rem .6rem rgba(255,90,95,.25);
}
.mega-featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding: 1.1rem .8rem;
  border-radius: 1rem;
  border: 1.5px solid #89D6FB;
  background: #fff;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 .4rem 1rem rgba(137,214,251,.12);
}
.mega-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 .8rem 1.8rem rgba(137,214,251,.22);
  border-color: #57c4f2;
  text-decoration: none;
}
.mega-featured-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #89D6FB, #57c4f2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-featured-icon i {
  font-size: 1.2rem;
  color: #fff !important;
  background: transparent !important;
  padding: 0 !important;
}
.mega-featured-title {
  font-weight: 700;
  font-size: .92rem;
  color: #212529;
  display: block;
}
.mega-featured-desc {
  font-size: .76rem;
  color: #5a6066;
  display: block;
  line-height: 1.3;
}

/* ── 6-Column Categories Grid ── */
.mega-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem 2rem;
}
.mega-category-label {
  display: block;
  font-weight: 700;
  font-size: .78rem;
  color: #89D6FB;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
  padding-left: .2rem;
}
.mega-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mega-category-list li {
  margin-bottom: .15rem;
}
.mega-category-list li a {
  display: block;
  padding: .38rem .5rem;
  border-radius: .5rem;
  font-size: .85rem;
  font-weight: 500;
  color: #212529 !important;
  text-decoration: none !important;
  transition: background .15s ease, transform .15s ease;
}
.mega-category-list li a:hover {
  background: rgba(137,214,251,.1);
  transform: translateX(3px);
  color: #02A9F7 !important;
}

.mega-item-badge {
  display: inline-block;
  background: linear-gradient(135deg, #89D6FB, #57c4f2);
  color: #fff !important;
  font-size: .5rem !important;
  font-weight: 700 !important;
  padding: .1rem .35rem;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-left: .35rem;
  vertical-align: middle;
}

/* ── CTA Row ── */
.mega-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .3rem;
}
.mega-cta-link {
  font-size: .88rem;
  font-weight: 600;
  color: #89D6FB !important;
  text-decoration: none !important;
  transition: color .2s ease;
}
.mega-cta-link:hover {
  color: #02A9F7 !important;
}

/* ── Responsive (desktop) ── */
@media (max-width: 1300px) {
  .dropdown-services-new {
    width: 95vw !important;
    max-width: 1180px;
  }
}
@media (max-width: 1100px) {
  .mega-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile Services Menu ── */
.mobile-services-menu {
  position: static !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  width: 100% !important;
  transform: none !important;
  max-height: none !important;
  overflow: visible !important;
}
.offcanvas-body {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
.mobile-services-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(137,214,251,.3) 10%, rgba(137,214,251,.3) 90%, transparent);
  margin: .8rem 0;
}

/* Mobile 2x2 featured grid */
.mobile-mega-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: .3rem;
}
.mobile-mega-featured-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .85rem .5rem;
  padding-top: 1.4rem;
  border-radius: .85rem;
  border: 1.5px solid #89D6FB;
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 .3rem .7rem rgba(137,214,251,.1);
  position: relative;
}
.mobile-mega-badge {
  position: absolute;
  top: .35rem;
  right: .35rem;
  background: #FF5A5F;
  color: #fff !important;
  font-size: .55rem !important;
  font-weight: 700 !important;
  padding: .15rem .45rem;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 .2rem .6rem rgba(255,90,95,.25);
}
.mobile-mega-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(137,214,251,.2);
}
.mobile-mega-featured-card i {
  font-size: 1.3rem;
  color: #57c4f2 !important;
  background: transparent !important;
  padding: 0 !important;
}
.mobile-mega-featured-card span {
  font-size: .82rem;
  font-weight: 600;
  color: #212529;
}

/* Mobile accordion */
.mobile-mega-accordion {
  border-bottom: 1px solid rgba(137,214,251,.15);
}
.mobile-mega-accordion-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: .7rem .4rem;
  background: none;
  border: none;
  font-size: .9rem;
  font-weight: 600;
  color: #212529;
  cursor: pointer;
  font-family: inherit;
}
.mobile-mega-accordion-btn i {
  font-size: .7rem;
  transition: transform .2s ease;
  color: #89D6FB !important;
  background: transparent !important;
  padding: 0 !important;
}
.mobile-mega-accordion.open .mobile-mega-accordion-btn i {
  transform: rotate(180deg);
}
.mobile-mega-accordion-body {
  display: none;
  flex-direction: column;
  padding: 0 .4rem .5rem;
}
.mobile-mega-accordion.open .mobile-mega-accordion-body {
  display: flex;
}
.mobile-mega-accordion-body a {
  display: block;
  padding: .4rem .6rem;
  font-size: .85rem;
  font-weight: 500;
  color: #212529 !important;
  text-decoration: none !important;
  border-radius: .4rem;
  transition: background .15s ease;
}
.mobile-mega-accordion-body a:hover {
  background: rgba(137,214,251,.1);
  color: #02A9F7 !important;
}

/* Mobile sticky CTA */
.mobile-mega-sticky-cta {
  padding: .8rem 0 .3rem;
  position: sticky;
  bottom: 0;
  background: #fff;
}

@media (max-width: 768px) {
  .dropdown-services-new {
    padding: 1.2rem !important;
  }
}

  .hover-zoom {
    transition: transform 0.3s ease;
  }
  .hover-zoom:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .text-blue {
        color: #71cbfb !important;
  }



  .tech-card {
    background: #f9f9f9;
    border-radius: 1rem;
    padding: 20px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    cursor: pointer;
  }

  .tech-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    background: #fff;
  }

  .tech-card img {
    max-width: 50px;
    transition: transform 0.2s ease;
  }

  .tech-card:hover img {
    transform: rotate(5deg) scale(1.1);
  }

  .tech-card p {
    font-weight: 600;
    color: #333;
    margin: 0;
  }


#mainNavbar {
  transition: background-color .3s ease, box-shadow .3s ease, opacity .3s ease;
}

#mainNavbar.is-sticky {
  background-color: #fff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  opacity: 1;
  z-index: 1020 !important;
}
#mainNavbar.is-sticky .topbar-container {
    border-bottom:1px solid gray;
}



.btn-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 7px 18px !important;
}

.btn-icon i {
  font-size: 0.8em;
}

.btn-outline-primary {
    border:1px solid #02a9f7 !important;
}
.btn-outline-primary {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  background-color: inherit !important;
}

.btn-outline-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: opacity .18s ease, -webkit-backdrop-filter .18s ease, backdrop-filter .18s ease;
}
.btn-outline-primary:hover {
  transform: translateY(-1px);
  background-color: inherit !important;
}
.btn-outline-primary:hover::before {
  opacity: 1;
  -webkit-backdrop-filter: brightness(0.92) saturate(1.05);
  backdrop-filter: brightness(0.92) saturate(1.05); /* „întunecare” discretă fără culoare solidă */
}


.btn-brand,
.btn-outline-brand{
  border-radius: .75rem;
  font-weight: 700;
  letter-spacing: .2px;
  padding: .7rem 1.2rem;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.btn-brand{
  background-color: #89D6FB;
  border: 1px solid #89D6FB !important;
  color: white !important;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
  font-weight:400 !important;
}
.btn-brand:hover{
  background-color: #7CCFF9;
  border-color: #7CCFF9;
  color: #212529;
  transform: translateY(-1px);
}
.btn-brand:active{
  background-color: #67C7F7;
  border-color: #67C7F7;
  color: #212529;
  transform: none;
}
.btn-brand:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(137,214,251,.45);
}

.btn-outline-brand{
  background-color: transparent;
  border: 1.5px solid #89D6FB;
  color: #212529;
  font-weight:400 !important;

}
.btn-outline-brand:hover{
  background-color: #89D6FB;
  border-color: #89D6FB;
  color: #212529;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
}
.btn-outline-brand:active{
  background-color: #67C7F7;
  border-color: #67C7F7;
  color: #212529;
}
.btn-outline-brand:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(137,214,251,.45);
}

.btn-brand:disabled,
.btn-outline-brand:disabled{
  opacity: .65;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce){
  .btn-brand,
  .btn-outline-brand{
    transition: none;
  }
}


@media (max-width: 576px){
  .btn-brand,
  .btn-outline-brand{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    font-size: 1.0625rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
  }

  .btn-brand + .btn-outline-brand,
  .btn-outline-brand + .btn-brand{
    margin-top: .75rem;
  }

  .btn-brand:active,
  .btn-outline-brand:active{
    transform: scale(0.98);
  }
}


.dropdown-backdrop.show {
  z-index:100 !important;
}

/* Glow effect pentru Studii de caz menu item */
.nav-link-glow {
  animation: glow-pulse 2s ease-in-out infinite;
  font-weight: 400 !important;
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 10px rgba(137, 214, 251, 0.75),
                 0 0 15px rgba(137, 214, 251, 0.5),
                 0 0 20px rgba(137, 214, 251, 0.3);
  }
  50% {
    text-shadow: 0 0 15px rgba(137, 214, 251, 0.95),
                 0 0 22px rgba(137, 214, 251, 0.65),
                 0 0 30px rgba(137, 214, 251, 0.4);
  }
}

.nav-link-glow:hover {
  animation: glow-pulse-hover 1.5s ease-in-out infinite;
}

@keyframes glow-pulse-hover {
  0%, 100% {
    text-shadow: 0 0 14px rgba(2, 169, 247, 0.85),
                 0 0 20px rgba(2, 169, 247, 0.6),
                 0 0 28px rgba(2, 169, 247, 0.4);
  }
  50% {
    text-shadow: 0 0 18px rgba(2, 169, 247, 1),
                 0 0 28px rgba(2, 169, 247, 0.75),
                 0 0 38px rgba(2, 169, 247, 0.5);
  }
}

/* FAQ Accordion Custom Colors */
.text-primary {
  color: #02A9F7 !important;
}

.accordion-button {
  color: #212529;
  background-color: #fff;
}

.accordion-button:not(.collapsed) {
  color: #02A9F7;
  background-color: rgba(2, 169, 247, 0.05);
  border-color: rgba(2, 169, 247, 0.2);
}

.accordion-button:focus {
  border-color: #02A9F7;
  box-shadow: 0 0 0 0.25rem rgba(2, 169, 247, 0.15);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2302A9F7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
  border-color: rgba(2, 169, 247, 0.1);
}

/* CLS Prevention - Reserve space for Font Awesome icons */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
  display: inline-block;
  min-width: 1em;
  text-align: center;
}

/* Navbar icon space reservation */
.navbar .nav-link i {
  width: 1.25em;
  display: inline-block;
}

/* Button icon spacing */
.btn i {
  margin-right: 0.35em;
}

/* Footer icon columns */
.footer-link i {
  width: 1.5em;
  display: inline-block;
}